/* ===== REMAK GROUP - Premium Red & Daylight Architectural Design System ===== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #ffffff;          /* Daylight main background */
    --primary-light: #f8fafc;    /* Slate-50 soft alternate surface */
    --primary-lighter: #ffffff;  /* Card surface */
    --red: #e63946;              /* Premium Crimson Scarlet */
    --red-dark: #c5283d;         /* Deep Crimson */
    --red-glow: rgba(230, 57, 70, 0.08);
    --text: #334155;             /* Slate-700 highly readable body text */
    --text-heading: #0f172a;     /* Slate-900 bold headings */
    --text-muted: #64748b;       /* Slate-500 secondary details */
    --border: rgba(230, 57, 70, 0.15); /* Crimson border highlight */
    --border-light: #e2e8f0;     /* Slate-200 clean border lines */
    --radius: 4px;               /* Geometric sharp architect corners */
    --radius-lg: 6px;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

html[dir="rtl"] {
    font-family: var(--font-ar);
}

html[dir="ltr"] {
    font-family: var(--font-en);
}

body {
    background: var(--primary);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

html[dir="rtl"] body {
    font-family: var(--font-ar);
}

html[dir="ltr"] body {
    font-family: var(--font-en);
}

::selection {
    background: var(--red);
    color: #fff;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Section Layouts --- */
.section {
    padding: 6.5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-tag {
    display: inline-block;
    border: 1px solid var(--red);
    color: var(--red);
    padding: 0.3rem 1.1rem;
    border-radius: var(--radius);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
    background: rgba(230, 57, 70, 0.04);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-inline-start: 1.2rem;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 0.2rem;
    bottom: 0.2rem;
    width: 4px;
    background: var(--red);
    border-radius: var(--radius);
}

html[dir="rtl"] .section-title::before {
    right: 0;
}

html[dir="ltr"] .section-title::before {
    left: 0;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

html[dir="rtl"] .btn {
    font-family: var(--font-ar);
}

html[dir="ltr"] .btn {
    font-family: var(--font-en);
}

.btn-primary {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.2);
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
}

.btn-outline:hover {
    background: var(--red);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.25);
}

.btn-sm {
    padding: 0.55rem 1.4rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1.1rem 2.6rem;
    font-size: 1.05rem;
}

/* --- Preloader --- */
.loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo-img {
    height: 95px;
    object-fit: contain;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px var(--red-glow));
    animation: pulse 2s infinite ease-in-out;
}

.loader-spinner {
    width: 60px;
    height: 2px;
    background: var(--border-light);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.loader-spinner::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--red);
    animation: loader-slide 1.5s infinite linear;
}

@keyframes loader-slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50% { transform: scale(1.04); opacity: 1; filter: drop-shadow(0 0 25px rgba(230, 57, 70, 0.25)); }
}

/* --- Header & Navbar --- */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1200px;
    z-index: 1000;
    padding: 0.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    top: 0.8rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
    border-color: rgba(230, 57, 70, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    display: block;
}

.navbar.scrolled .nav-logo {
    height: 44px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem; /* Increased gap to prevent cramped texts */
    margin: 0;
    padding: 0;
}

.nav-link {
    display: block;
    padding: 0.4rem 0.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
    position: relative;
    transition: var(--transition);
    line-height: 1.5;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--red);
    transition: var(--transition);
    transform-origin: center;
}

.nav-link:hover {
    color: var(--red);
}

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

.nav-link.active {
    color: var(--red);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-heading);
    background: transparent; /* Clean transparent style to match the background */
    transition: var(--transition);
    cursor: pointer;
    line-height: 1.2;
}

.lang-switch:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(230, 57, 70, 0.03);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 17px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-heading);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu Slide */
.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-light);
    padding: 6rem 1.8rem 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    overflow-y: auto;
}

html[dir="ltr"] .mobile-menu {
    right: auto;
    left: -100%;
    border-left: none;
    border-right: 1px solid var(--border-light);
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active {
    right: 0;
}

html[dir="ltr"] .mobile-menu.active {
    left: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mobile-nav-link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--text);
    border-radius: var(--radius);
    display: block;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--red);
    background: rgba(230, 57, 70, 0.05);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background: 
        radial-gradient(circle at 80% 20%, rgba(230, 57, 70, 0.04) 0%, transparent 60%),
        linear-gradient(rgba(15, 23, 42, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.012) 1px, transparent 1px),
        var(--primary);
    background-size: 100% 100%, 60px 60px, 60px 60px, 100% 100%;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, transparent 40%, var(--primary) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: start;
}


.hero-title {
    margin-bottom: 1.5rem;
}

.hero-title-line {
    display: block;
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.25;
    color: var(--text-heading);
    letter-spacing: -1px;
}

.hero-brand-name {
    background: linear-gradient(
        90deg, 
        var(--text-heading) 0%, 
        var(--text-heading) 35%, 
        #ff6b7a 45%, 
        #fff 50%, 
        #ff6b7a 55%, 
        var(--red) 65%, 
        var(--text-heading) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: brandShine 4s ease-in-out infinite;
    position: relative;
    display: inline-block;
}

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

.hero-brand-name::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--red), transparent);
    border-radius: 2px;
    animation: lineGlow 4s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.4; width: 40%; }
    50% { opacity: 1; width: 70%; }
}

.hero-title-sub {
    display: block;
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--red);
    margin-top: 0.4rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 2.8rem;
    max-width: 600px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 3.8rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-feature i {
    color: var(--red);
    font-size: 1.1rem;
}

/* ============================================================
   ANIMATED CONSTRUCTION HERO - Building + Crane Scene
   ============================================================ */

/* Hero 2-Column Layout */
.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 100%;
}

/* Blueprint Grid Background */
.blueprint-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(230,57,70,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230,57,70,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: blueprintFadeIn 2s ease forwards;
    opacity: 0;
    z-index: 0;
}

@keyframes blueprintFadeIn {
    to { opacity: 1; }
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--red);
    opacity: 0;
    animation: particleFloat 12s linear infinite;
}

.particle-1 {
    width: 6px; height: 6px;
    top: 20%; left: 10%;
    animation-delay: 0s;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.particle-2 {
    width: 8px; height: 8px;
    top: 60%; left: 85%;
    animation-delay: 2s;
}
.particle-3 {
    width: 5px; height: 5px;
    top: 40%; left: 50%;
    animation-delay: 4s;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.particle-4 {
    width: 4px; height: 4px;
    top: 75%; left: 30%;
    animation-delay: 6s;
}
.particle-5 {
    width: 7px; height: 7px;
    top: 15%; left: 70%;
    animation-delay: 8s;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.particle-6 {
    width: 5px; height: 5px;
    top: 85%; left: 60%;
    animation-delay: 10s;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) rotate(0deg); }
    10% { opacity: 0.4; }
    50% { opacity: 0.2; }
    90% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-120px) rotate(360deg); }
}

/* Hero Animation Wrapper */
.hero-animation-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.construction-svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(230, 57, 70, 0.06));
}

/* Ground Line Animation */
.ground-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 1.5s ease forwards 0.3s;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

/* Building Floors Rise Animation */
.building-floor {
    opacity: 0;
    transform-origin: bottom center;
    animation: floorRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.floor-1 { animation-delay: 0.8s; }
.floor-2 { animation-delay: 1.2s; }
.floor-3 { animation-delay: 1.6s; }
.floor-4 { animation-delay: 2.0s; }
.floor-5 { animation-delay: 2.4s; }
.floor-s1 { animation-delay: 1.0s; }
.floor-s2 { animation-delay: 1.5s; }
.floor-s3 { animation-delay: 2.0s; }

@keyframes floorRise {
    0% {
        opacity: 0;
        transform: translateY(30px) scaleY(0);
    }
    60% {
        transform: translateY(-3px) scaleY(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

/* Windows Light Up */
.window {
    opacity: 0;
    animation: windowGlow 0.4s ease forwards;
}

.w-1 { animation-delay: 1.8s; }
.w-2 { animation-delay: 2.0s; }
.w-3 { animation-delay: 1.9s; }
.w-4 { animation-delay: 2.3s; }
.w-5 { animation-delay: 2.5s; }
.w-6 { animation-delay: 2.4s; }
.w-7 { animation-delay: 2.7s; }
.w-8 { animation-delay: 2.9s; }
.w-9 { animation-delay: 2.8s; }

@keyframes windowGlow {
    0% { opacity: 0; }
    50% { opacity: 0.3; fill: rgba(230, 57, 70, 0.3); }
    100% { opacity: 1; fill: rgba(230, 57, 70, 0.15); }
}

/* Window Blinking (after initial glow) */
.window {
    animation: windowGlow 0.4s ease forwards, windowBlink 5s ease-in-out infinite 3.5s;
}

@keyframes windowBlink {
    0%, 100% { fill: rgba(230, 57, 70, 0.15); }
    25% { fill: rgba(230, 57, 70, 0.35); }
    50% { fill: rgba(230, 57, 70, 0.1); }
    75% { fill: rgba(230, 57, 70, 0.3); }
}

/* Crane Animation */
.crane {
    opacity: 0;
    animation: craneAppear 1s ease forwards 2.5s;
}

@keyframes craneAppear {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Crane Mast Builds Up */
.crane-mast {
    stroke-dasharray: 370;
    stroke-dashoffset: 370;
    animation: drawLine 1.2s ease forwards 2.5s;
}

/* Crane Jib Extends */
.crane-jib {
    stroke-dasharray: 230;
    stroke-dashoffset: 230;
    animation: drawLine 0.8s ease forwards 3.2s;
}

/* Crane Cable Swinging */
.crane-cable-group {
    animation: cableSwing 4s ease-in-out infinite 3.8s;
    transform-origin: 300px 60px;
}

@keyframes cableSwing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(3deg); }
    75% { transform: rotate(-3deg); }
}

/* Crane Support Triangle */
.crane-support {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawLine 0.5s ease forwards 3.5s;
}

/* Sparkles */
.sparkle {
    opacity: 0;
    animation: sparkleAnim 2s ease-in-out infinite;
}

.sp-1 { animation-delay: 2.5s; }
.sp-2 { animation-delay: 3.5s; }
.sp-3 { animation-delay: 4.0s; }

@keyframes sparkleAnim {
    0%, 100% { opacity: 0; r: 1; }
    50% { opacity: 1; r: 3; }
}

.sp-4 { animation-delay: 4.5s; }
.sp-5 { animation-delay: 5.0s; }

/* Measurement Lines */
.measurements {
    opacity: 0;
    animation: fadeInDelay 0.5s ease forwards 3s;
}

@keyframes fadeInDelay {
    to { opacity: 1; }
}

/* ===== ROTATING ENGINEERING COMPASS ===== */
.eng-compass {
    opacity: 0;
    animation: fadeInDelay 0.8s ease forwards 3.5s;
}

.compass-needle {
    animation: compassSpin 15s linear infinite;
    transform-origin: center center;
}

@keyframes compassSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== SPINNING GEAR ===== */
.eng-gear {
    opacity: 0;
    animation: fadeInDelay 0.8s ease forwards 3.8s;
}

.gear-teeth {
    animation: gearSpin 10s linear infinite;
    transform-origin: center center;
}

@keyframes gearSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* ===== BUILDING GLOW PULSE ===== */
.building-glow {
    opacity: 0;
    animation: glowPulse 4s ease-in-out infinite 3s;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0; stroke-width: 6; }
    50% { opacity: 0.6; stroke-width: 10; }
}

/* ===== ANTENNA BEACON ===== */
.building-antenna {
    stroke-dasharray: 25;
    stroke-dashoffset: 25;
    animation: drawLine 0.4s ease forwards 2.8s;
}

/* ===== LIFTING BLOCK FLOAT ===== */
.lifting-block {
    animation: blockFloat 4s ease-in-out infinite 4s;
}

@keyframes blockFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== SUPPORT CABLES ===== */
.support-cable {
    stroke-dasharray: 250;
    stroke-dashoffset: 250;
    animation: drawLine 1s ease forwards 3.5s;
}

/* ===== CRANE TROLLEY PATH ===== */
.crane-trolley {
    opacity: 0;
    animation: fadeInDelay 0.3s ease forwards 3.5s;
}

.crane-base {
    opacity: 0;
    animation: fadeInDelay 0.5s ease forwards 2.5s;
}

/* ===== PROGRESS INDICATOR ===== */
.progress-indicator {
    opacity: 0;
    animation: fadeInDelay 0.5s ease forwards 4s;
}

/* ===== EXTRA PARTICLES ===== */
.particle-7 {
    width: 4px; height: 4px;
    top: 50%; left: 20%;
    animation-delay: 3s;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.particle-8 {
    width: 6px; height: 6px;
    top: 30%; left: 90%;
    animation-delay: 7s;
}

/* ===== GROUND LINE DELAY ===== */
.gl-2 {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 2s ease forwards 0.5s;
}

/* ===== FLOATING CLOUD ===== */
.floating-cloud {
    animation: cloudDrift 25s linear infinite;
    opacity: 0;
}

@keyframes cloudDrift {
    0% { transform: translate(-60px, 40px); opacity: 0; }
    5% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translate(550px, 30px); opacity: 0; }
}

/* ===== CONSTRUCTION TRUCK ===== */
.construction-truck {
    animation: truckDrive 12s linear infinite 4s;
    opacity: 0;
}

@keyframes truckDrive {
    0% { transform: translate(-80px, 440px); opacity: 0; }
    5% { opacity: 0.7; }
    85% { opacity: 0.7; }
    100% { transform: translate(530px, 440px); opacity: 0; }
}

/* ===== SCAFFOLDING ===== */
.scaffolding {
    opacity: 0;
    animation: fadeInDelay 1s ease forwards 2s;
}

/* ===== WORKERS ===== */
.workers {
    opacity: 0;
    animation: fadeInDelay 1s ease forwards 3s;
}

.worker-1 { animation: workerAppear 0.6s ease forwards 3.2s; opacity: 0; }
.worker-2 { animation: workerAppear 0.6s ease forwards 3.5s; opacity: 0; }
.worker-3 { animation: workerAppear 0.6s ease forwards 3.8s; opacity: 0; }

@keyframes workerAppear {
    0% { opacity: 0; transform: translateY(5px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ===== WELDING SPARKS ===== */
.welding-sparks {
    opacity: 0;
    animation: fadeInDelay 0.3s ease forwards 3.5s;
}

.wspark {
    animation: sparkBurst 1.2s ease-in-out infinite;
    transform-origin: 0 0;
}

.ws-1 { animation-delay: 0s; }
.ws-2 { animation-delay: 0.2s; }
.ws-3 { animation-delay: 0.4s; }
.ws-4 { animation-delay: 0.6s; }
.ws-5 { animation-delay: 0.1s; }

@keyframes sparkBurst {
    0% { opacity: 0; transform: scale(0); }
    30% { opacity: 0.8; transform: scale(1.2); }
    60% { opacity: 0.4; transform: scale(0.8); }
    100% { opacity: 0; transform: scale(0); }
}

/* ===== RADAR SWEEP ===== */
.radar-sweep {
    animation: fadeInDelay 1s ease forwards 2s;
    opacity: 0;
}

.radar-line {
    transform-origin: 260px 260px;
    animation: radarSpin 8s linear infinite;
}

@keyframes radarSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator a {
    color: var(--text-muted);
    font-size: 1.4rem;
    transition: var(--transition);
}

.hero-scroll-indicator a:hover {
    color: var(--red);
}

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


/* --- About Section --- */
.about-section {
    background: var(--primary-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border: 1px solid var(--border-light);
    padding: 0.8rem;
    background: var(--primary-lighter);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -8px; right: -8px;
    width: 40px; height: 40px;
    border-top: 2px solid var(--red);
    border-right: 2px solid var(--red);
    pointer-events: none;
}

html[dir="ltr"] .about-image-wrapper::before {
    right: auto;
    left: -8px;
    border-right: none;
    border-left: 2px solid var(--red);
}

.about-image-wrapper img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-heading {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 1.4rem;
    line-height: 1.4;
}

.about-description {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-value-card {
    background: var(--primary-lighter);
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.about-value-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.about-value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.05);
    border: 1px solid var(--border);
    color: var(--red);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.about-value-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
}

.about-value-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Stats Section --- */
.stats-section {
    padding: 5rem 0;
    background: var(--primary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    border-inline-end: 1px solid var(--border-light);
}

.stat-item:last-child {
    border-inline-end: none;
}

.stat-number {
    font-size: 3.4rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: inherit;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Services Section --- */
.services-section {
    background: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--primary-light);
    border: 1px solid var(--border-light);
    padding: 2.2rem 1.8rem;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 3px; height: 0;
    background: var(--red);
    transition: var(--transition);
}

html[dir="rtl"] .service-card::before {
    left: auto;
    right: 0;
}

.service-card:hover {
    border-color: var(--border);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 1.35rem;
    margin-bottom: 1.4rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(230, 57, 70, 0.08);
    border-color: var(--red);
    color: var(--red);
}

.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.8rem;
}

.service-desc {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.6;
}

/* --- Special Section (Tabs) --- */
.special-section {
    background: var(--primary-light);
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

html[dir="rtl"] .tab-btn {
    font-family: var(--font-ar);
}

html[dir="ltr"] .tab-btn {
    font-family: var(--font-en);
}

.tab-btn.active {
    color: var(--red);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: var(--transition);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.tab-pane.active {
    display: block;
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.special-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.special-feature-item {
    display: flex;
    align-items: start;
    gap: 1.1rem;
    background: var(--primary-lighter);
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.special-feature-item i {
    color: var(--red);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.special-feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
}

.special-feature-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Timeline */
.steps-wrapper {
    position: relative;
    padding-inline-start: 2rem;
}

.steps-wrapper::before {
    content: '';
    position: absolute;
    top: 0.4rem; bottom: 0.4rem;
    width: 1px;
    background: var(--border-light);
}

html[dir="rtl"] .steps-wrapper::before {
    right: 0;
}
html[dir="ltr"] .steps-wrapper::before {
    left: 0;
}

.step-card {
    position: relative;
    margin-bottom: 2.2rem;
}

.step-card:last-child {
    margin-bottom: 0;
}

.step-badge {
    position: absolute;
    top: 0.2rem;
    width: 14px;
    height: 14px;
    background: var(--primary-light);
    border: 2px solid var(--red);
    border-radius: 50%;
    z-index: 2;
}

html[dir="rtl"] .step-badge {
    right: -39px;
}
html[dir="ltr"] .step-badge {
    left: -39px;
}

.step-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.6;
}

/* --- Projects Section --- */
.projects-section {
    background: var(--primary);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.filter-btn {
    padding: 0.45rem 1.3rem;
    border: 1px solid var(--border-light);
    background: rgba(15, 23, 42, 0.02);
    color: var(--text-heading);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

html[dir="rtl"] .filter-btn {
    font-family: var(--font-ar);
}

html[dir="ltr"] .filter-btn {
    font-family: var(--font-en);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border-light);
    background: var(--primary-light);
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.1) 75%);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.project-location {
    font-size: 0.88rem;
    color: #e2e8f0;
}

.project-location i {
    color: var(--red);
    margin-inline-end: 0.3rem;
}

.project-card.hidden {
    display: none;
}

/* --- Partners Section --- */
.partners-section {
    background: var(--primary-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 4rem 0;
}

.partners-slider {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.65;
}

.partner-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: 2px;
    font-family: var(--font-en);
}

/* --- Testimonials --- */
.testimonials-section {
    background: var(--primary);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 3rem;
    background: var(--primary-light);
    border: 1px solid var(--border-light);
    text-align: center;
    position: relative;
}

.testimonial-quote-icon {
    font-size: 2.2rem;
    color: rgba(230, 57, 70, 0.15);
    margin-bottom: 1.2rem;
}

.testimonial-text {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1.8rem;
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 1.4rem;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    text-align: start;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: start;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.8rem;
}

.testimonial-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border-light);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--red);
    width: 24px;
    border-radius: 5px;
}

/* --- News & Articles --- */
.news-section {
    background: var(--primary-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-card {
    background: var(--primary-lighter);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.news-card:hover {
    border-color: var(--border);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.news-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-tag {
    position: absolute;
    top: 1rem;
    background: var(--red);
    color: #fff;
    padding: 0.25rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
}

html[dir="rtl"] .news-tag {
    left: 1rem;
}
html[dir="ltr"] .news-tag {
    right: 1rem;
}

.news-content {
    padding: 1.6rem;
}

.news-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
}

.news-date i {
    margin-inline-end: 0.3rem;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--red);
    font-size: 0.9rem;
}

.news-link:hover {
    color: var(--text-heading);
}

.news-link-item:hover {
    border-color: var(--red) !important;
    color: var(--red) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.08);
}

/* --- FAQ --- */
.faq-section {
    background: var(--primary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 0;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover h3 {
    color: var(--red);
}

.faq-question h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    transition: var(--transition);
}

.faq-question i {
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    padding-bottom: 1.4rem;
}

/* --- Contact & Forms --- */
.contact-section {
    background: var(--primary-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-card {
    background: var(--primary-lighter);
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 1.8rem;
}

.contact-item {
    display: flex;
    gap: 1.1rem;
    margin-bottom: 1.8rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.05);
    border: 1px solid var(--border);
    color: var(--red);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.3rem;
}

.contact-text p, .contact-text a {
    font-size: 0.92rem;
    color: var(--text);
}

.contact-text a:hover {
    color: var(--red);
}

.contact-social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 2.2rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1.8rem;
}

.social-link {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    transform: translateY(-3px);
}

/* Forms */
.form-wrapper {
    background: var(--primary-lighter);
    border: 1px solid var(--border-light);
    padding: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.form-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background: var(--primary-light);
    border: 1px solid var(--border-light);
    padding: 0.8rem 1.1rem;
    color: var(--text-heading);
    font-size: 0.95rem;
    transition: var(--transition);
}

html[dir="rtl"] .form-input {
    font-family: var(--font-ar);
}

html[dir="ltr"] .form-input {
    font-family: var(--font-en);
}

.form-input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.1);
}

.form-textarea {
    resize: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

/* Map - Clean for Light Mode */
.map-container {
    margin-top: 3.5rem;
    border: 1px solid var(--border-light);
    padding: 0.4rem;
    background: var(--primary-light);
}

.map-container iframe {
    filter: none; /* Removed dark mode filter for daylight view */
}

/* --- Modals --- */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--primary-lighter);
    border: 1px solid var(--border-light);
    max-width: 600px;
    width: 90%;
    padding: 3rem;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

html[dir="rtl"] .modal-close {
    left: 1.2rem;
}
html[dir="ltr"] .modal-close {
    right: 1.2rem;
}

.modal-close:hover {
    color: var(--red);
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border: 1px solid var(--border-light);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- Footer --- */
.footer {
    background: var(--primary-light);
    padding: 5rem 0 2.5rem;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.footer-logo {
    height: 65px;
    object-fit: contain;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.footer-desc {
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1.6rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 35px;
    height: 1px;
    background: var(--red);
}

html[dir="rtl"] .footer-title::after {
    right: 0;
}
html[dir="ltr"] .footer-title::after {
    left: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.92rem;
    color: var(--text);
}

.footer-links a:hover {
    color: var(--red);
    padding-inline-start: 0.35rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.92rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.footer-contact li i {
    color: var(--red);
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Floating Elements */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    width: 52px;
    height: 52px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    animation: whatsapp-pulse 2s infinite;
}

html[dir="rtl"] .whatsapp-btn {
    right: 2rem;
}
html[dir="ltr"] .whatsapp-btn {
    left: 2rem;
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    width: 46px;
    height: 46px;
    background: var(--primary-lighter);
    border: 1px solid var(--border-light);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    border-color: var(--red);
    color: var(--red);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MISSING CLASSES - Hero Features Strip ===== */
.hero-features-strip {
    background: var(--primary-lighter, #fff);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 2.5rem 0;
    position: relative;
    z-index: 3;
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    text-align: center;
    justify-content: center;
    border-inline-end: 1px solid var(--border-light);
}

.hero-feature-item:last-child {
    border-inline-end: none;
}

.h-feat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.06);
    border: 1px solid var(--border);
    color: var(--red);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.h-feat-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
}

/* ===== About Section Layout ===== */
.about-image-column,
.about-text-column {
    width: 100%;
}

.about-mission-vision {
    margin-top: 2rem;
}

.m-v-box {
    background: var(--primary-lighter, #fff);
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.m-v-box:hover {
    border-color: var(--border);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.m-v-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
}

.m-v-box p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ===== Button Additions ===== */
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.nav-cta-btn {
    font-size: 0.88rem;
    padding: 0.55rem 1.4rem;
    white-space: nowrap;
}

.consultation-trigger {
    /* Marker class for scroll triggers */
}

/* ===== Contact Section Layout ===== */
.contact-left-col {
    width: 100%;
}

.contact-form {
    /* Form element wrapper */
}

/* ===== Footer Section Layout ===== */
.footer-section {
    width: 100%;
}

.footer-description {
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ===== Tab Section Layout ===== */
.tab-text-info {
    width: 100%;
}

.steps-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 2rem;
    position: relative;
    padding-inline-start: 1rem;
}

.steps-title::before {
    content: '';
    position: absolute;
    top: 0.15rem;
    bottom: 0.15rem;
    width: 3px;
    background: var(--red);
}

html[dir="rtl"] .steps-title::before {
    right: 0;
}
html[dir="ltr"] .steps-title::before {
    left: 0;
}

.reconcile-goal-box {
    background: rgba(230, 57, 70, 0.03);
    border: 1px solid var(--border);
    padding: 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.reconcile-goal-box i {
    color: var(--red);
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

.reconcile-goal-box p {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

/* ===== News Section Additions ===== */
.news-intro {
    /* Styled via inline — overriding to ensure consistency */
}

.news-links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.additional-news-links {
    margin-top: 4rem;
    text-align: center;
    padding: 2.5rem;
    background: var(--primary-lighter, #fff);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

/* ===== Map ===== */
.map-wrapper {
    margin-top: 4rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    height: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== Mobile Menu Inner ===== */
.mobile-menu-inner {
    padding: 0;
}

/* ===== Text Utilities ===== */
.text-center {
    text-align: center;
}


/* ============================================================
   MOBILE RESPONSIVENESS AND PROFESSIONAL OPTIMIZATIONS
   ============================================================ */
@media (max-width: 1024px) {
    .about-grid, .tab-content-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-title-line {
        font-size: 3rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item {
        border-inline-end: none;
        padding: 1.2rem 0;
    }
    .stat-item:nth-child(2n) {
        border-inline-start: none;
    }
    .hero-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-feature-item {
        border-inline-end: none;
    }
    .nav-cta-btn {
        display: none;
    }
    .hero-layout {
        grid-template-columns: 1fr 0.9fr;
        gap: 2rem;
    }
    .construction-svg {
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4.5rem 0;
    }
    .section-header {
        margin-bottom: 3rem;
    }
    .nav-links {
        display: none;
    }
    .nav-actions {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu {
        display: block;
    }
    .hero-cta .btn {
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
    }
    .hero-cta .btn i {
        font-size: 0.85rem;
    }
    .hero-title-line {
        font-size: 2.4rem;
    }
    .hero-title-sub {
        font-size: 1.2rem;
    }
    .hero-layout {
        grid-template-columns: 1fr;
        position: relative;
        min-height: 70vh;
        text-align: center;
    }
    .hero-content {
        order: 2;
        position: relative;
        z-index: 3;
    }
    .hero-animation-wrapper {
        order: 1;
        position: absolute;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        z-index: 1;
        opacity: 0.18;
        pointer-events: none;
    }
    .construction-svg {
        max-width: 420px;
        margin: 0 auto;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-subtitle {
        margin-inline: auto;
    }
    .navbar {
        top: 0.8rem;
        width: 92%;
        padding: 0.5rem 1.2rem;
    }
    .navbar.scrolled {
        top: 0.4rem;
    }
    .nav-logo {
        height: 38px;
    }
    .navbar.scrolled .nav-logo {
        height: 34px;
    }
    
    .tab-nav {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        padding-bottom: 0.8rem;
        border-bottom: 1px solid var(--border-light);
    }
    .tab-nav::-webkit-scrollbar {
        display: none;
    }
    .tab-btn {
        font-size: 1.05rem;
        padding: 0.4rem 1rem;
    }
    .tab-btn::after {
        bottom: -14px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        border: 1px solid var(--border-light);
    }
    .stat-item {
        border: 1px solid var(--border-light) !important;
        padding: 1.8rem 1rem;
    }
    .stat-number {
        font-size: 2.8rem;
    }
    .stat-label {
        font-size: 0.85rem;
    }

    .hero-title-line {
        font-size: 2.4rem;
        line-height: 1.3;
    }
    .hero-title-sub {
        font-size: 1.35rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2.2rem;
    }
    
    .projects-grid, .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-wrapper, .modal-content {
        padding: 2.2rem 1.6rem;
    }
    
    .testimonial-card {
        padding: 2.2rem 1.5rem;
    }
    .testimonial-text {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    .about-image-wrapper img {
        height: 300px;
    }
    .section-title {
        font-size: 2.1rem;
    }
    .hero-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    .hero-feature-item {
        border: 1px solid var(--border-light);
        padding: 1.2rem;
    }
    .h-feat-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .h-feat-text h4 {
        font-size: 0.85rem;
    }
    .map-wrapper {
        height: 250px;
        margin-top: 2rem;
    }
    .additional-news-links {
        padding: 1.5rem;
    }
}

/* ============================================================
   CONTACT SECTION — Premium Form Redesign
   ============================================================ */

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Left Column */
.contact-left-col {
    position: sticky;
    top: 120px;
}

.contact-info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.contact-info-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--red);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.contact-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 42px;
    height: 42px;
    background: rgba(230, 57, 70, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--red);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--red);
    color: #fff;
}

.contact-text h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--heading);
}

.contact-text a {
    color: var(--heading);
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--red);
}

/* Phone Number LTR Fix */
.phone-number {
    direction: ltr;
    unicode-bidi: embed;
    text-align: start;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.03em;
}

/* Contact Social Links */
.contact-social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(230, 57, 70, 0.06);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 1rem;
}

.social-link:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    transform: translateY(-2px);
}

/* Form Wrapper — Premium Card */
.form-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2.8rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), #ff6b7a, var(--red));
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 2.2rem;
}

.form-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(230,57,70,0.1), rgba(230,57,70,0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
    color: var(--red);
}

.form-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 0.4rem;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 0.5rem;
}

.form-group label i {
    color: var(--red);
    font-size: 0.8rem;
    opacity: 0.7;
}

.required {
    color: var(--red);
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    background: var(--primary-light);
    color: var(--heading);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

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

[dir="ltr"] .form-group select,
html:not([dir="rtl"]) .form-group select {
    background-position: right 12px center;
    padding-right: 2rem;
    padding-left: 1rem;
}

/* Submit Button */
.btn-submit-form {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-submit-form i {
    font-size: 1.2rem;
}

/* Form Disclaimer */
.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.form-disclaimer i {
    font-size: 0.7rem;
    color: var(--green, #10b981);
}

/* Language Switch compact */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.lang-switch:hover {
    border-color: var(--red);
    color: var(--red);
}

.lang-switch i {
    font-size: 0.85rem;
}

/* Contact Section Mobile */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-left-col {
        position: static;
    }
    .form-wrapper {
        padding: 2rem 1.4rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-info-card {
        padding: 1.8rem;
    }
}

/* ============================================================
   FOOTER SIGNATURE
   ============================================================ */
.footer-signature {
    font-size: 0.75rem;
    opacity: 0.45;
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
    color: inherit;
}

/* ============================================================
   PRINT PROTECTION
   ============================================================ */
@media print {
    body {
        display: none !important;
    }
    html::after {
        content: '⛔ محتوى محمي — لا يمكن طباعته | Protected Content — Cannot be printed';
        display: block;
        text-align: center;
        padding: 5rem;
        font-size: 1.5rem;
        color: #e63946;
    }
}
