/* =============================================
   VARIABLES & RESET (LIGHT THEME)
============================================= */
:root {
    --gold: #f39c12;
    --gold-light: #f5c842;
    --gold-dark: #c0720a;
    --amber: #e67e22;
    --orange-soft: #fff3e0;
    --orange-mid: #ffe0b2;
    --dark: #ffffff;
    --dark-2: #fff8f0;
    --dark-3: #ffffff;
    --card-bg: rgba(255,255,255,0.93);
    --card-border: rgba(243,156,18,0.22);
    --text-primary: #1a0a00;
    --text-secondary: #5c3a1e;
    --text-muted: #9a6a40;
    --white: #ffffff;
}

*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    background: #ffffff;
    color: var(--text-primary);
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
}
.cursor-ring {
    width: 36px; height: 36px;
    border: 1.5px solid rgba(243,156,18,0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease;
}
body:hover .cursor-dot { opacity: 1; }

/* =============================================
   ANIMATED CANVAS BACKGROUND
============================================= */
#bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Gradient overlays */
.gradient-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 60% at 15% 30%, rgba(243,156,18,0.10) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 85% 70%, rgba(230,126,34,0.08) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(255,180,50,0.06) 0%, transparent 60%);
}

.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* All sections above bg */
.above-bg { position: relative; z-index: 10; }

/* =============================================
   NAVBAR
============================================= */
.navbar-wrapper {
    position: fixed;
    top: 24px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 500;
    pointer-events: none;
}

nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 12px 28px;
    border-radius: 60px;
    border: 1px solid rgba(243, 156, 18, 0.2);
    box-shadow: 0 8px 40px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 36px;
    pointer-events: auto;
    transition: all 0.4s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(243,156,18,0.35);
    box-shadow: 0 12px 60px rgba(0,0,0,0.1), 0 0 30px rgba(243,156,18,0.1);
}

.nav-logo {
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: 4px; align-items: center; margin-inline-start: auto; }

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 7px 14px;
    border-radius: 30px;
    transition: all 0.25s ease;
    position: relative;
    white-space: nowrap;
}
.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(243,156,18,0.1);
}

.nav-links a.contact-btn {
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: var(--white);
    font-weight: 900;
    padding: 8px 20px;
    box-shadow: 0 4px 20px rgba(243,156,18,0.3);
    transition: all 0.3s ease;
}
.nav-links a.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(243,156,18,0.5);
    color: var(--white);
}

.lang-switcher {
    background: rgba(243,156,18,0.08);
    border: 1px solid rgba(243,156,18,0.2);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 6px 10px;
    border-radius: 20px;
    outline: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}
.lang-switcher:hover { border-color: var(--gold); color: var(--gold-dark); }
.lang-switcher option { background: var(--dark-3); color: var(--text-primary); }

/* Language Switcher Icon Override */
.lang-icon-wrapper { display: inline-block; }
.lang-icon-btn {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(243,156,18,0.08); border: 1px solid rgba(243,156,18,0.2);
    border-radius: 50%; color: var(--text-secondary); pointer-events: none; transition: all 0.3s ease;
}
.lang-icon-wrapper:hover .lang-icon-btn {
    background: rgba(243,156,18,0.15); border-color: var(--gold); color: var(--gold-dark);
}
.lang-switcher-hidden {
    opacity: 0; width: 100%; height: 100%; cursor: pointer; appearance: none;
    position: absolute; top: 0; left: 0; z-index: 10;
}
.lang-switcher-hidden option { background: var(--dark-3); color: var(--text-primary); }

/* =============================================
   FLOATING LOGO
============================================= */
.floating-logo-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 5;
}

.main-logo {
    width: 320px;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(243,156,18,0.2)) drop-shadow(0 20px 60px rgba(0,0,0,0.15));
    will-change: transform;
    position: relative;
    left: -150px;
}

/* =============================================
   HERO SECTION
============================================= */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 10% 100px;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 600px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(243,156,18,0.08);
    border: 1px solid rgba(243,156,18,0.2);
    padding: 6px 16px 6px 8px;
    border-radius: 30px;
    margin-bottom: 28px;
}

.hero-eyebrow-dot {
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-eyebrow span {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--gold-dark);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-title .highlight {
    color: transparent;
    background: linear-gradient(135deg, var(--gold-dark), var(--amber));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.9;
    font-weight: 600;
    max-width: 480px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.stat-item {}
.stat-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold-dark);
    line-height: 1;
    display: block;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-top: 4px;
}

/* =============================================
   SECTIONS — PERFORMANCE & DURABILITY
============================================= */
section.standard-sec {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
    z-index: 10;
}

#performance { justify-content: flex-end; }
#durability { justify-content: flex-start; }

.content-box {
    max-width: 540px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.section-eyebrow-line {
    width: 30px; height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.section-eyebrow-text {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--gold-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-title span {
    color: transparent;
    background: linear-gradient(135deg, var(--gold-dark), var(--amber));
    -webkit-background-clip: text;
    background-clip: text;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    font-weight: 600;
    max-width: 520px;
}

/* =============================================
   SUPPLIES SECTION
============================================= */
#supplies {
    display: block;
    height: 100vh;
    padding-top: 110px;
    background: var(--dark-2);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

#supplies::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(243,156,18,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.supplies-header {
    text-align: center;
    position: relative;
    z-index: 10;
    height: 26vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0 5%;
}

.supplies-header .section-title { font-size: 2.4rem; }

.supplies-pin-container {
    position: relative;
    width: 100%;
    height: 65vh; /* Adjusted for better breathing room */
}

.supplies-progress {
    position: absolute;
    left: 4%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 20;
}

.progress-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.progress-dot.active {
    background: var(--gold);
    border-color: rgba(243,156,18,0.4);
    box-shadow: 0 0 16px rgba(243,156,18,0.5);
    transform: scale(1.4);
}

.supply-slide {
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    margin: auto; /* Absolute Centering */
    width: 85%;
    max-width: 1100px;
    height: max-content; /* Dynamic natural height */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px; /* Elegant clear gap */
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    padding: 56px 64px; /* Luxurious Padding */
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
    opacity: 0;
    visibility: hidden;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.supply-slide:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.1), 0 0 40px rgba(243,156,18,0.1);
    border-color: rgba(243,156,18,0.4);
}

.supply-slide:nth-child(2) { opacity: 1; visibility: visible; }

.slide-info { width: 48%; }

.slide-info h2 {
    font-size: 2.4rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 900;
}

.slide-subtitle {
    display: block;
    color: var(--amber);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}

.slide-info p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    font-weight: 600;
}

.slide-img {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.slide-img img {
    max-width: 100%;
    max-height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(243,156,18,0.25));
    display: block;
    border-radius: 12px;
    transform-style: preserve-3d;
}

/* =============================================
   PRODUCTS SHOWCASE
============================================= */
#products-showcase {
    background-color: #080c14;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

/* ── PRODUCTS SHOWCASE — PREMIUM DARK BG ── */
#products-showcase { background: #080c14 !important; }

/* Multi-layer background system */
.prod-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.prod-bg-base { position: absolute; inset: 0; background: radial-gradient(ellipse 120% 80% at 50% 50%, #0d1520 0%, #050810 100%); }
.prod-aurora {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 50%, rgba(243,156,18,0.14) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 80% 30%, rgba(230,126,34,0.09) 0%, transparent 50%),
        radial-gradient(ellipse 40% 50% at 60% 80%, rgba(245,200,66,0.07) 0%, transparent 50%);
    animation: auroraShift 12s ease-in-out infinite alternate;
}
@keyframes auroraShift {
    0%   { transform: translate(0,0) scale(1); opacity: 0.8; }
    33%  { transform: translate(-3%,2%) scale(1.05); opacity: 1; }
    66%  { transform: translate(3%,-2%) scale(0.98); opacity: 0.9; }
    100% { transform: translate(-1%,3%) scale(1.03); opacity: 1; }
}
.tech-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(243,156,18,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(243,156,18,0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    animation: gridShift 18s linear infinite;
}
@keyframes gridShift {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}
/* Scanlines */
.prod-scan {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.035) 2px, rgba(0,0,0,0.035) 4px);
}
/* Floating orbs */
.prod-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; animation: orbFloat 14s ease-in-out infinite; }
.prod-orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(243,156,18,0.22), transparent 70%); top: -120px; right: -120px; }
.prod-orb-2 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(230,126,34,0.18), transparent 70%); bottom: -80px; left: 8%; animation-duration: 10s; animation-delay: 3s; }
.prod-orb-3 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(245,200,66,0.13), transparent 70%); top: 35%; left: 38%; animation-duration: 16s; animation-delay: 6s; }
@keyframes orbFloat {
    0%,100% { transform: translate(0,0) scale(1); opacity: 0.6; }
    25%  { transform: translate(-20px,15px) scale(1.1); opacity: 0.85; }
    50%  { transform: translate(15px,-20px) scale(0.9); opacity: 0.5; }
    75%  { transform: translate(-10px,-10px) scale(1.05); opacity: 0.75; }
}
/* Corner bracket decorations */
.prod-corner { position: absolute; pointer-events: none; z-index: 3; }
.prod-corner-tl { top: 20px; left: 20px; width: 55px; height: 55px; border-top: 2px solid rgba(243,156,18,0.45); border-left: 2px solid rgba(243,156,18,0.45); border-radius: 8px 0 0 0; animation: cornerPulse 3s ease-in-out infinite; }
html[dir="rtl"] .prod-corner-tl { left: auto; right: 20px; border-left: none; border-right: 2px solid rgba(243,156,18,0.45); border-radius: 0 8px 0 0; }
.prod-corner-br { bottom: 20px; right: 20px; width: 55px; height: 55px; border-bottom: 2px solid rgba(243,156,18,0.45); border-right: 2px solid rgba(243,156,18,0.45); border-radius: 0 0 8px 0; animation: cornerPulse 3s ease-in-out infinite 1.5s; }
html[dir="rtl"] .prod-corner-br { right: auto; left: 20px; border-right: none; border-left: 2px solid rgba(243,156,18,0.45); border-radius: 0 0 0 8px; }
@keyframes cornerPulse { 0%,100%{opacity:0.45} 50%{opacity:0.9} }
/* Dot grid accent */
.prod-dots { position: absolute; top: 50%; right: 3%; transform: translateY(-50%); display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; opacity: 0.2; pointer-events: none; z-index: 3; }
html[dir="rtl"] .prod-dots { right: auto; left: 3%; }
.product-panel:nth-child(even) .prod-dots { right: auto; left: 3%; }
html[dir="rtl"] .product-panel:nth-child(even) .prod-dots { left: auto; right: 3%; }
.prod-dot { width: 4px; height: 4px; background: var(--gold-light); border-radius: 50%; }

.products-track {
    display: flex;
    width: 400vw;
    height: 100vh;
    position: relative;
    z-index: 2;
}

.product-panel {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    position: relative;
    gap: 32px;
}

.product-panel:nth-child(even) { flex-direction: row-reverse; }

.product-deco {
    position: absolute;
    border: 1.5px solid var(--gold);
    opacity: 0.25;
    pointer-events: none;
}

.deco-1 {
    width: 180px; height: 180px;
    top: 12%; left: 5%;
    border-radius: 0 40px 0 0;
    border-bottom: none; border-left: none;
    animation: decoFloat 8s ease-in-out infinite;
}
.deco-2 {
    width: 130px; height: 130px;
    bottom: 12%; right: 5%;
    border-radius: 0 0 0 40px;
    border-top: none; border-right: none;
    animation: decoFloat 8s ease-in-out infinite 2s;
}

@keyframes decoFloat {
    0%, 100% { transform: translate(0,0); opacity: 0.25; }
    50% { transform: translate(-6px, -8px); opacity: 0.45; }
}

.product-info {
    width: 38%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-info .prod-tag {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-info .prod-tag::before {
    content: '';
    width: 20px; height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.product-info h1 {
    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1;
    font-weight: 900;
    font-family: 'Bebas Neue', 'Cairo', sans-serif;
    letter-spacing: 0.04em;
    text-shadow: 0 0 40px rgba(243,156,18,0.3);
}

.product-info p {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 600;
    border-inline-end: 3px solid rgba(243,156,18,0.55);
    padding-inline-end: 18px;
}
.product-panel:nth-child(even) {
    border-inline-end: none;
    border-inline-start: 3px solid rgba(243,156,18,0.55);
    padding-inline-end: 0;
    padding-inline-start: 18px;
}
/* Product number display */
.prod-num-display {
    font-family: 'Bebas Neue', monospace;
    font-size: 4.5rem; line-height: 1;
    letter-spacing: -0.02em; user-select: none;
}
/* Product spec badge */
.prod-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(243,156,18,0.1);
    border: 1px solid rgba(243,156,18,0.22);
    padding: 6px 14px; border-radius: 20px;
    font-size: 0.82rem; font-weight: 800;
    color: rgba(255,255,255,0.5); width: fit-content;
}
.prod-badge-dot {
    width: 6px; height: 6px; background: var(--gold);
    border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite;
}
/* Panel slide counter */
.prod-counter {
    position: absolute; bottom: 36px; left: 50%;
    transform: translateX(-50%);
    display: flex; align-items: center; gap: 10px; z-index: 10;
}
.prod-counter-line {
    width: 40px; height: 2px;
    background: rgba(255,255,255,0.15); border-radius: 2px; overflow: hidden;
}
.prod-counter-fill { height: 100%; background: var(--gold); width: 0%; animation: fillLine 6s linear infinite; }
@keyframes fillLine { 0%{width:0%} 100%{width:100%} }
.prod-counter-text { font-size: 0.78rem; color: rgba(255,255,255,0.4); font-weight: 800; font-family: 'Bebas Neue',monospace; letter-spacing: 0.1em; }

.product-image-container {
    width: 60%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

@keyframes floatProduct {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(-28px) rotate(1deg); }
}

.product-image-container {
    position: relative;
}
.product-image-container::before {
    content: '';
    position: absolute;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(243,156,18,0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes glowPulse { 0%,100%{transform:translate(-50%,-50%) scale(1);opacity:0.6} 50%{transform:translate(-50%,-50%) scale(1.15);opacity:1} }
.product-image-container img {
    width: 100%;
    height: 115%;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(243,156,18,0.4)) drop-shadow(0 0 80px rgba(243,156,18,0.15)) contrast(1.05);
    animation: floatProduct 6s ease-in-out infinite;
    position: relative; z-index: 2;
}

/* =============================================
   MARQUEE
============================================= */
.marquee {
    width: 100vw;
    background: linear-gradient(135deg, var(--gold-dark), var(--amber));
    color: var(--white);
    padding: 18px 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-track .sep {
    margin: 0 24px;
    opacity: 0.5;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   SERVICES
============================================= */
#services {
    min-height: auto;
    padding: 120px 8%;
    position: relative;
    z-index: 10;
    background: var(--dark-2);
}

#services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(243,156,18,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.services-header {
    text-align: center;
    margin-bottom: 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(243,156,18,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: rgba(243,156,18,0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08), 0 0 40px rgba(243,156,18,0.1);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 52px; height: 52px;
    background: rgba(243,156,18,0.15);
    border: 1px solid rgba(243,156,18,0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: rgba(243,156,18,0.25);
    box-shadow: 0 0 20px rgba(243,156,18,0.2);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 600;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-dark);
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
    margin-top: 16px;
    transition: gap 0.2s ease;
}

.service-card a:hover { gap: 10px; color: var(--amber); }

/* =============================================
   PROJECTS
============================================= */
#projects {
    padding: 120px 8%;
    position: relative;
    z-index: 10;
    background: #ffffff;
}
#projects::before {
    content:''; position:absolute; inset:0;
    background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255,165,0,0.06) 0%, transparent 70%);
    pointer-events:none;
}

.section-header-center {
    text-align: center;
    margin-bottom: 64px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.project-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--amber));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.project-card:hover {
    border-color: rgba(243,156,18,0.4);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.project-card:hover::after { transform: scaleX(1); transform-origin: left; }

.project-num {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: 'Bebas Neue', monospace;
    color: rgba(243,156,18,0.25);
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.project-card:hover .project-num { color: rgba(243,156,18,0.5); }

.project-card h2 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.project-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 600;
}

/* =============================================
   BRANCHES
============================================= */
#branches {
    padding: 120px 8%;
    background: var(--dark-2);
    position: relative;
    z-index: 10;
}

#branches::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 0% 50%, rgba(243,156,18,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 100% 50%, rgba(243,156,18,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.branches-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 1050px;
    margin: 60px auto 0;
}

.branch-item {
    width: calc(33.333% - 11px);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
}

.branch-item::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; right: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--gold), var(--amber));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

html[dir="ltr"] .branch-item::before { right: auto; left: 0; }

.branch-item:hover {
    border-color: rgba(243,156,18,0.4);
    background: rgba(243,156,18,0.06);
    transform: translateX(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

html[dir="ltr"] .branch-item:hover { transform: translateX(4px); }

.branch-item:hover::before { transform: scaleY(1); }

.branch-icon {
    width: 42px; height: 42px;
    background: rgba(243,156,18,0.12);
    border: 1px solid rgba(243,156,18,0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.branch-item:hover .branch-icon {
    background: rgba(243,156,18,0.2);
}

.branch-info { flex: 1; }

.branch-info h3 {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.branch-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
}

.branch-arrow {
    font-size: 1rem;
    color: var(--gold-dark);
    opacity: 0;
    transform: translateX(4px);
    transition: all 0.3s ease;
}

html[dir="ltr"] .branch-arrow { transform: translateX(-4px); }

.branch-item:hover .branch-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* =============================================
   FOOTER
============================================= */
.mega-footer {
    background: var(--dark);
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 80px 8% 32px;
    position: relative;
    z-index: 10;
}

.mega-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(243,156,18,0.4), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-col h3 span { color: var(--gold-dark); }

.footer-col p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover { color: var(--gold-dark); }

.footer-col .contact-line {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
}

.footer-col .contact-line strong { color: var(--text-primary); font-weight: 800; }

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icons a {
    width: 38px; height: 38px;
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 900;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: rgba(243,156,18,0.15);
    border-color: rgba(243,156,18,0.4);
    color: var(--gold-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(243,156,18,0.2);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
}

/* =============================================
   FLOATING BUTTONS
============================================= */
.floating-btns {
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 400;
}

html[dir="ltr"] .floating-btns { right: auto; left: 32px; }

.whatsapp-btn {
    width: 50px; height: 50px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-weight: 900;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(37,211,102,0.35);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37,211,102,0.5);
}

.scroll-top {
    width: 50px; height: 50px;
    background: rgba(243,156,18,0.15);
    border: 1px solid rgba(243,156,18,0.4);
    border-radius: 50%;
    color: var(--gold-dark);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(243,156,18,0.4);
}

/* =============================================
   MODAL & FORM STYLES
============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
    background: var(--dark-3);
    border: 1px solid rgba(243,156,18,0.3);
    width: 90%;
    max-width: 420px;
    padding: 44px;
    border-radius: 24px;
    position: relative;
    transform: scale(0.85) translateY(40px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1), 0 0 60px rgba(243,156,18,0.1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.08);
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

html[dir="ltr"] .close-btn { left: auto; right: 18px; }

.close-btn:hover {
    background: var(--gold);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 900;
}

.modal-content > p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.6;
}

.contact-form {
    display: flex; flex-direction: column; gap: 12px;
}

.contact-form input, .contact-form textarea {
    width: 100%; padding: 14px 18px; border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08); background: rgba(0,0,0,0.02);
    font-family: 'Cairo', sans-serif; font-size: 0.95rem; font-weight: 600;
    color: var(--text-primary); outline: none; transition: all 0.3s ease;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: var(--text-muted); opacity: 0.7;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--gold); background: #ffffff;
    box-shadow: 0 0 0 4px rgba(243,156,18,0.1);
}

.contact-form textarea { resize: vertical; min-height: 100px; }

.submit-btn {
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: var(--white); border: none; padding: 16px; border-radius: 14px;
    font-family: 'Cairo', sans-serif; font-weight: 900; font-size: 1rem;
    cursor: pointer; transition: all 0.3s ease; margin-top: 4px;
    box-shadow: 0 4px 15px rgba(243,156,18,0.25);
}

.submit-btn:hover {
    transform: translateY(-2px); box-shadow: 0 8px 25px rgba(243,156,18,0.4);
}

.modal-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1rem;
    margin-top: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37,211,102,0.25);
}

.modal-wa-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37,211,102,0.4);
}

/* =============================================
   LTR OVERRIDES
============================================= */
html[dir="ltr"] #performance { text-align: left; justify-content: flex-end; }
html[dir="ltr"] #durability { text-align: left; justify-content: flex-start; }
html[dir="ltr"] .supplies-progress { left: auto; right: 4%; }
html[dir="ltr"] .product-info p { border-inline-end: none; border-inline-start: 3px solid var(--gold); padding-inline-end: 0; padding-inline-start: 16px; }
html[dir="ltr"] .product-panel:nth-child(even) .product-info p { border-inline-start: none; border-inline-end: 3px solid var(--gold); padding-inline-start: 0; padding-inline-end: 16px; }
html[dir="ltr"] .branch-item { flex-direction: row-reverse; }
html[dir="ltr"] .branch-item:hover { transform: translateX(4px); }
html[dir="ltr"] .floating-btns { right: auto; left: 32px; }

/* HAMBURGER BUTTON */
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 6px; margin-inline-start: auto;
    background: none; border: none; flex-shrink: 0;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--text-primary); border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE DRAWER */
.mobile-menu {
    display: none; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 490; padding: 110px 28px 40px;
    flex-direction: column; align-items: center; gap: 10px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; display: flex; }
.mobile-menu a {
    font-size: 1.3rem; font-weight: 900; color: var(--text-primary);
    text-decoration: none; padding: 14px 28px; border-radius: 16px;
    width: 100%; text-align: center;
    border: 1px solid rgba(243,156,18,0.15);
    transition: all 0.2s ease;
}
.mobile-menu a:hover, .mobile-menu a:active {
    background: rgba(243,156,18,0.1); color: var(--gold-dark);
    border-color: rgba(243,156,18,0.3);
}
.mobile-menu a.mob-contact {
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: white !important; border-color: transparent; margin-top: 6px;
}
.mobile-menu .mobile-lang { margin-top: 16px; }
.mobile-menu .mobile-lang select {
    font-family: 'Cairo', sans-serif; padding: 10px 20px;
    border-radius: 20px; border: 1px solid rgba(243,156,18,0.3);
    font-size: 1rem; font-weight: 700;
    background: rgba(243,156,18,0.05); color: var(--text-primary); outline: none;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 992px) {
    nav { padding: 10px 20px; gap: 15px; }
    .nav-links { gap: 4px; }
    .nav-links a { font-size: 0.8rem; padding: 5px 9px; }
    .services-grid, .cards-container { grid-template-columns: 1fr 1fr; }
    
    /* تعديل استجابة شبكة الفروع */
    .branches-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
    .branch-item { width: calc(50% - 8px); }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .supplies-progress { flex-direction: row; left: 50%; top: auto; bottom: 16px; transform: translateX(-50%); gap: 10px; }
    html[dir="ltr"] .supplies-progress { right: auto; left: 50%; transform: translateX(-50%); }
    
    /* استجابة شريحة التوريدات */
    .supply-slide { 
        width: 95%; 
        flex-direction: column-reverse; 
        padding: 40px 30px; 
        text-align: center; 
        height: max-content; 
        justify-content: center; 
        gap: 30px; 
    }
    .slide-info { width: 100%; }
    .slide-img { width: 100%; }
}

@media (max-width: 768px) {
    /* cursor */
    body { cursor: auto; }
    .cursor { display: none; }
    /* nav */
    .navbar-wrapper { top: 10px; padding: 0 12px; }
    nav { padding: 10px 18px; border-radius: 20px; gap: 0; justify-content: space-between; flex-wrap: nowrap; }
    .nav-links { display: none; }
    .lang-switcher, .lang-icon-wrapper { display: none !important; }
    .nav-toggle { display: flex; }
    /* logo & hero */
    .main-logo { width: 160px; left: 0; }
    #hero { padding: 0 6%; }
    .hero-title { font-size: clamp(2.2rem, 9vw, 3.2rem); }
    .hero-desc { font-size: 0.98rem; max-width: 100%; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    /* standard sections */
    section.standard-sec { padding: 80px 6%; justify-content: center !important; text-align: center !important; min-height: 70vh; }
    /* supplies */
    #supplies { padding-top: 80px; height: auto; min-height: 100vh; }
    .supplies-header { height: auto; margin-bottom: 20px; padding: 0 4%; }
    .supplies-pin-container { height: auto; min-height: 65vh; }
    .supply-slide { width: 93%; padding: 30px 20px; position: absolute; }
    .slide-info h2 { font-size: 1.6rem; }
    .slide-img img { max-height: 180px; }
    /* products — stack */
    .product-panel, .product-panel:nth-child(even) { flex-direction: column; justify-content: center; padding: 80px 6% 40px; text-align: center; gap: 0; }
    .product-info { width: 100%; order: 2; gap: 10px; }
    .prod-num-display { font-size: 3rem; }
    .product-info h1 { font-size: 2.2rem; }
    .product-info p, .product-panel:nth-child(even) .product-info p { border: none !important; padding: 0 !important; font-size: 0.95rem; }
    .product-image-container { width: 100%; height: 44vh; order: 1; }
    .product-image-container::before { width: 220px; height: 220px; }
    .deco-1, .deco-2 { display: none; }
    .prod-dots { display: none; }
    .prod-corner-tl, .prod-corner-br { display: none; }
    .prod-counter { bottom: 16px; }
    /* grids */
    .services-grid, .cards-container { grid-template-columns: 1fr; gap: 14px; }
    
    /* تعديل استجابة شبكة الفروع للموبايل */
    .branches-grid { display: flex; flex-direction: column; gap: 14px; }
    .branch-item { width: 100%; }

    #services, #projects, #branches { padding: 80px 5%; }
    .services-header, .section-header-center { margin-bottom: 40px; }
    .service-card, .project-card { padding: 28px 22px; }
    /* footer */
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .mega-footer { padding: 50px 5% 24px; text-align: center; }
    .social-icons { justify-content: center; }
    .footer-col ul li a { justify-content: center; }
    /* floats */
    .floating-btns { bottom: 20px; right: 16px; }
    html[dir="ltr"] .floating-btns { left: 16px; right: auto; }
    /* modal */
    .modal-content { padding: 28px 20px; }
    .close-btn { top: 14px; left: 14px; }
    html[dir="ltr"] .close-btn { left: auto; right: 14px; }
}
@media (max-width: 400px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.7rem; }
}