/* ═══════════════════════════════════════════════════════════════
   NAKHEEL AL-NOKHBA — Modern Premium Design System
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* ── Color Palette (Dark Luxurious Theme) ── */
    --bg-primary: #0C0A07;
    --bg-secondary: #131110;
    --bg-elevated: #1A1714;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    
    --gold: #D4A642;
    --gold-light: #E8C86D;
    --gold-dim: #A07D2F;
    --gold-glow: rgba(212, 166, 66, 0.12);
    --gold-glow-strong: rgba(212, 166, 66, 0.25);
    
    --green: #2E8B57;
    --green-light: #4DAF6E;
    --green-glow: rgba(46, 139, 87, 0.15);
    
    --sand: #FAF6EE;
    --sand-dim: #E8DFD0;
    --brass: #8B6B3D;
    
    --text-primary: #FAF6EE;
    --text-secondary: rgba(250, 246, 238, 0.65);
    --text-muted: rgba(250, 246, 238, 0.35);
    
    --border-subtle: rgba(212, 166, 66, 0.10);
    --border-card: rgba(212, 166, 66, 0.08);
    --border-glow: rgba(212, 166, 66, 0.20);
    
    /* ── Typography ── */
    --font-heading: 'Amiri', serif;
    --font-body: 'Cairo', sans-serif;
    
    /* ── Spacing ── */
    --section-py: clamp(5rem, 10vw, 9rem);
    --section-px: clamp(1.5rem, 6vw, 7rem);
    
    /* ── Border Radius ── */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* ── Transitions ── */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[dir="ltr"] {
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .section-title {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

.text-center { text-align: center; }

/* ── Grain Texture Overlay ── */
.grain-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    animation: grainDrift 8s steps(10) infinite;
}

@keyframes grainDrift {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    30% { transform: translate(3%, -15%); }
    50% { transform: translate(12%, 9%); }
    70% { transform: translate(9%, 4%); }
    90% { transform: translate(-1%, 7%); }
}

/* ── Section Tag (Label) ── */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-glow);
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.section-tag.light {
    color: var(--gold-light);
    background: rgba(232, 200, 109, 0.08);
    border-color: rgba(232, 200, 109, 0.15);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* ── Section Title Styling ── */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin-top: 1rem;
    border-radius: 2px;
}

.text-center .section-title::after,
.section-title.text-center::after {
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════════════════════════════ */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s var(--ease-out), visibility 1s var(--ease-out);
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--border-subtle);
    border-top-color: var(--gold);
    animation: loaderSpin 1.2s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.loader-ring::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-bottom-color: var(--gold-dim);
    animation: loaderSpin 2s linear infinite reverse;
}

.loader-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    animation: logoPulse 2s ease-in-out infinite;
}

.loading-screen p {
    color: var(--gold);
    margin-top: 1.5rem;
    font-size: 1rem;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    opacity: 0.7;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes logoPulse {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[dir="rtl"] .reveal-left { transform: translateX(60px); }
[dir="rtl"] .reveal-right { transform: translateX(-60px); }

.reveal.visible, .reveal-left.visible, .reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ═══════════════════════════════════════════════════════════════
   STICKY HEADER
   ═══════════════════════════════════════════════════════════════ */

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(12, 10, 7, 0.7);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.sticky-header.scrolled {
    background: rgba(12, 10, 7, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem var(--section-px);
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container .logo {
    height: 45px;
    filter: drop-shadow(0 0 8px rgba(212, 166, 66, 0.3));
    transition: transform 0.3s var(--ease-spring);
}

.logo-container .logo:hover {
    transform: scale(1.05);
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color 0.3s ease, background 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold);
    background: var(--gold-glow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1001;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-glow);
    color: var(--gold);
    padding: 0.45rem 1.2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 100px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lang-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
    z-index: -1;
    border-radius: 100px;
}

[dir="ltr"] .lang-btn::before { transform-origin: left; }

.lang-btn:hover {
    color: var(--bg-primary);
    border-color: var(--gold);
}
.lang-btn:hover::before { transform: scaleX(1); }

[dir="rtl"] .en-text { display: none; }
[dir="ltr"] .ar-text { display: none; }

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.hero-stage {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-background img.hero-pan {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: panZoom 40s linear infinite alternate;
    filter: brightness(0.6);
}

@keyframes panZoom {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.15) translate(-2%, 1%); }
}

.hero-background .overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212, 166, 66, 0.06) 0%, transparent 60%),
        linear-gradient(to bottom,
            rgba(12, 10, 7, 0.3) 0%,
            rgba(12, 10, 7, 0.5) 40%,
            rgba(12, 10, 7, 0.85) 80%,
            rgba(12, 10, 7, 1) 100%
        );
}

/* Floating Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.hero-orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 166, 66, 0.08) 0%, transparent 70%);
    top: 15%;
    right: 10%;
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(46, 139, 87, 0.06) 0%, transparent 70%);
    bottom: 30%;
    left: 5%;
    animation: orbFloat 15s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(212, 166, 66, 0.05) 0%, transparent 70%);
    top: 40%;
    left: 20%;
    animation: orbFloat 10s ease-in-out infinite 2s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.1); }
    66% { transform: translate(-20px, 15px) scale(0.9); }
}

/* Hero Content */
.hero-content {
    max-width: 850px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(212, 166, 66, 0.1);
    border: 1px solid rgba(212, 166, 66, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.4;
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--sand) 0%, var(--gold-light) 50%, var(--sand) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmerText 6s linear infinite;
}

@keyframes shimmerText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--bg-primary);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(212, 166, 66, 0.3);
}

.cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-light), #F0D68A);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 100px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 166, 66, 0.45);
}

.cta-btn:hover::before {
    opacity: 1;
}

/* Scroll Hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Stat Ribbon */
.stat-ribbon {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(12, 10, 7, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    padding: 1.8rem var(--section-px);
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    z-index: 2;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 180px;
    padding: 0.8rem 1rem;
    transition: transform 0.3s var(--ease-spring);
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    height: 60%;
    width: 1px;
    background: var(--border-subtle);
}

[dir="rtl"] .stat-item:not(:last-child)::after {
    left: auto;
    right: 0;
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-heading);
    line-height: 1.2;
}

.stat-value small {
    font-size: 0.5em;
    opacity: 0.7;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    display: block;
}

/* ═══════════════════════════════════════════════════════════════
   VISION SECTION
   ═══════════════════════════════════════════════════════════════ */

.vision-section {
    display: flex;
    min-height: 100vh;
    align-items: center;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.section-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.vision-image {
    flex: 1;
    height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.vision-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.vision-image:hover img {
    transform: scale(1.03);
}

.image-frame {
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(212, 166, 66, 0.15);
    border-radius: var(--radius-sm);
    pointer-events: none;
    transition: inset 0.4s var(--ease-out);
}

.vision-image:hover .image-frame {
    inset: 15px;
}

.vision-text {
    flex: 1;
    padding: var(--section-py) var(--section-px);
    z-index: 1;
}

.vision-text p {
    font-size: 1.05rem;
    line-height: 1.9;
}

/* Feature Cards */
.hover-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.card {
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-card);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--gold-glow);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    color: var(--gold);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.card h3 {
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   ROADMAP SECTION
   ═══════════════════════════════════════════════════════════════ */

.roadmap-section {
    padding: var(--section-py) var(--section-px);
    background: var(--bg-primary);
    position: relative;
}

.roadmap-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    margin-top: 4rem;
    position: relative;
    gap: 3rem;
}

.timeline-track {
    position: absolute;
    top: 30px;
    bottom: 30px;
    right: 29px;
    width: 2px;
    height: auto;
    background: var(--border-subtle);
    z-index: 1;
    border-radius: 2px;
    overflow: hidden;
    left: auto;
}

.timeline-progress {
    width: 100%;
    height: 33%;
    background: linear-gradient(180deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    transition: height 0.6s var(--ease-out);
    box-shadow: 0 0 10px var(--gold-glow-strong);
}

.phase {
    display: flex;
    align-items: flex-start;
    text-align: right;
    position: relative;
    z-index: 2;
    padding: 0;
    transition: all 0.4s var(--ease-out);
    gap: 2rem;
}

.phase-node {
    position: relative;
    display: flex;
    flex-shrink: 0;
    margin-bottom: 0;
}

.phase-number {
    width: 60px;
    height: 60px;
    background: var(--bg-elevated);
    color: var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-heading);
    border: 2px solid var(--border-subtle);
    transition: all 0.4s var(--ease-out);
    position: relative;
    z-index: 2;
}

.phase-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.phase:hover .phase-number, .phase.active .phase-number {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-primary);
    border-color: var(--gold);
    box-shadow: 0 0 25px var(--gold-glow-strong);
    transform: scale(1.1);
}

.phase:hover .phase-pulse, .phase.active .phase-pulse {
    opacity: 0.4;
    animation: phasePulse 2s ease-in-out infinite;
}

@keyframes phasePulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.4); opacity: 0; }
}

.phase-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s var(--ease-out);
    flex: 1;
}

.phase:hover .phase-content, .phase.active .phase-content {
    border-color: rgba(197, 168, 128, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(197, 168, 128, 0.05);
}

.phase-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    transition: color 0.3s ease;
}

.phase:hover .phase-content h3, .phase.active .phase-content h3 {
    color: var(--gold-light);
}

.phase-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.phase-content > *:last-child {
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   HYDROLOGICAL SECTION
   ═══════════════════════════════════════════════════════════════ */

.hydro-section {
    padding: var(--section-py) var(--section-px);
    background: var(--bg-secondary);
    position: relative;
}

.hydro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hydro-desc {
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

/* Modern Water Comparison Bars */
.water-comparison {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: start;
}

.water-bar-group {
    position: relative;
}

.water-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.water-bar-header h4 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.ppm-badge {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-family: var(--font-heading);
}

.ppm-badge.standard {
    color: #8B9DAF;
    background: rgba(139, 157, 175, 0.12);
    border: 1px solid rgba(139, 157, 175, 0.2);
}

.ppm-badge.premium {
    color: var(--green-light);
    background: var(--green-glow);
    border: 1px solid rgba(46, 139, 87, 0.25);
}

.water-bar-track {
    width: 100%;
    height: 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 100px;
    overflow: hidden;
    border: 1px solid var(--border-card);
}

.water-bar-fill {
    height: 100%;
    border-radius: 100px;
    width: 0;
    transition: width 1.5s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.water-bar-fill.standard {
    background: linear-gradient(90deg, #6B7B8D, #8B9DAF);
}

.water-bar-fill.premium {
    background: linear-gradient(90deg, var(--green), var(--green-light));
    box-shadow: 0 0 15px var(--green-glow);
}

.water-bar-fill.animated {
    width: var(--target-width);
}

.water-bar-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: barShimmer 2.5s ease-in-out infinite;
}

@keyframes barShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.water-bar-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    display: block;
}

.water-bar-note.premium {
    color: var(--green-light);
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════
   SECURITY SECTION
   ═══════════════════════════════════════════════════════════════ */

.security-section {
    padding: var(--section-py) var(--section-px);
    background: var(--bg-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow behind the section */
.security-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212, 166, 66, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.security-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.security-section .section-title {
    color: var(--gold-light);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.security-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.security-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 166, 66, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.security-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.security-card:hover::before {
    opacity: 1;
}

.security-icon {
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s var(--ease-spring);
}

.security-card:hover .security-icon {
    opacity: 1;
    transform: scale(1.1);
}

.security-card h4 {
    color: var(--gold-light);
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.security-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   ROI CALCULATOR
   ═══════════════════════════════════════════════════════════════ */

.roi-calculator {
    padding: var(--section-py) var(--section-px);
    background: var(--bg-secondary);
}

.roi-inner {
    max-width: 700px;
    margin: 0 auto;
}

.calculator-container {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--green), var(--gold-light));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    background: var(--bg-elevated);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-heading);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -moz-appearance: textfield;
    appearance: textfield;
}

.input-wrapper input::-webkit-outer-spin-button,
.input-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 20px var(--gold-glow);
}

.input-unit {
    position: absolute;
    left: 1.2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    pointer-events: none;
}

[dir="rtl"] .input-unit {
    left: auto;
    right: 1.2rem;
}

/* Wait, this will overlap with the input text. Let me put it outside */
.input-unit {
    position: relative;
    left: auto;
    right: auto;
    padding: 0 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-box {
    padding: 1.5rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-card);
    transition: all 0.3s ease;
}

.result-box:hover {
    border-color: var(--border-subtle);
}

.result-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
}

.result-info svg {
    color: var(--gold-dim);
    flex-shrink: 0;
}

.result-box.highlight {
    background: linear-gradient(135deg, rgba(212, 166, 66, 0.12), rgba(212, 166, 66, 0.05));
    border-color: var(--border-glow);
}

.result-box.highlight .result-info {
    color: var(--gold-light);
}

.result-box strong {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--gold-light);
    white-space: nowrap;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    text-align: center;
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════════ */

.contact-section {
    padding: var(--section-py) var(--section-px);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to top, rgba(212, 166, 66, 0.03), transparent);
    pointer-events: none;
}

.contact-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.contact-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s var(--ease-out);
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-glow);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: var(--gold);
    transition: all 0.3s var(--ease-spring);
}

.contact-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.2);
    color: #25D366;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--gold-glow);
}

.contact-item h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin-bottom: 0;
}

.contact-item a {
    color: var(--gold);
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--gold-light);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 2.5rem var(--section-px);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.footer-logo {
    height: 35px;
    opacity: 0.5;
    filter: grayscale(0.5);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
    filter: grayscale(0);
}

footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   BACK TO TOP & FLOATING BUTTONS
   ═══════════════════════════════════════════════════════════════ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out);
    z-index: 999;
    backdrop-filter: blur(10px);
}

[dir="rtl"] .back-to-top {
    left: auto;
    right: 2rem;
}

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

.back-to-top:hover {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
    transform: translateY(-3px);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: all 0.3s var(--ease-spring);
    animation: whatsappPulse 3s ease-in-out infinite;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 2rem;
}

[dir="rtl"] .back-to-top {
    left: auto;
    right: 5rem;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.55), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .main-nav {
        position: fixed;
        top: 0;
        bottom: 0;
        right: -320px;
        left: auto;
        width: 300px;
        max-width: 85vw;
        background: rgba(12, 10, 7, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 6rem;
        padding-right: 2rem;
        padding-left: 2rem;
        gap: 1.5rem;
        transition: right 0.4s var(--ease-out), left 0.4s var(--ease-out), box-shadow 0.4s ease;
        z-index: 999;
        border-left: 1px solid var(--border-subtle);
    }
    
    .main-nav.open {
        right: 0;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5), 0 0 0 10000px rgba(0,0,0,0.6);
    }

    [dir="ltr"] .main-nav {
        right: auto;
        left: -320px;
        border-left: none;
        border-right: 1px solid var(--border-subtle);
    }
    
    [dir="ltr"] .main-nav.open {
        left: 0;
        box-shadow: 10px 0 30px rgba(0,0,0,0.5), 0 0 0 10000px rgba(0,0,0,0.6);
    }
    
    .main-nav .nav-link {
        font-size: 1.3rem;
        padding: 0.8rem 2rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .vision-section {
        flex-direction: column;
    }
    
    .vision-image {
        height: 50vh;
    }
    
    .timeline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline-track {
        display: none;
    }
    
    .phase {
        text-align: start;
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .phase-node {
        flex-shrink: 0;
    }
    
    .phase-content {
        text-align: start;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header-inner {
        padding: 0.7rem 1.2rem;
    }
    
    .logo-container .logo {
        height: 38px;
    }
    
    .lang-btn {
        padding: 0.35rem 1rem;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }
    
    .cta-btn {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }
    
    .hero-stage {
        padding-top: 100px;
        height: auto;
        min-height: 100vh;
        justify-content: center;
        padding-bottom: 0;
    }
    
    .hero-content {
        margin-top: auto;
        margin-bottom: auto;
    }
    
    .stat-ribbon {
        position: relative;
        padding: 1.5rem 1rem;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat-item {
        min-width: calc(50% - 0.5rem);
        padding: 0.5rem;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .stat-value {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-scroll-hint {
        display: none;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .vision-text {
        padding: 3rem 1.5rem;
    }
    
    .hover-cards {
        grid-template-columns: 1fr;
    }
    
    .roadmap-section,
    .hydro-section,
    .security-section,
    .roi-calculator,
    .contact-section {
        padding: 4rem 1.5rem;
    }
    
    .calculator-container {
        padding: 2rem 1.5rem;
    }
    
    .result-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .result-box strong {
        font-size: 1.3rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
    
    [dir="rtl"] .whatsapp-float {
        right: auto;
        left: 1.5rem;
    }
    
    .back-to-top {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 42px;
        height: 42px;
    }
    
    [dir="rtl"] .back-to-top {
        left: auto;
        right: 4.5rem;
    }
    
    .phase {
        padding: 0;
    }
    
    .phase-number {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .stat-item {
        min-width: 100%;
    }
    
    .stat-ribbon {
        flex-direction: column;
    }
    
    .input-wrapper input {
        font-size: 1.1rem;
        padding: 0.8rem 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SELECTION & SCROLLBAR STYLING
   ═══════════════════════════════════════════════════════════════ */

::selection {
    background: var(--gold);
    color: var(--bg-primary);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-glow);
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dim);
}

/* ═══════════════════════════════════════════════════════════════
   HERO SLIDESHOW
   ═══════════════════════════════════════════════════════════════ */

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slideshow-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
    animation: slidePanZoom 20s linear infinite alternate;
}

.slide:nth-child(2) .slide-bg img {
    animation-delay: -7s;
    animation-direction: alternate-reverse;
}

.slide:nth-child(3) .slide-bg img {
    animation-delay: -14s;
}

@keyframes slidePanZoom {
    0% { transform: scale(1.0) translate(0, 0); }
    100% { transform: scale(1.12) translate(-1.5%, 0.5%); }
}

.slide-bg .overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212, 166, 66, 0.06) 0%, transparent 60%),
        linear-gradient(to bottom,
            rgba(12, 10, 7, 0.3) 0%,
            rgba(12, 10, 7, 0.5) 40%,
            rgba(12, 10, 7, 0.85) 80%,
            rgba(12, 10, 7, 1) 100%
        );
}

.slide-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    padding: 2rem;
}

.slide-content .hero-title {
    animation: none;
}

.slide.active .slide-content .hero-badge {
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.slide.active .slide-content .hero-title {
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
    background: linear-gradient(135deg, var(--sand) 0%, var(--gold-light) 50%, var(--sand) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide.active .slide-content .hero-subtitle {
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.slide.active .slide-content .hero-actions {
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slideshow Dots */
.slideshow-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slideshow-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.slideshow-dots .dot.active {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
    transform: scale(1.2);
}

.slideshow-dots .dot:hover:not(.active) {
    background: rgba(212, 175, 55, 0.3);
    border-color: var(--gold);
}

/* Slideshow Arrows */
.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(12, 10, 7, 0.5);
    border: 1px solid var(--border-glow);
    color: var(--gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slideshow-arrow:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-prev {
    left: 2rem;
}

.slideshow-next {
    right: 2rem;
}

/* Stats ribbon inside slideshow */
.hero-slideshow .company-stats-ribbon {
    bottom: -60px;
}

@media (max-width: 768px) {
    .slideshow-arrow {
        width: 40px;
        height: 40px;
    }
    .slideshow-prev {
        left: 0.75rem;
    }
    .slideshow-next {
        right: 0.75rem;
    }
    .slideshow-dots {
        bottom: 80px;
    }
    .slideshow-dots .dot {
        width: 10px;
        height: 10px;
    }
    .hero-slideshow {
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    .slideshow-slides {
        min-height: 100vh;
    }
    .slide {
        padding-top: 100px;
        padding-bottom: 3rem;
        align-items: center;
    }
    .hero-slideshow .company-stats-ribbon {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.5rem;
        width: 90%;
        margin: 2rem auto;
        border-radius: 16px;
    }
}
/* ═══════════════════════════════════════════════════════════════
   COMPANY HOMEPAGE & MULTI-PROJECT STYLES
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero Actions ── */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.cta-btn-outline {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-family: var(--font-arabic-sans);
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    border: 1px solid var(--gold);
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(5px);
}
.cta-btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ── Breadcrumb Bar ── */
.breadcrumb-bar {
    padding: 1.5rem 5%;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(12,10,7,0.8) 100%);
    border-bottom: 1px solid var(--border-glow);
    position: relative;
    z-index: 10;
}
.breadcrumb-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-family: var(--font-arabic-sans);
}
.breadcrumb-inner a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}
.breadcrumb-inner a:hover {
    color: var(--gold);
}
.breadcrumb-sep {
    color: var(--border-glow);
    font-weight: 300;
}
.breadcrumb-current {
    color: var(--gold);
    font-weight: 600;
}

/* ── Company Stats Ribbon ── */
.company-stats-ribbon {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
    z-index: 5;
}
.company-stats-ribbon .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.company-stats-ribbon .stat-value {
    font-size: 3rem;
    font-family: var(--font-english);
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    line-height: 1;
}
.company-stats-ribbon .stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-family: var(--font-arabic-sans);
}

@media (max-width: 768px) {
    .company-hero {
        margin-bottom: 2rem;
        height: auto;
        min-height: 100vh;
        padding-bottom: 2rem;
        justify-content: center;
        padding-top: 80px;
    }
    .company-stats-ribbon {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.5rem;
        width: 90%;
        margin-top: 2rem;
        border-radius: 16px;
    }
    .about-section {
        padding-top: 4rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }
    .hero-actions .cta-btn, .hero-actions .cta-btn-outline {
        width: 100%;
        text-align: center;
    }
}

/* ── About Section ── */
.about-section {
    padding: 10rem 5% 5rem;
    position: relative;
    background: radial-gradient(circle at 100% 50%, rgba(212,175,55,0.05) 0%, transparent 50%);
}
.about-inner {
    max-width: 1000px;
    margin: 0 auto;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 3rem;
}
.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}
.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    transition: all 0.4s ease;
}
.feature-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(-10px);
    border-color: var(--gold-dim);
}
html[dir="ltr"] .feature-item:hover {
    transform: translateX(10px);
}
.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}
.feature-item span {
    font-size: 1.2rem;
    font-family: var(--font-arabic-heading);
    color: var(--text-main);
}
@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    .feature-item:hover {
        transform: translateY(-5px);
    }
}

/* ── Projects Grid ── */
.projects-section {
    padding: 6rem 5%;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}
.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}
.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-dim);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 20px rgba(212,175,55,0.1);
}
.project-card.featured {
    border-color: var(--gold-dim);
    background: linear-gradient(145deg, rgba(212,175,55,0.05) 0%, rgba(12,10,7,0.8) 100%);
}
.project-card.featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    z-index: 10;
}
.project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-image img {
    transform: scale(1.05);
}
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--bg-primary) 100%);
}
.project-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.project-number {
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
.project-info h3 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-family: var(--font-arabic-heading);
}
.project-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}
.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-weight: 600;
    font-size: 1.1rem;
    transition: gap 0.3s ease;
}
.project-card:hover .project-link {
    gap: 1rem;
}
html[dir="ltr"] .project-card:hover .project-link {
    gap: 1rem;
}

/* ── Placeholder Pages ── */
.placeholder-hero {
    min-height: 60vh;
}
.coming-soon-badge {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 100px;
    font-size: 1.1rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

