/* ========================================
   TOOT COMPANY - Premium Website Styles
   ======================================== */

/* ===== CSS Custom Properties ===== */
:root {
    /* Colors - TOOT Brand Identity العقارية - لوحة ألوان متناسقة */

    /* Gold - اللون الرئيسي للأزرار والعناصر البارزة (أكثر دفئًا وتناسقًا) */
    --primary: #D4A84B;
    --primary-light: #E8C97A;
    --primary-dark: #B8923D;
    --primary-rgb: 212, 168, 75;

    /* Petroleum Blue - الخلفيات الداكنة والأقسام (أعمق وأكثر فخامة) */
    --secondary: #3e7b6e;
    --secondary-light: #5da193;
    --secondary-dark: #2d5950;

    /* Teal Green - لمسات وتدرجات (متناسق مع البترولي) */
    --teal: #2A7367;
    --teal-light: #3D9185;
    --teal-dark: #1F5A51;

    /* Brown - عناصر ترابية للمقاولات (متناسق مع الذهبي) */
    --brown: #8B6B45;
    --brown-light: #A6845A;
    --brown-dark: #705636;

    /* Cream & Whites */
    --cream: #FAF8F5;
    --cream-dark: #F0EDE8;
    --white: #FFFFFF;
    --white-rgb: 255, 255, 255;
    --black: #000000;
    --black-rgb: 0, 0, 0;

    /* Grays - متناسقة مع اللون البترولي */
    --gray-100: #F7F9F9;
    --gray-200: #E8ECED;
    --gray-300: #CED5D6;
    --gray-400: #9AA5A7;
    --gray-500: #6B7A7C;
    --gray-600: #4A5658;
    --gray-700: #2A3638;
    --gray-800: #1C2628;
    --gray-900: #121A1B;

    /* Gradients - Premium look متناسق */
    --gradient-gold: linear-gradient(135deg, #E8C97A 0%, #D4A84B 50%, #B8923D 100%);
    --gradient-dark: linear-gradient(135deg, #3e7b6e 0%, #2d5950 100%);
    --gradient-hero: linear-gradient(135deg, rgba(62, 123, 110, 0.92) 0%, rgba(45, 89, 80, 0.95) 100%);
    --gradient-teal: linear-gradient(135deg, #2A7367 0%, #3e7b6e 100%);
    --gradient-brown: linear-gradient(135deg, #A6845A 0%, #8B6B45 100%);
    --gradient-gold-brown: linear-gradient(135deg, #E8C97A 0%, #8B6B45 100%);

    /* Typography */
    --font-primary: 'Cairo', sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    --container-padding: 20px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    /* Shadows - متناسقة مع الألوان الجديدة */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.18);
    --shadow-gold: 0 0 30px rgba(212, 168, 75, 0.35);
    --shadow-gold-lg: 0 0 60px rgba(212, 168, 75, 0.45);
    --shadow-teal: 0 4px 25px rgba(42, 115, 103, 0.25);
    --shadow-teal-lg: 0 8px 45px rgba(42, 115, 103, 0.35);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Glassmorphism - Enhanced متناسق */
    --glass-bg: rgba(30, 77, 82, 0.15);
    --glass-border: rgba(212, 168, 75, 0.25);
    --glass-blur: blur(12px);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    background-image: none;
    color: var(--secondary);
    line-height: 1.8;
    overflow-x: hidden;
    letter-spacing: 0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ===== Utility Classes ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.highlight {
    color: var(--primary);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn i {
    transition: transform var(--transition-normal);
}

.btn:hover i {
    transform: translateX(-5px);
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-primary:hover {
    background: rgba(var(--primary-rgb), 0.15);
    transform: translateY(-3px);
    box-shadow: none;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

/* ===== Section Headers ===== */
.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--secondary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-700);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 600;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light {
    color: var(--white);
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-logo {
    margin-bottom: 30px;
}

/* ===== Animated Logo Styles ===== */
.animated-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: logoEntrance 1s ease-out forwards;
}

/* Circle Container */
.logo-circle {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rotating Rings */
.circle-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-bottom-color: var(--primary);
    border-radius: 50%;
    animation: ringRotate 3s linear infinite;
}

.circle-ring.ring-2 {
    width: 115%;
    height: 115%;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-right-color: var(--primary-light);
    border-left-color: var(--primary-light);
    animation: ringRotate 2s linear infinite reverse;
}

/* Logo Image in Center */
.loader-logo-image {
    width: 120px;
    height: auto;
    z-index: 1;
    animation: logoPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(215, 183, 98, 0.6));
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(215, 183, 98, 0.6));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 40px rgba(215, 183, 98, 0.9));
    }
}

.circle-ring.ring-3 {
    width: 70%;
    height: 70%;
    border-top-color: var(--primary-dark);
    border-left-color: var(--primary-dark);
    animation: ringRotate 1s linear infinite;
}

/* Center Letter */
.logo-letter {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    z-index: 1;
    animation: letterPulse 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(215, 183, 98, 0.5);
}

/* Text Wrapper */
.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.logo-ar {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    animation: textReveal 0.8s ease-out 0.5s forwards, logoGlow 2s ease-in-out 1.3s infinite;
    opacity: 0;
    text-shadow: 0 0 20px rgba(215, 183, 98, 0.5);
}

.logo-en {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 8px;
    animation: textReveal 0.8s ease-out 0.8s forwards, letterSpacing 2s ease-in-out 1.6s infinite alternate;
    opacity: 0;
}

.logo-tagline {
    font-size: 0.85rem;
    color: var(--gray-400);
    animation: textReveal 0.8s ease-out 1.1s forwards;
    opacity: 0;
}

/* Ring Rotation Animation */
@keyframes ringRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Letter Pulse Animation */
@keyframes letterPulse {

    0%,
    100% {
        transform: scale(1);
        text-shadow: 0 0 20px rgba(215, 183, 98, 0.5);
    }

    50% {
        transform: scale(1.1);
        text-shadow: 0 0 40px rgba(215, 183, 98, 0.8),
            0 0 60px rgba(215, 183, 98, 0.4);
    }
}

/* Text Reveal Animation */
@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.loader-logo .logo-text {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    animation: logoGlow 2s ease-in-out infinite, logoFloat 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(215, 183, 98, 0.5);
}

.loader-logo .logo-sub {
    font-size: 1rem;
    color: var(--gray-400);
    letter-spacing: 5px;
    animation: letterSpacing 2s ease-in-out infinite alternate;
}

/* Logo Entrance Animation */
@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) rotateY(90deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.1) rotateY(0deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

/* Logo Glow Effect */
@keyframes logoGlow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(215, 183, 98, 0.5),
            0 0 40px rgba(215, 183, 98, 0.3);
    }

    50% {
        text-shadow: 0 0 30px rgba(215, 183, 98, 0.8),
            0 0 60px rgba(215, 183, 98, 0.5),
            0 0 80px rgba(215, 183, 98, 0.3);
    }
}

/* Logo Float Animation */
@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Letter Spacing Animation */
@keyframes letterSpacing {
    0% {
        letter-spacing: 5px;
        opacity: 0.7;
    }

    100% {
        letter-spacing: 10px;
        opacity: 1;
    }
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    animation: loading 0.8s ease-in-out infinite;
}

@keyframes loading {
    0% {
        width: 0;
        transform: translateX(0);
    }

    50% {
        width: 100%;
        transform: translateX(0);
    }

    100% {
        width: 100%;
        transform: translateX(100%);
    }
}

/* ===== Scroll Progress ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-gold);
    z-index: 9999;
    transition: width 0.1s ease;
}



/* ===== Nesma-Style Navigation ===== */

@property --pill-border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.glass-pill-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 40px;
    background: transparent;
    transition: padding 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
        background 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.glass-pill-nav.scrolled {
    padding: 10px 40px;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-start {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pill-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
    padding: 0 8px;
}

.pill-logo .logo-image {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.pill-logo:hover .logo-image {
    transform: scale(1.05);
    filter: brightness(1.15);
}

.footer-logo .logo-image {
    height: 60px;
}

/* Nav Links Glass Pill Container */
.nav-pill-container {
    position: relative;
    display: flex;
    align-items: center;
    padding: 6px 8px;
    border-radius: 100px;
    background: rgba(10, 20, 22, 0.5);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    animation: pillBorderRotate 4s linear infinite;
    --pill-border-angle: 0deg;
    overflow: hidden;
    transition: padding 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nav-pill-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    padding: 1px;
    background: conic-gradient(from var(--pill-border-angle),
            transparent 25%,
            rgba(212, 168, 75, 0.5) 35%,
            rgba(62, 123, 110, 0.4) 50%,
            rgba(212, 168, 75, 0.5) 65%,
            transparent 75%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

@keyframes pillBorderRotate {
    0% {
        --pill-border-angle: 0deg;
    }

    100% {
        --pill-border-angle: 360deg;
    }
}

.magnetic-blob {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.3) 0%, rgba(62, 123, 110, 0.15) 50%, transparent 70%);
    filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.3s ease;
    will-change: transform, opacity;
}

.nav-pill-container:hover .magnetic-blob {
    opacity: 1;
}

/* ===== Pill Links ===== */
.pill-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 2;
    position: relative;
    max-width: 900px;
    opacity: 1;
    overflow: hidden;
    transition: max-width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
        opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
        gap 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Collapse links on scroll — logo stays visible */
.glass-pill-nav.scrolled .pill-links {
    max-width: 0;
    opacity: 0;
    gap: 0;
}

/* Hover on pill container re-expands links */
.glass-pill-nav.scrolled .nav-pill-container:hover .pill-links {
    max-width: 900px;
    opacity: 1;
    gap: 2px;
}

.pill-link {
    padding: 9px 16px;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--gray-300);
    border-radius: 50px;
    transition: color 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
        background 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.pill-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.pill-link.active {
    color: var(--primary);
    background: rgba(212, 168, 75, 0.1);
}

/* ===== Nav End: Lang + CTA ===== */
.nav-end {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ===== CTA Button — morphs to circle on scroll ===== */
.pill-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 42px;
    min-width: 42px;
    border-radius: 50px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    border: none;
    transition: all 0.4s ease;
    box-shadow: 0 2px 12px rgba(212, 168, 75, 0.25);
}

.pill-cta-inner {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.4s ease;
}

.pill-cta i {
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.pill-cta-text {
    transition: all 0.4s ease;
    overflow: hidden;
    display: inline-block;
    max-width: 200px;
    opacity: 1;
}

.pill-cta:hover {
    background: #e0b852;
    box-shadow: 0 4px 20px rgba(212, 168, 75, 0.4);
    transform: scale(1.03);
}

/* Scrolled: CTA morphs to circle icon */
.glass-pill-nav.scrolled .pill-cta {
    padding: 0;
    border-radius: 50%;
}

.glass-pill-nav.scrolled .pill-cta-text {
    opacity: 0;
    max-width: 0;
}

.glass-pill-nav.scrolled .pill-cta-inner {
    gap: 0;
}

/* ===== Language Switcher ===== */
.pill-lang {
    display: flex;
    align-items: center;
}

.pill-lang .lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 2px;
    background: none;
    border: none;
    border-radius: 0;
    color: var(--gray-300);
    font-weight: 600;
    font-size: 0.85rem;
    transition: color 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    text-decoration: none;
    position: relative;
}

.pill-lang .lang-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--primary);
    transition: width 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
        left 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.pill-lang .lang-btn:hover {
    color: var(--primary);
}

.pill-lang .lang-btn:hover::after {
    width: 100%;
    left: 0;
}

.lang-btn-inner {
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.pill-lang .lang-btn:hover .lang-btn-inner {
    transform: translateY(-1px);
}

/* ===== Mobile Bottom Dock ===== */
.mobile-dock {
    display: none;
}

/* ===== Dock Menu Overlay ===== */
.dock-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 12, 14, 0.92);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.dock-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.dock-overlay-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

[dir="rtl"] .dock-overlay-close {
    right: auto;
    left: 25px;
}

.dock-overlay-close:hover {
    background: rgba(212, 168, 75, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    transform: rotate(90deg);
}

.dock-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px;
    max-width: 500px;
}

.dock-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--gray-300);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.dock-menu-item:hover {
    background: rgba(212, 168, 75, 0.1);
    border-color: rgba(212, 168, 75, 0.25);
    color: var(--primary);
    transform: translateY(-4px);
}

.dock-menu-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.dock-menu-item:hover .dock-menu-icon {
    background: rgba(212, 168, 75, 0.15);
    color: var(--primary);
}

.dock-menu-item span {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.dock-menu-lang {
    background: none;
    border: none;
}

.dock-menu-lang .dock-lang-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

/* ===== Hero Section — Nesma Style ===== */
.hero.nesma-hero {
    min-height: 105vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/hero-bg.svg') center/cover no-repeat;
    z-index: -1;
}

/* Nesma-style overlay — disabled (no color tint) */
.nesma-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Nesma Hero Content */
.nesma-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.nesma-hero-title {
    font-size: clamp(3.5rem, 12vw, 9rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    letter-spacing: -0.02em;
}

.nesma-hero-title .title-line-1 {
    display: block;
}

.nesma-hero-title .title-line-2 {
    display: block;
}

/* ===== Overlapping Stats Cards (Nesma Style) ===== */
/* Cards sit BELOW the hero, with negative margin pulling them slightly up */
.hero-stats-overlap {
    position: relative;
    z-index: 10;
    margin-top: -30px;
    padding: 0 var(--container-padding);
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
}

.overlap-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.overlap-card {
    background: var(--white);
    border-radius: 20px;
    padding: 45px 30px 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.overlap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    z-index: 0;
}

.overlap-card:hover::before {
    opacity: 1;
}

.overlap-card>* {
    position: relative;
    z-index: 1;
}

.overlap-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.overlap-number {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 12px;
    transition: color 0.4s ease;
}

.overlap-card:hover .overlap-number {
    color: var(--white);
}

.overlap-label {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
    transition: color 0.4s ease;
}

.overlap-card:hover .overlap-label {
    color: rgba(255, 255, 255, 0.9);
}

.overlap-desc {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
    transition: color 0.4s ease;
}

.overlap-card:hover .overlap-desc {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 992px) {
    .overlap-cards-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .nesma-hero-title {
        font-size: clamp(2.5rem, 10vw, 6rem);
    }
}

@media (max-width: 576px) {
    .overlap-cards-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .overlap-card {
        padding: 25px 15px 20px;
    }

    .overlap-number {
        font-size: 1.8rem;
    }

    .overlap-desc {
        display: none;
    }

    .hero-stats-overlap {
        margin-top: -50px;
    }
}

/* ===== Nesma Section Headers ===== */
.section-header-nesma {
    text-align: center;
    margin-bottom: 60px;
}

.nesma-section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.nesma-section-title .highlight {
    color: var(--primary);
}

.nesma-section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== Nesma Sectors Section ===== */
.sectors-nesma {
    background: #f5f5f0;
    padding: 100px 0;
}

.nesma-sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.nesma-sector-card {
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.nesma-sector-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.nesma-card-photo {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.nesma-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.nesma-sector-card:hover .nesma-card-photo img {
    transform: scale(1.08);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e6e0 0%, #d4d0c8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gray-400);
}

.nesma-card-body {
    padding: 30px 25px 35px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nesma-card-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.nesma-sector-card:hover .nesma-card-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.nesma-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.nesma-card-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

@media (max-width: 992px) {
    .nesma-sectors-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ===== Nesma News Section ===== */
.news-nesma {
    background: var(--white);
    padding: 100px 0;
}

.nesma-news-scroll {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nesma-news-scroll::-webkit-scrollbar {
    display: none;
}

.nesma-news-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    border-radius: 24px;
    overflow: hidden;
    background: #f8f7f3;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.nesma-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.nesma-news-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nesma-news-text {
    padding: 25px 22px 15px;
    flex: 1;
}

.nesma-news-date {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 10px;
    font-weight: 500;
}

.nesma-news-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nesma-news-image {
    height: 280px;
    overflow: hidden;
}

.nesma-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nesma-news-card:hover .nesma-news-image img {
    transform: scale(1.06);
}

.nesma-news-cta {
    text-align: center;
    margin-top: 40px;
}

.nesma-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nesma-view-all-btn:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== Nesma CTA Banner ===== */
.nesma-cta-banner {
    background: linear-gradient(135deg, #1a3a35 0%, #2d5950 50%, #1e4d52 100%);
    padding: 80px 0;
    text-align: center;
}

.nesma-cta-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.nesma-cta-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-weight: 400;
}

.nesma-cta-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 35px;
    line-height: 1.4;
}

.nesma-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nesma-cta-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .nesma-news-card {
        flex: 0 0 280px;
    }

    .nesma-cta-banner {
        padding: 60px 0;
    }
}

/* ===== About Section ===== */
.about {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100%;
    background: url('../assets/Asset 1.svg') left top/100% auto no-repeat;
    opacity: 0.08;
    z-index: 0;
}

.about>.container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -40px;
    background: linear-gradient(135deg, #D7B762 0%, #83623D 100%);
    padding: 25px 35px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 8px 35px rgba(131, 98, 61, 0.4);
    border: 2px solid rgba(215, 183, 98, 0.3);
}

.exp-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.exp-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
}

/* Vertical Experience Badge - like reference image */
.experience-badge-vertical {
    position: absolute;
    bottom: 40px;
    right: 20px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    z-index: 10;
}

.exp-number-large {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.exp-text-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 5px;
}

.exp-text-vertical span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.3;
}

/* RTL adjustments */
[dir="rtl"] .experience-badge-vertical {
    right: 20px;
    left: auto;
}

[dir="ltr"] .experience-badge-vertical {
    left: 20px;
    right: auto;
}

.about-content .section-badge {
    margin-bottom: 15px;
}

.about-content .section-title {
    margin-bottom: 25px;
}

.about-text {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 40px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(131, 98, 61, 0.15) 0%, rgba(62, 123, 110, 0.1) 100%);
    border: 1px solid var(--brown);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brown);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.feature-item:hover .feature-icon {
    background: var(--brown);
    color: var(--white);
    transform: scale(1.05);
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary);
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--gray-600);
}

/* ===== Sectors Section ===== */
/* Updated: force dark theme */
.sectors {
    background: #2d5950 !important;
    position: relative;
    overflow: hidden;
}

.sectors-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 77, 82, 0.1) 100%);
    pointer-events: none;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sector-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    background: rgba(30, 77, 82, 0.3) !important;
    border: 1px solid rgba(212, 168, 75, 0.25) !important;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    color: inherit;
}

.sector-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.sector-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.sector-card:hover .sector-glow {
    opacity: 1;
}

.sector-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D7B762 0%, #83623D 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 25px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px rgba(131, 98, 61, 0.3);
}

.sector-card:hover .sector-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 30px rgba(131, 98, 61, 0.5);
}

.sector-content {
    flex: none;
}

.sector-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.sector-content p {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.7;
}



.sector-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    margin-top: auto;
    padding-top: 15px;
    transition: var(--transition-normal);
    text-decoration: none;
}

.sector-card:hover .sector-link {
    gap: 15px;
}

.sector-link i {
    transition: transform var(--transition-normal);
}

.sector-card:hover .sector-link i {
    transform: translateX(-5px);
}

/* Sectors responsive */
@media (max-width: 992px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .sector-card {
        min-height: auto;
    }
}

/* ===== Services Section ===== */
.services {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(215, 183, 98, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(62, 123, 110, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(38, 97, 104, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(var(--primary-rgb), 0.5);
}

.service-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-slow);
}

.service-card:hover .service-glow {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D7B762 0%, #83623D 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 25px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px rgba(131, 98, 61, 0.3);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 30px rgba(131, 98, 61, 0.5);
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary);
}

.service-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link:hover {
    gap: 15px;
}

/* ===== Projects Section ===== */
.projects {
    background: var(--gray-100);
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 25px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

.project-card:hover {
    border-color: var(--brown);
    box-shadow: 0 10px 40px rgba(131, 98, 61, 0.25);
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-rgb), 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-zoom {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.3rem;
    transform: scale(0);
    transition: var(--transition-bounce);
}

.project-card:hover .project-zoom {
    transform: scale(1);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(var(--black-rgb), 0.9), transparent);
    color: var(--white);
}

.project-category {
    display: inline-block;
    padding: 5px 12px;
    background: var(--primary);
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.project-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    line-height: 1.5;
}

.project-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.project-meta i {
    color: var(--primary);
    margin-left: 5px;
}

.project-location {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.project-location i {
    margin-left: 5px;
    color: var(--primary);
}

.projects-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== Achievements Section ===== */
.achievements {
    background: transparent;
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

.achievements-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 1;
}

.achievements .container {
    position: relative;
    z-index: 2;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .achievement-card {
        padding: 30px 20px;
        background: transparent !important;
    }
}

.achievement-card {
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    padding: 40px 25px;
    text-align: center;
    transition: var(--transition-normal);
}

.achievement-card:hover {
    transform: scale(1.05);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.achievement-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.15);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.achievement-number .suffix {
    font-size: 1.5rem;
}

.achievement-label {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
}

/* ===== Clients Section ===== */
.clients {
    background: var(--gray-100);
    padding: 80px 0;
    overflow: hidden;
}

.clients-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.clients-slider::before,
.clients-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--gray-100), transparent);
}

.clients-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--gray-100), transparent);
}

.clients-track {
    display: flex;
    gap: 40px;
    padding-right: 40px;
    /* Ensure seamless loop by matching gap */
    width: max-content;
    /* direction: RTL is inherited from body */
    animation: scrollClientsRight 40s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

.client-logo {
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    padding: 25px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 120px;
    transition: var(--transition-normal);
}

.client-logo:hover {
    transform: scale(1.08);
}

.client-logo img {
    max-height: 90px;
    max-width: 180px;
    object-fit: contain;
    transition: var(--transition-normal);
}

.client-logo:hover img {
    transform: scale(1.1);
}

@keyframes scrollClientsRight {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(33.333%);
    }
}

/* LTR animation - scroll left for English */
@keyframes scrollClientsLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.333%);
    }
}

/* Apply correct animation based on direction */
[dir="ltr"] .clients-track {
    animation: scrollClientsLeft 40s linear infinite;
    padding-left: 40px;
    padding-right: 0;
}

/* ===== Partners Section variant (شركائنا) ===== */
.partners-section {
    background: var(--white);
}

.partners-section .clients-slider::before {
    background: linear-gradient(to right, var(--white), transparent);
}

.partners-section .clients-slider::after {
    background: linear-gradient(to left, var(--white), transparent);
}

.client-name-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    padding: 8px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.partners-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-400);
}

.partners-empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    opacity: 0.35;
}

.partners-empty-state p {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.6;
}

/* ===== Partners Section ===== */

.partners {
    background: var(--white);
    padding: 80px 0;
}

.partners-slider {
    max-width: 1000px;
    margin: 0 auto;
}

.partner-logo {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.partner-logo:hover {
    border-color: var(--primary);
}

.partner-logo img {
    max-height: 60px;
    filter: grayscale(100%) brightness(0.7);
    transition: var(--transition-normal);
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1);
}

/* ===== News Section ===== */
.news {
    background: var(--gray-100);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--secondary);
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    text-align: center;
    line-height: 1.2;
}

.news-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.news-date .month {
    font-size: 0.8rem;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-category {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--secondary);
}

.news-excerpt {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.news-link:hover {
    gap: 15px;
}

.news-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/Asset 1.svg') right top/contain no-repeat;
    opacity: 0.08;
    z-index: 0;
}

.contact>.container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-title {
    margin-bottom: 20px;
}

.contact-text {
    color: var(--gray-600);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: none;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item:hover .contact-icon {
    background: none;
    border: none;
}

.contact-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.contact-text-group .label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 5px;
}

.contact-text-group a,
.contact-text-group span {
    font-size: 1.05rem;
    font-weight: 500;
}

.contact-text-group a:hover {
    color: var(--primary);
}

.contact-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.contact-form-wrapper {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--secondary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--gray-600);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--secondary);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-group select option {
    background: var(--white);
    color: var(--secondary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition-normal);
}

.form-group input:focus~.input-highlight,
.form-group textarea:focus~.input-highlight,
.form-group select:focus~.input-highlight {
    width: 100%;
}

.contact-map {
    margin-top: 80px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) invert(90%) contrast(90%);
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, var(--secondary-dark) 0%, #152224 100%);
    border-top: 3px solid var(--brown);
    position: relative;
    overflow: hidden;
}



.footer>.footer-top,
.footer>.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.footer-about {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
}

.footer-links h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary);
    padding-right: 10px;
}

/* ===== Footer Newsletter (Grid Column) ===== */
.footer-newsletter h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-newsletter p {
    color: var(--gray-400);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.newsletter-pill-form {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 100px;
    padding: 4px;
    gap: 0;
    direction: rtl;
}

.newsletter-pill-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--secondary);
    outline: none;
    font-family: inherit;
    min-width: 0;
}

.newsletter-pill-form input::placeholder {
    color: var(--gray-500);
}

.newsletter-submit-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #d8ad52;
    border: none;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.newsletter-submit-btn:hover {
    background: #c49a40;
    transform: scale(1.05);
}

.newsletter-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-rgb), 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.lightbox-close:hover {
    background: var(--primary);
    color: var(--secondary);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.3rem;
    transition: var(--transition-normal);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
    color: var(--secondary);
}

.lightbox-content img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-gold);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {

    /* Hide the glass pill on mobile */
    .glass-pill-nav {
        display: none !important;
    }

    /* Show mobile bottom dock */
    .mobile-dock {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        padding: 0 8px 8px;
    }

    .dock-bar {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 10px 8px 14px;
        background: rgba(10, 20, 22, 0.75);
        backdrop-filter: blur(28px) saturate(1.8);
        -webkit-backdrop-filter: blur(28px) saturate(1.8);
        border-radius: 24px;
        border: 1px solid rgba(212, 168, 75, 0.15);
        box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    }

    .dock-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        color: var(--gray-400);
        font-size: 0.65rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        padding: 4px 8px;
        border-radius: 12px;
        min-width: 52px;
    }

    .dock-item i {
        font-size: 1.15rem;
        transition: transform 0.3s ease;
    }

    .dock-item.active {
        color: var(--primary);
    }

    .dock-item:hover,
    .dock-item:active {
        color: var(--primary);
    }

    .dock-item:hover i,
    .dock-item:active i {
        transform: translateY(-2px);
    }

    /* Center expand button */
    .dock-center-btn {
        position: relative;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: rgba(10, 20, 22, 0.8);
        border: 2px solid rgba(212, 168, 75, 0.5);
        color: var(--primary);
        font-size: 1.2rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -28px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(212, 168, 75, 0.2);
    }

    .dock-center-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }

    .dock-center-btn:hover {
        background: rgba(212, 168, 75, 0.15);
        border-color: var(--primary);
        transform: scale(1.08);
    }

    .dock-center-btn:hover .dock-center-icon {
        transform: rotate(45deg);
    }

    /* Dock menu overlay grid — 2 columns on small screens */
    .dock-menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        padding: 30px 20px;
        max-width: 380px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        order: -1;
    }

    .experience-badge {
        right: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Background image below text in mobile */
    .about::before {
        top: auto;
        bottom: -150px;
        height: 70%;
        background-size: 120% auto;
        background-position: center top;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .services-grid,
    .projects-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .hero-stats {
        gap: 30px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .project-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .newsletter-pill-form {
        max-width: 100%;
    }

    .newsletter-submit-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .contact-map {
        height: 300px;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .achievement-card {
        padding: 30px 20px;
    }

    .achievement-number {
        font-size: 2.5rem;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .image-wrapper img {
        height: 350px;
    }
}

/* ===== Animation Classes ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.6s ease forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.6s ease forwards;
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== Project Filtering Animation ===== */
.project-card {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
}

/* ===== Swiper Custom Styles ===== */
.partners-swiper .swiper-slide {
    width: auto;
}

/* ===== Sector Detail Pages ===== */

/* Page Hero */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    background: var(--secondary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(197, 160, 89, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(62, 123, 110, 0.1) 0%, transparent 50%);
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 74, 80, 0.3) 0%, transparent 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-hero canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.page-hero>.container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--gray-300);
    transition: var(--transition-normal);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb i {
    font-size: 0.7rem;
    color: var(--gray-400);
}

.breadcrumb span {
    color: var(--primary);
    font-weight: 600;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Sector Details Section */
.sector-details {
    background: var(--white);
}

.sector-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.sector-service-card {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.sector-service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.sector-service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D7B762 0%, #83623D 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(131, 98, 61, 0.4);
}

.sector-service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary);
}

.sector-service-content p {
    color: var(--gray-600);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-600);
    font-size: 0.95rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* Services Offered Grid */
.services-offered {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-sm);
}

.services-offered-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary);
}

.services-offered-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
}

.service-offered-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    text-align: center;
    border: 1px solid var(--gray-200);
}

.service-offered-item:hover {
    background: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.service-offered-item i {
    font-size: 2rem;
    color: var(--primary);
}

.service-offered-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
}

/* Sector CTA */
.sector-cta {
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.sector-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.1) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive for Sector Pages */
@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 60px;
    }

    .sector-services-grid {
        grid-template-columns: 1fr;
    }

    .sector-service-card {
        padding: 30px;
    }

    .services-offered {
        padding: 30px;
    }

    .services-offered-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Project Image Cards ===== */
.projects-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-image-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.project-image-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-gold-lg);
}

.project-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-image-card:hover .project-card-image img {
    transform: scale(1.1);
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    opacity: 1;
    transition: var(--transition-normal);
}

.project-card-category {
    align-self: flex-start;
    padding: 6px 14px;
    background: var(--gradient-gold);
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.project-card-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    align-self: center;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.project-image-card:hover .project-card-view {
    opacity: 1;
    transform: translateY(0);
}

.project-card-view:hover {
    background: var(--primary);
    color: var(--secondary);
}

.project-card-info {
    padding: 25px;
}

.project-card-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.project-card-info p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.project-card-meta i {
    color: var(--primary);
    margin-left: 5px;
}

/* ===== Project Modal ===== */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--gray-900);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(50px);
    transition: var(--transition-normal);
    border: 1px solid var(--glass-border);
}

.project-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-normal);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: rotate(90deg);
}

.modal-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.modal-body {
    padding: 40px;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.modal-title-group h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white);
}

.modal-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-gold);
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.modal-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--gray-400);
    font-size: 0.95rem;
}

.modal-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-meta i {
    color: var(--primary);
    width: 20px;
}

.modal-description {
    font-size: 1.1rem;
    color: var(--gray-300);
    line-height: 1.9;
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
}

.modal-features-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-features-title i {
    color: var(--primary);
}

.modal-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.modal-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    color: var(--gray-300);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.modal-features li:hover {
    background: rgba(var(--primary-rgb), 0.1);
    transform: translateX(-5px);
}

.modal-features li i {
    color: var(--primary);
    font-size: 1rem;
}

.modal-cta {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.modal-cta p {
    color: var(--gray-400);
    margin-bottom: 20px;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .projects-image-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-image {
        height: 250px;
    }

    .modal-body {
        padding: 25px;
    }

    .modal-header {
        flex-direction: column;
    }

    .modal-title-group h2 {
        font-size: 1.5rem;
    }

    .modal-features {
        grid-template-columns: 1fr;
    }
}

/* Custom Scrollbar for Modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--gray-800);
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ===== Golden Wave Effect ===== */
.golden-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(212, 168, 75, 0.03) 20%,
            rgba(212, 168, 75, 0.08) 40%,
            rgba(212, 168, 75, 0.12) 50%,
            rgba(212, 168, 75, 0.08) 60%,
            rgba(212, 168, 75, 0.03) 80%,
            transparent 100%);
    transform-origin: bottom center;
}

.wave-1 {
    animation: waveFlow 12s ease-in-out infinite;
    opacity: 0.7;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(212, 168, 75, 0.02) 15%,
            rgba(212, 168, 75, 0.06) 35%,
            rgba(212, 168, 75, 0.1) 50%,
            rgba(212, 168, 75, 0.06) 65%,
            rgba(212, 168, 75, 0.02) 85%,
            transparent 100%);
    clip-path: polygon(0% 70%,
            5% 68%,
            10% 72%,
            15% 65%,
            20% 70%,
            25% 62%,
            30% 68%,
            35% 60%,
            40% 65%,
            45% 58%,
            50% 63%,
            55% 55%,
            60% 60%,
            65% 52%,
            70% 58%,
            75% 50%,
            80% 55%,
            85% 48%,
            90% 52%,
            95% 45%,
            100% 50%,
            100% 100%,
            0% 100%);
}

.wave-2 {
    animation: waveFlow 16s ease-in-out infinite reverse;
    animation-delay: -4s;
    opacity: 0.5;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(212, 168, 75, 0.03) 20%,
            rgba(212, 168, 75, 0.08) 45%,
            rgba(212, 168, 75, 0.12) 55%,
            rgba(212, 168, 75, 0.08) 70%,
            rgba(212, 168, 75, 0.03) 90%,
            transparent 100%);
    clip-path: polygon(0% 75%,
            8% 70%,
            16% 78%,
            24% 68%,
            32% 75%,
            40% 65%,
            48% 72%,
            56% 62%,
            64% 70%,
            72% 58%,
            80% 65%,
            88% 55%,
            96% 60%,
            100% 55%,
            100% 100%,
            0% 100%);
}

.wave-3 {
    animation: waveFlow 20s ease-in-out infinite;
    animation-delay: -8s;
    opacity: 0.3;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(212, 168, 75, 0.04) 25%,
            rgba(212, 168, 75, 0.1) 50%,
            rgba(212, 168, 75, 0.04) 75%,
            transparent 100%);
    clip-path: polygon(0% 80%,
            10% 75%,
            20% 82%,
            30% 72%,
            40% 80%,
            50% 70%,
            60% 78%,
            70% 68%,
            80% 75%,
            90% 65%,
            100% 72%,
            100% 100%,
            0% 100%);
}

@keyframes waveFlow {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Golden shimmer overlay */
.golden-waves::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(212, 168, 75, 0.05) 50%,
            transparent 100%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        left: -100%;
        opacity: 0;
    }

    50% {
        left: 100%;
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .golden-waves {
        opacity: 0.6;
    }
}

/* ===== Sectors Section ===== */
.sectors {
    position: relative;
    background: var(--secondary-dark);
}

.sectors-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 77, 82, 0.1) 100%);
    pointer-events: none;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.sector-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    background: rgba(30, 77, 82, 0.3) !important;
    border: 1px solid rgba(212, 168, 75, 0.25) !important;
    border-radius: var(--radius-lg);
    padding: 30px;
    color: inherit;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.sector-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.sector-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sector-icon i {
    font-size: 1.8rem;
    color: var(--secondary-dark);
}

.sector-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.sector-content p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 15px;
}

.sector-projects {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.sector-projects li {
    font-size: 0.9rem;
    color: var(--gray-300) !important;
    padding: 6px 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.sector-projects li span {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--gray-300) !important;
}

.sector-projects li i {
    color: var(--primary) !important;
    font-size: 0.8rem;
    background: transparent !important;
}

.sector-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    margin-top: auto;
    padding-top: 15px;
}

.sector-link i {
    transition: transform var(--transition-normal);
}

.sector-card:hover .sector-link i {
    transform: translateX(-5px);
}

.sector-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Sector Detail Cards inside dark homepage sectors */
.sectors .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.sectors .sectors-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sectors .sector-detail-card {
    background: rgba(30, 77, 82, 0.3);
    border: 1px solid rgba(212, 168, 75, 0.25);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    text-align: start;
}

.sectors .sector-detail-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.sectors .sector-detail-card .card-glow {
    background: radial-gradient(circle, rgba(212, 168, 75, 0.15) 0%, transparent 70%);
}

.sectors .sector-detail-card .card-title {
    color: var(--white);
}

.sectors .sector-detail-card .card-title::after {
    background: linear-gradient(90deg, var(--primary) 0%, rgba(212, 168, 75, 0.2) 100%);
}

.sectors .sector-detail-card .card-text {
    color: var(--gray-400);
}

.sectors .sector-detail-card .sector-projects-list li {
    color: var(--gray-300);
}

.sectors .sector-detail-card .sector-projects-list li i {
    color: var(--primary);
}

.sectors .sector-detail-card .sector-card-link {
    color: var(--primary);
}

.sectors .sector-detail-card .sector-card-link:hover {
    color: var(--white);
}

.sectors .sector-detail-card .card-decoration {
    background: radial-gradient(circle, rgba(212, 168, 75, 0.12) 0%, transparent 70%);
}

@media (max-width: 1024px) {
    .sectors .sectors-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sectors .sectors-cards-grid {
        grid-template-columns: 1fr;
    }

    .sectors .sector-detail-card {
        padding: 30px 25px;
    }
}

/* ===== Projects Image Grid ===== */
.projects-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-image-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
}

.project-image-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.project-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-image-card:hover .project-card-image img {
    transform: scale(1.1);
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    opacity: 0;
    transition: var(--transition-normal);
}

.project-image-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-category {
    align-self: flex-start;
    background: var(--primary);
    color: var(--secondary-dark);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.project-card-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.9rem;
}

.project-card-info {
    padding: 20px;
}

.project-card-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.project-card-info p {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 12px;
}

.project-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.project-card-meta i {
    color: var(--primary);
    margin-left: 5px;
}

/* ===== Mobile Responsive for Sectors & Projects ===== */
@media (max-width: 992px) {
    .sectors-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .projects-image-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    .sectors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sector-card {
        padding: 25px;
    }

    .projects-image-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card-image {
        height: 180px;
    }

    .project-card-overlay {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .sector-card {
        padding: 20px;
    }

    .sector-icon {
        width: 60px;
        height: 60px;
    }

    .sector-icon i {
        font-size: 1.5rem;
    }

    .sector-content h3 {
        font-size: 1.2rem;
    }

    .project-card-image {
        height: 160px;
    }

    .project-card-info {
        padding: 15px;
    }

    .project-card-info h3 {
        font-size: 1rem;
    }

    /* Force AOS elements to be visible on mobile */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .sector-card,
    .project-image-card {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}

/* =========================================
   ABOUT PAGE STYLES
   ========================================= */

/* About Overview */
.about-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-overview-content .about-text {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-overview-image {
    position: relative;
}

.about-overview-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Vision, Mission, Values */
.vmv-section {
    background: var(--gray-100);
}

.vmv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vmv-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.vmv-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.vmv-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.vmv-icon i {
    font-size: 2rem;
    color: var(--secondary-dark);
}

.vmv-card h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.vmv-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

.values-list {
    text-align: right;
    list-style: none;
    padding: 0;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--gray-700);
}

.values-list li i {
    color: var(--primary);
    font-size: 1rem;
}

/* Management Section */
.management-section {
    position: relative;
    overflow: hidden;
}

.management-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    opacity: 0.03;
    z-index: -1;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.management-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    text-align: center;
}

.management-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.management-image {
    height: 200px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
}

.management-placeholder {
    width: 100px;
    height: 100px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.management-placeholder i {
    font-size: 2.5rem;
    color: var(--secondary-dark);
}

.management-info {
    padding: 20px;
}

.management-info h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

.management-info p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Certificates Section */
.certificates-section {
    background: var(--gray-100);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.certificate-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.certificate-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.certificate-icon:has(img) {
    background: transparent;
}

.certificate-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.certificate-card:hover .certificate-icon {
    transform: scale(1.1);
}

.certificate-icon i {
    font-size: 1.5rem;
    color: var(--secondary-dark);
}

.certificate-content h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

.certificate-content p {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.certificate-desc {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
}

.certificate-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    left: auto;
    background: var(--teal);
    color: var(--white);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

html[dir="rtl"] .certificate-badge {
    right: auto;
    left: 15px;
}

/* Timeline Section */
.timeline-section {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    width: 3px;
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding: 20px 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    width: 20px;
    height: 20px;
    background: var(--primary);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-gold);
    z-index: 1;
}

.timeline-content {
    width: 45%;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

.timeline-content:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.timeline-year {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--secondary-dark);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* About CTA */
.about-cta {
    background: var(--gradient-dark);
    color: var(--white);
}

.about-cta .cta-content {
    text-align: center;
}

.about-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.about-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.about-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* =========================================
   PROJECTS PAGE STYLES
   ========================================= */

/* Projects Filters */
.projects-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

.filter-select {
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--gray-700);
    background: var(--white);
    transition: var(--transition-normal);
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-reset-btn {
    align-self: flex-end;
    padding: 12px 25px;
    background: var(--gray-200);
    color: var(--gray-700);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-reset-btn:hover {
    background: var(--secondary);
    color: var(--white);
}

/* Projects Count */
.projects-count {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--gray-600);
}

.projects-count span {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.3rem;
}

/* Projects Page Grid */
.projects-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.project-page-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition-normal);
}

.project-page-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-page-card .project-card-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.project-page-card .project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-page-card:hover .project-card-image img {
    transform: scale(1.1);
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.project-status.ongoing {
    background: var(--teal);
    color: var(--white);
}

.project-status.completed {
    background: var(--primary);
    color: var(--secondary-dark);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.no-results p {
    color: var(--gray-500);
    margin-bottom: 25px;
}

/* Projects CTA Section */
.projects-cta-section {
    background: var(--gradient-dark);
    color: var(--white);
}

.projects-cta-section .cta-content {
    text-align: center;
}

.projects-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.projects-cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.projects-cta-section .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* =========================================
   RESPONSIVE - About & Projects Pages
   ========================================= */

@media (max-width: 992px) {
    .about-overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-overview-image {
        order: -1;
    }

    .vmv-grid {
        grid-template-columns: 1fr;
    }

    .management-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        right: 20px;
        transform: none;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        justify-content: flex-start;
        padding-right: 50px;
    }

    .timeline-dot {
        right: 11px;
        transform: none;
    }

    .timeline-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .management-grid {
        grid-template-columns: 1fr;
    }

    .projects-filters {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .filter-reset-btn {
        width: 100%;
        justify-content: center;
    }

    .projects-page-grid {
        grid-template-columns: 1fr;
    }

    .about-cta h2,
    .projects-cta-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .vmv-card {
        padding: 30px 20px;
    }

    .certificate-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .certificate-icon {
        margin: 0 auto;
    }

    .certificate-badge {
        position: static;
        display: inline-block;
        margin-top: 15px;
    }

    .timeline-content {
        padding: 20px;
    }
}

/* =========================================
   MEDIA CENTER PAGE STYLES
   ========================================= */

/* Media Tabs */
.media-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.media-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition-normal);
}

.media-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.media-tab.active {
    background: var(--gradient-gold);
    border-color: var(--primary);
    color: var(--secondary-dark);
}

.media-tab i {
    font-size: 1.1rem;
}

/* Media Filters */
.media-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Media Content */
.media-content {
    display: none;
}

.media-content.active {
    display: block;
}

/* News Grid Enhanced */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card.featured {
    grid-column: span 2;
}

.news-card.featured .news-image {
    height: 350px;
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--secondary-dark);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition-normal);
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--gradient-gold);
    border-color: var(--primary);
    color: var(--secondary-dark);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.blog-content h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.blog-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.blog-link {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition-normal);
}

.blog-link:hover {
    color: var(--secondary);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 10px;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.video-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-thumbnail {
    position: relative;
    height: 220px;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.video-play i {
    font-size: 1.5rem;
    color: var(--secondary-dark);
    margin-right: -5px;
}

.video-card:hover .video-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.video-info p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16/9;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.video-modal-content iframe {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
    color: var(--secondary-dark);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}


/* =========================================
   RESPONSIVE - Media Pages
   ========================================= */

@media (max-width: 992px) {
    .news-card.featured {
        grid-column: span 1;
    }

    .news-card.featured .news-image {
        height: 250px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .media-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .media-tab {
        justify-content: center;
    }

    .media-filters {
        flex-direction: column;
    }

    .news-grid,
    .blog-grid,
    .gallery-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .job-filters {
        flex-direction: column;
    }

    .job-search {
        width: 100%;
    }

    .apply-form .form-row {
        grid-template-columns: 1fr;
    }

    .apply-modal-content,
    .job-details-content {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .job-card {
        padding: 20px;
    }

    .job-actions {
        flex-direction: column;
    }

    .job-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   PAGE HERO STYLES - Internal Pages
   ======================================== */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
    background: var(--gradient-dark);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/hero-bg.svg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(62, 123, 110, 0.9) 0%, rgba(45, 89, 80, 0.95) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-content {
    text-align: center;
    color: var(--white);
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
    background: none;
    -webkit-text-fill-color: initial;
}

.page-title .highlight {
    color: var(--primary);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--gray-300);
    transition: var(--transition-normal);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--primary);
    font-weight: 600;
}

.breadcrumb i {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ========================================
   SECTORS HERO - Al-Othman Style
   ======================================== */

/* Hero section - taller, text at bottom-right */
.sectors-hero {
    min-height: 55vh;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
}

.sectors-hero>.container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.sectors-hero-content {
    text-align: right !important;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

html[dir="ltr"] .sectors-hero-content {
    text-align: left !important;
    align-items: flex-start;
}

/* Small label above the title */
.sectors-hero-label {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

/* Title adjustments */
.sectors-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 0;
    line-height: 1.3;
    color: #fff;
}

.sectors-hero-title .highlight {
    color: #fff;
}

/* Breadcrumb Bar - separate thin strip */
.sectors-breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 14px 0;
}

.sectors-breadcrumb-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

html[dir="ltr"] .sectors-breadcrumb-inner {
    justify-content: flex-start;
}

.sectors-breadcrumb {
    margin-bottom: 0 !important;
    justify-content: flex-start !important;
    font-size: 0.9rem !important;
}

html[dir="ltr"] .sectors-breadcrumb {
    justify-content: flex-start !important;
}

.sectors-breadcrumb a {
    color: var(--gray-500);
}

.sectors-breadcrumb a:hover {
    color: var(--primary);
}

.sectors-breadcrumb span {
    color: var(--dark);
    font-weight: 600;
}

.sectors-breadcrumb i {
    color: var(--gray-400);
}

/* Description section below breadcrumb */
.sectors-hero-desc-section {
    background: #fff;
    padding: 50px 0 40px;
}

.sectors-hero-desc {
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    color: var(--dark);
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.9;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .sectors-hero {
        min-height: 50vh;
        padding-bottom: 35px;
    }

    .sectors-hero-content {
        text-align: center !important;
        align-items: center;
    }

    html[dir="ltr"] .sectors-hero-content {
        text-align: center !important;
        align-items: center;
    }

    .sectors-hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .sectors-breadcrumb-inner {
        justify-content: center;
    }

    html[dir="ltr"] .sectors-breadcrumb-inner {
        justify-content: center;
    }

    .sectors-breadcrumb {
        justify-content: center !important;
    }

    .sectors-hero-desc-section {
        padding: 30px 0 25px;
    }

    .sectors-hero-desc {
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */
.about-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-overview-image {
    position: relative;
}

.about-overview-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-overview-content .about-text {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.9;
}

/* VMV Section */
.vmv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vmv-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.vmv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.vmv-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.vmv-icon i {
    font-size: 2rem;
    color: var(--secondary);
}

.vmv-card h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.vmv-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

.values-list {
    text-align: right;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--gray-600);
}

.values-list li i {
    color: var(--primary);
}

/* Management Section */
.management-section {
    position: relative;
}

.management-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    opacity: 0.05;
    z-index: -1;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.management-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.management-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.management-image {
    height: 200px;
    background: var(--gray-200);
}

.management-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
}

.management-placeholder i {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.5;
}

.management-info {
    padding: 25px;
    text-align: center;
}

.management-info h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

.management-info p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-right: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-gold);
}

.timeline-item {
    position: relative;
    padding-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    right: -40px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.timeline-content {
    background: var(--white);
    padding: 25px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-content h4 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--gray-600);
}

/* About CTA */
.about-cta {
    background: var(--gradient-dark);
    text-align: center;
}

.about-cta .cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 15px;
}

.about-cta .cta-content p {
    color: var(--gray-300);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   SECTOR PAGE STYLES
   ======================================== */
.sector-services {
    background: var(--gray-100);
}

.services-offered-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-offered-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.service-offered-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.service-offered-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-offered-item span {
    display: block;
    font-weight: 600;
    color: var(--secondary);
}

/* Sector Projects */
.sector-projects {
    background: transparent;
}

.project-image-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition-normal);
}

.project-image-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-image-card:hover .project-card-image img {
    transform: scale(1.1);
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition-normal);
}

.project-image-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-category {
    background: var(--primary);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 10px;
}

.project-card-view {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 500;
}

.project-card-info {
    padding: 25px;
}

.project-card-info h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.project-card-info p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.project-card-meta {
    display: flex;
    gap: 20px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.project-card-meta i {
    color: var(--primary);
    margin-left: 5px;
}

/* Sector CTA */
.sector-cta {
    background: var(--gradient-dark);
    text-align: center;
}

.sector-cta .cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 15px;
}

.sector-cta .cta-content p {
    color: var(--gray-300);
    margin-bottom: 30px;
}

/* ========================================
   CAREERS PAGE STYLES
   ======================================== */
.why-join-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-join-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.why-join-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.why-join-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.why-join-icon i {
    font-size: 2rem;
    color: var(--secondary);
}

.why-join-card h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.why-join-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Open Positions */
.open-positions {
    position: relative;
}

.positions-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: -1;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.position-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
}

.position-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.position-header h3 {
    color: var(--white);
    font-size: 1.3rem;
}

.position-type {
    background: var(--primary);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.position-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.position-info span {
    color: var(--gray-300);
    font-size: 0.9rem;
}

.position-info i {
    color: var(--primary);
    margin-left: 5px;
}

.position-desc {
    color: var(--gray-300);
    margin-bottom: 20px;
    line-height: 1.7;
}

.position-card .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.position-card .btn-outline:hover {
    background: var(--white);
    color: var(--secondary);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Apply Section */
.apply-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.apply-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.apply-form .form-group {
    margin-bottom: 25px;
}

.apply-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--secondary);
}

.apply-form input,
.apply-form select,
.apply-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    background: var(--white);
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-md);
    background: var(--gray-100);
    transition: var(--transition-normal);
    cursor: pointer;
}

.file-upload:hover .file-upload-label {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
}

.file-upload-label i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.file-upload-label span {
    color: var(--gray-600);
}

/* News Page */
.news-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Projects Page */
.projects-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.projects-page .project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.projects-page .project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.project-meta {
    display: flex;
    gap: 15px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

.project-meta i {
    color: var(--primary);
    margin-left: 5px;
}

/* ========================================
   RESPONSIVE STYLES FOR NEW PAGES
   ======================================== */
@media (max-width: 1024px) {
    .about-overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vmv-grid {
        grid-template-columns: 1fr;
    }

    .management-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-join-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .positions-grid {
        grid-template-columns: 1fr;
    }

    .news-page-grid,
    .projects-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 40vh;
        padding-top: 100px;
    }

    .page-title {
        font-size: 2rem;
    }

    .management-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-right: 40px;
    }

    .timeline::before {
        right: 10px;
    }

    .timeline-dot {
        right: -30px;
    }

    .why-join-grid {
        grid-template-columns: 1fr;
    }

    .apply-form-wrapper {
        padding: 30px;
    }

    .apply-form .form-row {
        grid-template-columns: 1fr;
    }

    .news-page-grid,
    .projects-page-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================
   SECTORS LISTING PAGE STYLES
   ======================================== */
.sectors-listing {
    background: var(--gray-100);
}

.sectors-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sector-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    text-align: start;
}

.sector-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.sector-detail-card .card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.sector-detail-card:hover .card-glow {
    opacity: 1;
}

.sector-detail-card .card-icon {
    width: 70px;
    height: 70px;
    background: transparent;
    border-radius: var(--radius-md);
    display: none;
}

.sector-detail-card:hover .card-icon {
    transform: scale(1.15);
}

.sector-detail-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
}

.sector-detail-card .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(212, 168, 75, 0.3) 100%);
    border-radius: 2px;
}

.sector-detail-card .card-text {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.sector-detail-card .card-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sector-card-icon {
    display: none;
}

.sector-card-divider {
    display: none;
}

.sector-card-content h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.sector-card-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.sector-services-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--gray-600);
}

.service-tag i {
    color: var(--primary);
    font-size: 0.9rem;
}

.more-services {
    padding: 6px 12px;
    background: var(--primary);
    color: var(--secondary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.sector-projects-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.sector-projects-list li {
    font-size: 0.9rem;
    color: var(--gray-600);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sector-projects-list li i {
    color: var(--primary);
    font-size: 0.8rem;
}

.sector-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    margin-top: auto;
    transition: var(--transition-normal);
    position: relative;
    z-index: 2;
}

.sector-card-link:hover {
    color: var(--secondary);
}

.sector-card-link i {
    transition: transform var(--transition-normal);
}

.sector-card-link:hover i {
    transform: translateX(-5px);
}

/* Sectors CTA */
.sectors-cta {
    position: relative;
    text-align: center;
}

.sectors-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: -1;
}

.sectors-cta .cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 15px;
}

.sectors-cta .cta-content p {
    color: var(--gray-300);
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 1024px) {
    .sectors-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sectors-cards-grid {
        grid-template-columns: 1fr;
    }

    .sector-detail-card {
        padding: 30px 25px;
    }
}

/* ========================================
   NEWS PAGE ENHANCED STYLES
   ======================================== */
.news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 50px;
}

.no-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
}

.no-news i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

/* Social Feed Section */
.social-feed-section {
    margin-top: 80px;
}

.social-feed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.social-feed-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.social-feed-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.social-feed-card .social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

.social-feed-card .social-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.social-feed-card.twitter .social-icon,
.social-feed-card.instagram .social-icon,
.social-feed-card.linkedin .social-icon,
.social-feed-card.snapchat .social-icon {
    background: none;
}

.social-feed-card .social-info h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

.social-feed-card .social-info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.social-feed-card>i {
    margin-right: auto;
    color: var(--gray-400);
    transition: var(--transition-normal);
}

.social-feed-card:hover>i {
    color: var(--primary);
}

/* Newsletter Section */
.newsletter-section {
    position: relative;
}

.newsletter-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: -1;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-text h2 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 10px;
}

.newsletter-text p {
    color: var(--gray-300);
}

.newsletter-form {
    display: flex;
    gap: 15px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.3);
}

/* News Detail Page */
.news-detail-hero .news-detail-category {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: 20px;
}

.news-detail-meta {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
    color: var(--gray-300);
}

.news-detail-meta i {
    margin-left: 8px;
    color: var(--primary);
}

.news-detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.news-detail-main {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.news-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.news-detail-content {
    padding: 40px;
}

.news-lead {
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--gray-200);
}

.news-body {
    color: var(--gray-600);
    line-height: 2;
    font-size: 1.05rem;
}

.news-share {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 40px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-100);
}

.news-share span {
    font-weight: 600;
    color: var(--secondary);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.facebook {
    background: #4267B2;
}

.share-btn.linkedin {
    background: #0077B5;
}

.share-btn.whatsapp {
    background: #25D366;
}

/* Sidebar */
.news-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-md);
}

.widget-title {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-news-item {
    display: flex;
    gap: 15px;
    transition: var(--transition-normal);
}

.related-news-item:hover {
    opacity: 0.8;
}

.related-image {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info h4 {
    font-size: 0.95rem;
    color: var(--secondary);
    margin-bottom: 5px;
    line-height: 1.4;
}

.related-info span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    color: var(--gray-600);
    transition: var(--transition-normal);
}

.category-list li a:hover {
    background: var(--primary);
    color: var(--secondary);
}

.category-list li a i {
    width: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .social-feed-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .social-feed-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .news-detail-image img {
        height: 250px;
    }

    .news-detail-content {
        padding: 25px;
    }

    .news-share {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 25px;
    }
}

/* Ensure Flow Lines work on Page Hero */
.page-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-content {
    position: relative;
    z-index: 5;
}

/* ========================================
   Home Page About - Story Section Layout
   ======================================== */

.about-story {
    background: var(--white);
    padding: 120px 0;
}

.story-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-image-block {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Dual Image Container */
.dual-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    flex: 1;
}

.image-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 65%;
    z-index: 1;
    transform: rotate(-3deg);
    transition: transform 0.4s ease;
}

.image-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 4px solid var(--white);
}

.image-front {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 65%;
    height: 55%;
    z-index: 2;
    transform: rotate(3deg);
    transition: transform 0.4s ease;
}

.image-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 4px solid var(--white);
}

.story-image-block:hover .image-back {
    transform: rotate(-5deg) scale(1.02);
}

.story-image-block:hover .image-front {
    transform: rotate(5deg) scale(1.02);
}

/* Vertical Experience Text */
.vertical-experience-text {
    display: flex;
    align-items: center;
    gap: 8px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 20px 0;
    min-height: 300px;
    justify-content: center;
}

html[dir="ltr"] .vertical-experience-text {
    writing-mode: vertical-lr;
}

.vertical-number {
    color: var(--primary);
    font-size: 2.8rem;
    font-weight: 900;
    flex-shrink: 0;
    transform: rotate(180deg);
}

.vertical-text {
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    white-space: nowrap;
    transform: rotate(180deg);
}

html[dir="ltr"] .vertical-text {
    transform: rotate(0deg);
}

/* Story Content Block */
.story-content-block {
    padding-left: 20px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(212, 168, 75, 0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(212, 168, 75, 0.3);
    margin-bottom: 20px;
}

.section-label.centered {
    margin: 0 auto 20px;
}

.section-label.light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.story-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 25px;
}

.story-text p {
    color: var(--gray-600);
    margin-bottom: 15px;
    line-height: 1.9;
}

.story-text .lead-text {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 500;
}

.story-features {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.story-features .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-weight: 600;
}

.story-features .feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Responsive - Story Section */
@media (max-width: 992px) {
    .dual-image-container {
        height: 400px;
    }

    .image-back {
        width: 70%;
        height: 60%;
    }

    .image-front {
        width: 60%;
        height: 50%;
    }

    .vertical-number {
        font-size: 1.8rem;
    }

    .vertical-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .story-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-image-block {
        flex-direction: column;
        align-items: center;
        order: 2;
    }

    .dual-image-container {
        height: 280px;
        width: 100%;
        position: relative;
        display: block;
    }

    .image-back,
    .image-front {
        position: absolute;
    }

    .image-back {
        width: 70%;
        height: 55%;
        top: 0;
        left: 5%;
        transform: rotate(-2deg);
    }

    .image-front {
        width: 60%;
        height: 50%;
        bottom: 0;
        right: 5%;
        transform: rotate(2deg);
    }

    .vertical-experience-text {
        writing-mode: horizontal-tb;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        min-height: auto;
        padding: 15px 0;
        gap: 10px;
        margin-top: 15px;
    }

    html[dir="ltr"] .vertical-experience-text {
        writing-mode: horizontal-tb;
    }

    .vertical-text,
    .vertical-number {
        transform: none;
    }

    html[dir="ltr"] .vertical-text,
    html[dir="ltr"] .vertical-number {
        transform: none;
    }

    .vertical-number {
        font-size: 2rem;
    }

    .vertical-text {
        font-size: 1.2rem;
    }

    .story-content-block {
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .about-story {
        padding: 80px 0;
    }

    .story-image-block {
        display: block !important;
        width: 100%;
        min-height: 280px;
        position: relative;
    }

    .dual-image-container {
        display: block !important;
        width: 100%;
        height: 260px !important;
        min-height: 260px !important;
        position: relative !important;
    }

    .image-back {
        position: absolute !important;
        display: block !important;
        width: 65% !important;
        height: 70% !important;
        top: 0 !important;
        left: 0 !important;
        transform: rotate(-3deg) !important;
        z-index: 1;
    }

    .image-front {
        position: absolute !important;
        display: block !important;
        width: 55% !important;
        height: 60% !important;
        bottom: 0 !important;
        right: 0 !important;
        transform: rotate(3deg) !important;
        z-index: 2;
    }

    .image-back img,
    .image-front img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        display: block !important;
        border-radius: 12px;
        border: 3px solid white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .vertical-experience-text {
        display: flex !important;
        flex-direction: row-reverse;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 20px;
        writing-mode: horizontal-tb !important;
    }

    .vertical-number {
        font-size: 2rem;
        transform: none !important;
    }

    .vertical-text {
        font-size: 1.1rem;
        letter-spacing: 1px;
        transform: none !important;
    }
}

/* ========================================
   PROJECTS MAP SECTION - Saudi Arabia Map
   Desktop: side-by-side (map sticky + vertical cards)
   Mobile: text → map → horizontal scroll cards
   ======================================== */

.projects-map-section {
    background: linear-gradient(135deg, #1a3a35 0%, #2d5950 50%, #1e4d52 100%);
    padding: 20px 0 0;
    position: relative;
    overflow: visible;
}

.projects-map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(62, 123, 110, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

/* Header */
.projects-map-header {
    text-align: right;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 5%;
    right: 0;
    z-index: 3;
    max-width: 480px;
    pointer-events: none;
}

.projects-map-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.projects-map-title .highlight {
    color: var(--primary);
}

.projects-map-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: none;
    margin: 0;
    line-height: 1.8;
}

/* Map Wrapper - Two Column Layout (Desktop) */
.projects-map-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    z-index: 2;
    max-width: 1550px;
    margin: 0 auto;
}

/* Map Container - Sticky 2/3 (Desktop) */
.map-container {
    flex: 0 0 65%;
    position: sticky;
    top: 40px;
    height: calc(100vh - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    align-self: flex-start;
}

.map-inner {
    width: 100%;
    max-width: 680px;
    position: relative;
}

/* SVG Map Styling */
.saudi-map-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.15));
    margin-top: 2vh;
}

.saudi-map-svg .map-region {
    fill: rgba(255, 255, 255, 0.06);
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 1.2;
    transition: fill 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        stroke 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        stroke-width 0.4s ease;
    cursor: pointer;
}

.saudi-map-svg .map-region:hover {
    fill: rgba(255, 255, 255, 0.15);
    stroke: rgba(255, 255, 255, 0.45);
}

.saudi-map-svg .map-region.active {
    fill: rgba(212, 168, 75, 0.4);
    stroke: rgba(212, 168, 75, 0.85);
    stroke-width: 2.5;
    filter: drop-shadow(0 0 18px rgba(212, 168, 75, 0.35));
}

.saudi-map-svg .region-label {
    fill: rgba(255, 255, 255, 0.5);
    font-family: 'Tajawal', 'Cairo', sans-serif;
    font-size: 11px;
    text-anchor: middle;
    pointer-events: none;
    transition: fill 0.5s ease, font-size 0.3s ease;
}

.saudi-map-svg .region-label.active {
    fill: #D4A84B;
    font-weight: 700;
    font-size: 13px;
}

/* Active Region Display */
.map-active-region {
    display: none;
}

.map-active-region.visible {
    display: none;
}

/* Projects Scroll List - Vertical on Desktop (1/3) */
.projects-scroll-list {
    flex: 0 0 35%;
    padding: 20vh 30px 40vh 20px;
    overflow-y: visible;
}

/* Project Card */
.map-project-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    padding: 0;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
    border: 2px solid transparent;
    position: relative;
}

.map-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 0 16px 16px 0;
}

html[dir="rtl"] .map-project-card::before {
    right: auto;
    left: 0;
    border-radius: 16px 0 0 16px;
}

.map-project-card:hover,
.map-project-card.active {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    border-color: rgba(212, 168, 75, 0.4);
}

.map-project-card.active::before {
    opacity: 1;
}

.map-card-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #1a3a35;
    padding: 32px 32px 14px;
    line-height: 1.4;
}

.map-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 0 32px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.map-card-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    color: #5a7a75;
    font-weight: 500;
}

.map-card-meta .meta-item i {
    color: var(--primary);
    font-size: 0.8rem;
}

.map-card-image {
    width: 100%;
    overflow: hidden;
}

.map-card-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-project-card:hover .map-card-image img {
    transform: scale(1.05);
}

.map-card-desc {
    padding: 24px 32px 30px;
    color: #5a7a75;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* CTA Button */
.projects-map-cta {
    text-align: center;
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

/* ========================================
   PROJECTS MAP - Responsive
   ======================================== */

@media (max-width: 1200px) {
    .map-container {
        flex: 0 0 55%;
        padding: 20px;
    }

    .projects-scroll-list {
        flex: 0 0 45%;
        padding: 20px 25px 80px 15px;
    }
}

/* ≤992px: Switch to stacked layout with text→map→horizontal cards */
@media (max-width: 992px) {
    .projects-map-section {
        padding: 60px 0 30px;
        overflow: hidden;
    }

    .projects-map-wrapper {
        flex-direction: column;
    }

    /* Map container stacks header above map */
    .map-container {
        position: relative;
        top: auto;
        height: auto;
        flex: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 0 20px 20px;
    }

    /* Header - centered on top, above the map */
    .projects-map-header {
        position: relative;
        top: auto;
        right: auto;
        text-align: center;
        max-width: 700px;
        width: 100%;
        margin: 0 auto;
        padding: 0 10px 20px;
        pointer-events: auto;
    }

    /* Map - full width below header */
    .map-inner {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }

    .saudi-map-svg {
        margin-top: 0;
        width: 100%;
    }

    /* Cards - horizontal scroll */
    .projects-scroll-list {
        flex: none;
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 18px;
        padding: 15px 20px 25px;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    /* Styled scrollbar for horizontal scroll */
    .projects-scroll-list::-webkit-scrollbar {
        height: 6px;
    }

    .projects-scroll-list::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }

    .projects-scroll-list::-webkit-scrollbar-thumb {
        background: rgba(212, 168, 75, 0.4);
        border-radius: 10px;
    }

    .projects-scroll-list::-webkit-scrollbar-thumb:hover {
        background: rgba(212, 168, 75, 0.6);
    }

    .map-project-card {
        margin-bottom: 0;
        flex: 0 0 300px !important;
        min-width: 300px !important;
        max-width: 300px;
        scroll-snap-align: start;
    }

    .map-project-card::before {
        top: auto;
        right: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        border-radius: 0 0 16px 16px;
    }

    html[dir="rtl"] .map-project-card::before {
        right: auto;
        left: 0;
        border-radius: 0 0 16px 16px;
    }

    .map-card-title {
        font-size: 1.15rem;
        padding: 18px 20px 10px;
    }

    .map-card-meta {
        gap: 6px 14px;
        padding: 0 20px 14px;
    }

    .map-card-meta .meta-item {
        font-size: 0.85rem;
    }

    .map-card-image img {
        height: 200px;
    }

    .map-card-desc {
        padding: 14px 20px 18px;
        font-size: 0.95rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .projects-map-section {
        padding: 50px 0 20px;
    }

    .projects-map-header {
        padding: 0 20px 15px;
    }

    .map-container {
        padding: 10px 20px 15px;
    }

    .map-inner {
        max-width: 100%;
    }

    .projects-scroll-list {
        padding: 10px 20px 20px;
        gap: 14px;
    }

    .map-project-card {
        flex: 0 0 260px;
        min-width: 260px;
    }

    .map-card-title {
        font-size: 1.05rem;
        padding: 14px 16px 8px;
    }

    .map-card-meta {
        padding: 0 16px 10px;
    }

    .map-card-image img {
        height: 160px;
    }

    .map-card-desc {
        padding: 10px 16px 14px;
        font-size: 0.88rem;
    }

    .map-active-region {
        font-size: 0.85rem;
        padding: 8px 20px;
    }
}

@media (max-width: 480px) {
    .map-inner {
        max-width: 100%;
    }

    .saudi-map-svg .region-label {
        font-size: 8px;
    }

    .saudi-map-svg .region-label.active {
        font-size: 10px;
    }

    .map-project-card {
        flex: 0 0 240px;
        min-width: 240px;
    }
}

/* ========================================
   PROJECTS 3D MAP PAGE
   Fullscreen interactive 3D map with side panel
   ======================================== */

.projects-3d-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #1a3a35;
}

/* ✨ Floating Particles Canvas */
.map3d-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* 🌟 Pulsing Glow Aura around the Map */
.map3d-glow-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center,
            rgba(212, 168, 75, 0.15) 0%,
            rgba(90, 181, 160, 0.10) 30%,
            rgba(45, 89, 80, 0.05) 55%,
            transparent 75%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: map3d-glow-pulse 4s ease-in-out infinite;
    filter: blur(40px);
}

@keyframes map3d-glow-pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

/* SVG Map container */
.map3d-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    perspective: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* SVG map with CSS 3D perspective tilt (JS controls transform dynamically) */
.svg-map-perspective {
    width: 110%;
    max-width: 1600px;
    transform: rotateX(50deg) rotateZ(-8deg) scale(1.4);
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.6));
    transform-origin: center center;
    position: relative;
    margin-left: 10%;
}

/* Extrusion layer style (cloned SVG copies behind the main map) */
.svg-map-extrusion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.svg-map-perspective svg {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

/* Hide broken external image references in SVG pin markers */
.svg-map-perspective svg image {
    display: none;
}


/* Loading overlay */
.map3d-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a3a35;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: opacity 0.5s ease;
}

.map3d-loader-inner {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.map3d-loader-inner p {
    margin-top: 20px;
    font-size: 1rem;
    font-family: 'Tajawal', 'Cairo', sans-serif;
}

.map3d-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 168, 75, 0.2);
    border-top-color: #D4A84B;
    border-radius: 50%;
    animation: map3d-spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes map3d-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Active Region Badge */
.map3d-region-badge {
    display: none !important;
}

.map3d-region-badge.visible {
    display: none !important;
}

/* Map Controls */
.map3d-controls {
    position: absolute;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

html[dir="rtl"] .map3d-controls {
    left: auto;
    right: 30px;
}

.map3d-control-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map3d-control-btn:hover {
    background: rgba(212, 168, 75, 0.3);
    border-color: rgba(212, 168, 75, 0.5);
    color: #D4A84B;
    transform: scale(1.05);
}

/* Filter Buttons */
.map3d-filters {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
}

.map3d-filter-btn {
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.75);
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    white-space: nowrap;
}

.map3d-filter-btn:hover {
    background: rgba(212, 168, 75, 0.2);
    border-color: rgba(212, 168, 75, 0.4);
    color: #D4A84B;
}

.map3d-filter-btn.active {
    background: rgba(212, 168, 75, 0.25);
    border-color: rgba(212, 168, 75, 0.6);
    color: #D4A84B;
    box-shadow: 0 0 15px rgba(212, 168, 75, 0.15);
}

/* 3D Standing Pin Effect */
.map-pin-3d {
    animation: pinFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
    transform-origin: center bottom;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.map-pin-3d.map-pin-hover {
    transform: scale(1.15);
}

/* Pin ground shadow */
.pin-ground-shadow {
    opacity: 0.7;
    transition: all 0.3s ease;
}

@keyframes pinFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* pinBounce removed - using smooth CSS transition instead */

/* Side Panel (True Glass Effect) */
.map3d-side-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 380px;
    height: 100%;
    background: rgba(15, 30, 28, 0.35);
    backdrop-filter: blur(30px) saturate(1.4);
    -webkit-backdrop-filter: blur(30px) saturate(1.4);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 5;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 168, 75, 0.3) transparent;
}

html[dir="rtl"] .map3d-side-panel {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.map3d-side-panel::-webkit-scrollbar {
    width: 5px;
}

.map3d-side-panel::-webkit-scrollbar-track {
    background: transparent;
}

.map3d-side-panel::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 75, 0.3);
    border-radius: 10px;
}

/* Panel Header */
.map3d-panel-header {
    padding: 100px 28px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.map3d-panel-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.map3d-panel-title .highlight {
    color: #D4A84B;
}

.map3d-panel-subtitle {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

/* Cards List */
.map3d-cards-list {
    padding: 20px 20px 100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Project Card */
.map3d-project-card {
    display: block;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.map3d-project-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(212, 168, 75, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

.map3d-project-card.active {
    border-color: rgba(212, 168, 75, 0.5);
    background: rgba(212, 168, 75, 0.1);
    box-shadow: 0 0 20px rgba(212, 168, 75, 0.15);
}

/* Card Image */
.map3d-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.map3d-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.map3d-project-card:hover .map3d-card-image img {
    transform: scale(1.08);
}

/* Card Body */
.map3d-card-body {
    padding: 18px 20px 20px;
}

/* Tags */
.map3d-card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.map3d-tag {
    display: inline-block;
    padding: 3px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    font-family: 'Tajawal', 'Cairo', sans-serif;
}

.map3d-tag.category {
    background: rgba(212, 168, 75, 0.15);
    color: #D4A84B;
    border: 1px solid rgba(212, 168, 75, 0.25);
}

.map3d-tag.year {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card Title */
.map3d-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Card Location */
.map3d-card-location {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.map3d-card-location i {
    color: #D4A84B;
    margin-left: 4px;
    font-size: 0.78rem;
}

html[dir="ltr"] .map3d-card-location i {
    margin-left: 0;
    margin-right: 4px;
}

/* Card Description */
.map3d-card-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

/* Card Link */
.map3d-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #D4A84B;
    transition: gap 0.3s ease;
}

.map3d-project-card:hover .map3d-card-link {
    gap: 10px;
}

/* Empty State */
.map3d-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.4);
}

.map3d-empty-state i {
    font-size: 3rem;
    color: rgba(212, 168, 75, 0.3);
    margin-bottom: 15px;
    display: block;
}

.map3d-empty-state p {
    font-size: 1rem;
}

/* ========================================
   3D MAP - Responsive
   ======================================== */

@media (max-width: 1200px) {
    .map3d-side-panel {
        width: 360px;
    }

    .map3d-panel-header {
        padding: 90px 22px 18px;
    }

    .map3d-panel-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 992px) {
    .projects-3d-section {
        height: auto;
        min-height: auto;
    }

    .map3d-canvas-container {
        position: relative;
        height: 60vh;
        min-height: 400px;
    }

    .map3d-side-panel {
        position: relative;
        width: 100%;
        height: auto;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(15, 30, 28, 0.95);
    }

    html[dir="rtl"] .map3d-side-panel {
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .map3d-panel-header {
        padding: 30px 22px 18px;
        text-align: center;
    }

    .map3d-filters {
        top: 80px;
    }

    .map3d-controls {
        bottom: auto;
        top: calc(60vh - 60px);
    }

    .map3d-region-badge {
        top: 70px;
    }

    .map3d-cards-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
        padding: 20px 20px 40px;
    }
}

@media (max-width: 768px) {
    .map3d-canvas-container {
        height: 50vh;
        min-height: 350px;
    }

    .map3d-filters {
        top: 75px;
        gap: 6px;
    }

    .map3d-filter-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .map3d-cards-list {
        grid-template-columns: 1fr;
    }

    .map3d-card-image {
        height: 160px;
    }

    .map3d-panel-title {
        font-size: 1.3rem;
    }

    .map3d-controls {
        left: 15px;
        top: calc(50vh - 60px);
    }

    html[dir="rtl"] .map3d-controls {
        left: auto;
        right: 15px;
    }

    .map3d-control-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .map3d-canvas-container {
        height: 45vh;
        min-height: 300px;
    }

    .map3d-filters {
        top: 70px;
        gap: 4px;
        padding: 0 10px;
    }

    .map3d-filter-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .map3d-panel-header {
        padding: 20px 15px 15px;
    }

    .map3d-cards-list {
        padding: 15px 15px 30px;
    }

    .map3d-card-body {
        padding: 14px 16px 16px;
    }
}

/* ===================================================
   Clients & Partners — Split Section
   =================================================== */

.cp-split-section {
    display: flex;
    min-height: 380px;
    overflow: hidden;
}

/* === Each Panel === */
.cp-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
    transition: flex 0.5s ease;
}

/* Subtle hover expansion */
.cp-panel:hover {
    flex: 1.08;
}

/* === Clients Panel — Light warm background === */
.cp-clients-panel {
    background: linear-gradient(135deg, #f8f6f1 0%, #efe9db 100%);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
}

/* === Partners Panel — Deep dark === */
.cp-partners-panel {
    background-color: #1a3a35;
}

/* === Divider line between panels === */
.cp-split-section::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(180, 150, 80, 0.5) 30%, rgba(180, 150, 80, 0.5) 70%, transparent);
    pointer-events: none;
    z-index: 2;
}

/* === Panel Header === */
.cp-panel-header {
    text-align: center;
    padding: 0 32px 28px;
}

.cp-panel-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}

.cp-panel:hover .cp-panel-icon {
    transform: scale(1.12) rotate(-5deg);
}

.cp-clients-panel .cp-panel-icon {
    background: rgba(180, 150, 60, 0.15);
    color: #b49644;
    border: 2px solid rgba(180, 150, 60, 0.3);
}

.cp-partners-panel .cp-panel-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #d4af5c;
    border: 2px solid rgba(212, 175, 92, 0.35);
}

.cp-panel-title {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.cp-clients-panel .cp-panel-title {
    color: #1a3a35;
}

.cp-partners-panel .cp-panel-title {
    color: #fff;
}

.cp-panel-line {
    width: 48px;
    height: 3px;
    border-radius: 2px;
    margin: 0 auto;
    transition: width 0.4s ease;
}

.cp-panel:hover .cp-panel-line {
    width: 80px;
}

.cp-clients-panel .cp-panel-line {
    background: linear-gradient(to right, #b49644, #d4af5c);
}

.cp-partners-panel .cp-panel-line {
    background: linear-gradient(to right, #d4af5c, #b49644);
}

/* === Slider inside panels === */
.cp-slider-wrap {
    padding: 8px 0;
}

.cp-slide-item {
    height: 100px !important;
    padding: 8px 20px !important;
}

.cp-slide-item img {
    max-height: 80px !important;
    max-width: 180px !important;
    filter: none;
    transition: filter 0.3s ease, transform 0.3s ease;
}

/* Clients: show logos in natural color */
.cp-clients-panel .cp-slide-item img {
    filter: none;
}

/* Partners: show logos in white/light to contrast dark bg */
.cp-partners-panel .cp-slide-item img {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.cp-partners-panel .cp-slide-item img:hover {
    opacity: 1;
    filter: brightness(0) invert(1) sepia(0.3) saturate(2);
}

/* Empty state inside panel */
.cp-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    opacity: 0.4;
    font-size: 0.9rem;
}

.cp-clients-panel .cp-empty {
    color: #1a3a35;
}

.cp-partners-panel .cp-empty {
    color: #fff;
}

.cp-empty i {
    font-size: 2rem;
}

/* === Mask override for panels — only fade sideways, not across panels === */
.cp-clients-panel .inf-slider-wrap {
    -webkit-mask-image: linear-gradient(to right, black 5%, transparent 95%);
    mask-image: linear-gradient(to right, black 5%, transparent 95%);
}

.cp-partners-panel .inf-slider-wrap {
    -webkit-mask-image: linear-gradient(to right, transparent 5%, black 10%, black 90%, transparent 95%);
    mask-image: linear-gradient(to right, transparent 5%, black 10%, black 90%, transparent 95%);
}

/* === Responsive: stack on mobile === */
@media (max-width: 768px) {
    .cp-split-section {
        flex-direction: column;
        min-height: unset;
    }

    .cp-split-section::after {
        display: none;
    }

    .cp-panel {
        padding: 44px 0 36px;
    }

    .cp-panel-title {
        font-size: 1.5rem;
    }
}

.inf-slider-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    /* Fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.inf-slider-track {
    display: flex;
    gap: 60px;
    width: max-content;
    /* animation set by JS */
    will-change: transform;
}

.inf-slider-track:hover {
    animation-play-state: paused !important;
}

.inf-slide-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    padding: 10px 20px;
    transition: transform 0.3s ease;
}

.inf-slide-item:hover {
    transform: scale(1.08);
}

.inf-slide-item img {
    max-height: 80px;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.inf-slide-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary, #2c3e50);
    white-space: nowrap;
    border: 2px solid #e0dbd0;
    border-radius: 8px;
    padding: 8px 18px;
}

.partners-section .inf-slider-wrap {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Base scroll keyframe for LTR scroll (moves track left) */
@keyframes infScrollLTR {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Base scroll keyframe for RTL scroll (moves track right) */
@keyframes infScrollRTL {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}