/* ==========================================================================
   SICHA MARKETING AGENCY — CORE STYLESHEET WITH UNIFIED RAILWAY TRACK SECTIONS
   ========================================================================== */

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

@font-face {
    font-family: 'Nebula';
    src: url('fonts/Nebula-Regular.otf') format('opentype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Nebula Hollow';
    src: url('fonts/Nebula-Hollow.otf') format('opentype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'KO Ghorab';
    src: local('KO Ghorab'),
         local('KOGhorab'),
         local('KO-Ghorab'),
         url('fonts/KO Ghorab.otf') format('opentype'),
         url('fonts/KO Ghorab.ttf') format('truetype'),
         url('fonts/KO-Ghorab.otf') format('opentype'),
         url('fonts/KO-Ghorab.ttf') format('truetype'),
         url('fonts/KOGhorab.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Tajarib Typeface';
    src: local('Tajarib Typeface'),
         local('TajaribTypeface'),
         local('Tajarib-Typeface'),
         local('Tajarib'),
         url('fonts/Tajarib Typeface.otf') format('opentype'),
         url('fonts/Tajarib Typeface.ttf') format('truetype'),
         url('fonts/Tajarib.otf') format('opentype'),
         url('fonts/Tajarib.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-dark-gray: #393939;
    --color-black: #000000;
    --color-medium-gray: #A1A09E;
    --color-light-gray: #D3D3D3;
    --color-white: #FFFFFF;
    --color-steel-blue: #5E85A6;
    --color-light-blue: #5792C7;
    --color-lime-green: #B5F600;
    --color-lime-yellow: #DEFA09;

    --bg-page: #F8F8F8;
    --bg-surface: var(--color-white);
    --border-subtle: var(--color-light-gray);
    --text-primary: var(--color-dark-gray);
    --text-muted: var(--color-medium-gray);
    --accent-primary: var(--color-lime-green);
    --accent-cool: var(--color-steel-blue);

    --font-heading: 'KO Ghorab', 'Nebula', 'Cairo', system-ui, sans-serif;
    --font-body: 'Tajarib Typeface', 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

::selection {
    background-color: var(--color-lime-green);
    color: var(--color-black);
}

h1, h2, h3, h4, h5, h6,
.section-title,
.card-title,
.step-title,
.flow-title,
.footer-title,
.menu-links a,
.roadmap-header h2 {
    font-family: var(--font-heading);
    color: var(--color-dark-gray);
}

.hero-title,
.hero-title span,
.h1-logo,
.h1-logo span {
    font-family: 'Nebula', sans-serif !important;
}

p, span, a, button, input, select, textarea, label,
.hero-subtitle,
.section-desc,
.card-subtitle,
.card-text,
.step-desc,
.flow-desc,
.footer-slogan,
.footer-desc,
.section-tag {
    font-family: var(--font-body);
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-dark-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.6s ease;
}

.logo-spinner {
    width: 100px;
    height: auto;
    animation: spinPulse 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    filter: drop-shadow(0 0 15px rgba(181, 246, 0, 0.35));
}

@keyframes spinPulse {
    0% { transform: rotate(0deg) scale(0.9); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(0.9); }
}

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

/* Hero Section */
.hero-wrapper {
    position: relative;
    background-color: var(--color-black);
    color: var(--color-white);
    width: 100%;
    min-height: 100vh;
    padding-bottom: 70px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-lime-green), transparent);
    opacity: 0.6;
    z-index: 5;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.6) contrast(1.18) saturate(1.1);
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%),
                linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(57, 57, 57, 0.3) 45%, rgba(0, 0, 0, 0.95) 100%);
    pointer-events: none;
}

.hero-grid-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    background-color: transparent;
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.85s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.85s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body.hero-ready header {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

.logo-img {
    width: 48px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.logo-img:hover {
    transform: scale(1.15) rotate(-5deg);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.lang-btn {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: var(--color-white);
    border-radius: 30px;
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.35s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    background-color: var(--color-lime-green);
    border-color: var(--color-lime-green);
    color: var(--color-black);
    box-shadow: 0 0 20px rgba(181, 246, 0, 0.5);
    transform: translateY(-2px);
}

.menu-btn {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-white);
    transition: all 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-btn:hover {
    transform: rotate(180deg) scale(1.08);
    background-color: var(--color-lime-green);
    border-color: var(--color-lime-green);
    color: var(--color-black);
    box-shadow: 0 0 20px rgba(181, 246, 0, 0.5);
}

.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
    padding-right: 10%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(15px);
}

.overlay-menu.active {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    position: absolute;
    top: 40px;
    right: 6%;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
    transition: transform 0.3s ease, color 0.3s ease;
}

html[dir="rtl"] .close-btn {
    right: auto;
    left: 6%;
}

.close-btn:hover {
    transform: scale(1.2) rotate(90deg);
    color: var(--color-lime-green);
}

.menu-links a {
    display: block;
    font-size: 54px;
    font-weight: 800;
    color: var(--color-white);
    text-decoration: none;
    line-height: 1.3;
    transition: transform 0.3s ease, color 0.3s ease;
    width: max-content;
    margin-bottom: 12px;
}

.menu-links a:hover {
    transform: translateX(20px);
    color: var(--color-lime-green);
}

html[dir="rtl"] .menu-links a:hover {
    transform: translateX(-20px);
}

/* Hero Main */
.main-sec {
    position: relative;
    z-index: 10;
    padding: 70px 5% 40px 5%;
    text-align: center;
    max-width: 1050px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Nebula', sans-serif !important;
    font-size: 110px;
    font-weight: 900;
    letter-spacing: 14px;
    margin-bottom: 22px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    color: var(--color-white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 0 60px rgba(181, 246, 0, 0.2);
}

.hero-title span {
    font-family: 'Nebula', sans-serif !important;
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) scale(0.6) rotateX(-90deg);
}

body.hero-ready .hero-title span {
    animation: letterReveal 0.85s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation-delay: calc(var(--i) * 0.14s + 1.85s);
}

@keyframes letterReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.6) rotateX(-90deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

.hero-subtitle {
    font-size: 17px;
    font-weight: 500;
    color: var(--color-light-gray);
    opacity: 0;
    transform: translateY(22px);
    margin-bottom: 18px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
    transition: opacity 0.85s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.85s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-subtitle:first-of-type {
    font-weight: 800;
    color: var(--color-lime-green);
    letter-spacing: 1.5px;
    font-size: 19px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 0 20px rgba(181, 246, 0, 0.4);
}

body.hero-ready .hero-subtitle:nth-of-type(1) {
    opacity: 0.98;
    transform: translateY(0);
    transition-delay: 2.85s;
}

body.hero-ready .hero-subtitle:nth-of-type(2) {
    opacity: 0.9;
    transform: translateY(0);
    transition-delay: 3.2s;
}

body.hero-ready .hero-subtitle:nth-of-type(3) {
    opacity: 0.85;
    transform: translateY(0);
    transition-delay: 3.55s;
}

.hero-btn {
    opacity: 0;
    transform: translateY(25px);
    margin-top: 25px;
    transition: opacity 0.85s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.85s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body.hero-ready .hero-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 3.9s;
}

.wo-btn, .send-btn {
    font-size: 16px;
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    color: var(--color-white);
    border: 1.5px solid var(--color-white);
    padding: 15px 38px;
    border-radius: 40px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.wo-btn:hover {
    background-color: var(--color-lime-green);
    color: var(--color-black);
    border-color: var(--color-lime-green);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 14px 32px rgba(181, 246, 0, 0.45);
}

.scr {
    position: relative;
    z-index: 10;
    width: 100%;
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 5%;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.9s ease,
                transform 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body.hero-ready .scr {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 4.25s;
}

.sscont {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 0;
}

.sscont::-webkit-scrollbar {
    display: none;
}

.card {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.card:hover {
    opacity: 1;
    transform: scale(1.08);
}

.scr-arrow {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.scr-arrow:hover {
    background-color: var(--color-lime-green);
    border-color: var(--color-lime-green);
    color: var(--color-black);
    box-shadow: 0 0 18px rgba(181, 246, 0, 0.45);
}

/* Continuous Smooth Scroll Expansion */
.sicha-about-wrapper {
    margin-bottom: 110px;
    width: 100%;
}

.sicha-track-container {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 28px;
    padding: 40px 5%;
    box-shadow: 0 12px 35px rgba(57, 57, 57, 0.05);
    overflow: visible;
}

.sicha-visual-track {
    --scroll-progress: 0;
    
    width: calc(100% + (100vw - 100%) * var(--scroll-progress));
    margin-left: calc(-1 * (100vw - 100%) * 0.5 * var(--scroll-progress));
    margin-right: calc(-1 * (100vw - 100%) * 0.5 * var(--scroll-progress));
    
    height: 110px;
    margin-top: 0;
    margin-bottom: 35px;
    position: relative;
    background: rgba(94, 133, 166, calc(0.03 + 0.03 * var(--scroll-progress)));
    border-radius: calc(16px * (1 - var(--scroll-progress)));
    padding: 10px 0;
    border: 1px dashed rgba(94, 133, 166, 0.2);
    display: flex;
    align-items: center;
    will-change: width, margin-left, margin-right, border-radius;
}

.railway-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.rail-line {
    stroke: var(--color-steel-blue);
    stroke-width: 4;
    stroke-linecap: round;
    opacity: 0.8;
}

.rail-ties {
    stroke: var(--color-dark-gray);
    stroke-width: 60;
    stroke-dasharray: 4 14;
    opacity: 0.25;
}

.train-pulse {
    stroke: var(--color-lime-green);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 120 880;
    filter: drop-shadow(0 0 8px var(--color-lime-green));
    animation: moveTrain 4s linear infinite;
}

.pulse-bottom {
    animation-delay: 0.5s;
    stroke: var(--color-light-blue);
    filter: drop-shadow(0 0 8px var(--color-light-blue));
}

@keyframes moveTrain {
    0% { stroke-dashoffset: 1000; }
    100% { stroke-dashoffset: -1000; }
}

.track-node {
    fill: var(--color-lime-green);
    stroke: var(--color-dark-gray);
    stroke-width: 2;
    animation: nodePulse 2s infinite alternate;
}

@keyframes nodePulse {
    0% { r: 4; fill: var(--color-lime-green); }
    100% { r: 7; fill: var(--color-lime-yellow); }
}

.sicha-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.sicha-info-block {
    margin-bottom: 0 !important;
}

/* Services Section Sticky */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 95px 5%;
}

.roadmap-section, .work-section, .Contact-sec {
    margin-bottom: 110px;
}

.Services-sec {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background-color: var(--color-black);
    color: var(--color-white);
    margin-bottom: 120px;
}

.services-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 5% 40px 5%;
}

.services-header .section-title {
    color: var(--color-white);
}

.services-header .section-desc {
    color: var(--color-light-gray);
}

.services-sticky-container {
    position: relative;
    height: 500vh;
    width: 100%;
}

.services-sticky-viewport {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    overflow: hidden;
    background-color: var(--color-black);
}

.services-image-panel {
    flex: 0 0 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-bg-image.active {
    opacity: 1;
    transform: scale(1);
}

.services-info-panel {
    flex: 0 0 50%;
    height: 100%;
    padding: 0 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 1) 100%);
}

.service-content-item {
    position: absolute;
    top: 50%;
    left: 8%;
    right: 8%;
    transform: translateY(-40%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.7s ease;
}

.service-content-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%);
}

.service-meta-tag {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-lime-green);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.service-item-title {
    font-size: 52px;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.service-item-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-steel-blue);
    margin-bottom: 20px;
}

.service-item-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-light-gray);
    margin-bottom: 28px;
    max-width: 580px;
}

.service-item-pill {
    background: rgba(181, 246, 0, 0.15);
    color: var(--color-lime-green);
    border: 1px solid var(--color-lime-green);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
}

.services-scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 8%;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 800;
    color: var(--color-medium-gray);
    z-index: 10;
}

.scroll-counter-current {
    font-size: 24px;
    color: var(--color-lime-green);
}

.scroll-bar-wrapper {
    width: 120px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.scroll-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--color-lime-green);
    transition: width 0.3s ease;
}

/* ==========================================================================
   ROADMAP SECTION WITH INTEGRATED HORIZONTAL RAILWAY TRACK
   ========================================================================== */
.roadmap-section {
    margin-bottom: 110px;
}

.roadmap-header h2 {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--color-dark-gray);
}

.roadmap-header p {
    font-size: 18px;
    color: var(--color-medium-gray);
    margin-bottom: 45px;
}

.roadmap-flow-wrapper {
    position: relative;
    padding: 60px 0;
    overflow: visible;
}

/* السكة الممتدة أفقياً بعرض الشاشة خلف الكروت */
.roadmap-railway-track-bg,
.work-railway-track-bg {
    position: absolute;
    top: 50%;
    left: -50vw;
    right: -50vw;
    height: 120px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}

.roadmap-railway-svg,
.work-railway-svg {
    width: 100%;
    height: 100%;
}

/* ترتيب الكروت بسطر واحد أفقي وموزعة بالتساوي */
.steps-wrapper,
.work-flow-grid {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    gap: 16px;
}

.step-card,
.work-flow-card {
    flex: 1 1 0%;
    min-width: 0;
    width: auto;
    background-color: var(--color-white);
    border: 2px solid var(--color-light-gray);
    border-radius: 18px;
    padding: 22px 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 8px 25px rgba(57, 57, 57, 0.05);
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
    will-change: opacity, transform;
}

/* العوارض المربوطة بالسكة أعلى وأسفل الكروت */
.step-card::before,
.work-flow-card::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 25px;
    background: linear-gradient(180deg, var(--color-steel-blue), var(--color-dark-gray));
    border-radius: 3px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.step-card::after,
.work-flow-card::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 25px;
    background: linear-gradient(180deg, var(--color-dark-gray), var(--color-steel-blue));
    border-radius: 3px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.step-card.is-visible,
.work-flow-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.step-card.is-visible:hover,
.work-flow-card.is-visible:hover {
    transform: translateY(-8px);
    border-color: var(--color-lime-green);
    box-shadow: 0 18px 36px rgba(57, 57, 57, 0.12);
}

.step-number {
    font-size: 12px;
    font-weight: 900;
    background-color: var(--color-dark-gray);
    color: var(--color-lime-green);
    padding: 3px 10px;
    border-radius: 20px;
    width: max-content;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color-dark-gray);
    line-height: 1.3;
    letter-spacing: 0.5px;
    word-break: normal;
    overflow-wrap: break-word;
}

.step-desc {
    font-size: 13px;
    color: var(--color-dark-gray);
    opacity: 0.85;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   WORK FLOW SECTION WITH INTEGRATED HORIZONTAL RAILWAY TRACK
   ========================================================================== */
.work-section {
    margin-bottom: 110px;
}

.work-header {
    margin-bottom: 45px;
}

.work-flow-wrapper {
    position: relative;
    padding: 60px 0;
    overflow: visible;
}

.work-rail-line {
    stroke: var(--color-lime-green);
    stroke-width: 5;
    opacity: 0.85;
}

.work-rail-ties {
    stroke: var(--color-steel-blue);
    stroke-width: 60;
    stroke-dasharray: 4 16;
    opacity: 0.25;
}

.work-rail-pulse {
    stroke: var(--color-lime-yellow);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 150 1000;
    filter: drop-shadow(0 0 10px var(--color-lime-green));
    animation: moveWorkTrain 3.5s linear infinite;
}

@keyframes moveWorkTrain {
    0% { stroke-dashoffset: 1200; }
    100% { stroke-dashoffset: -1200; }
}

.flow-num {
    font-size: 14px;
    font-weight: 900;
    color: var(--color-steel-blue);
    margin-bottom: 12px;
    display: inline-block;
    letter-spacing: 1px;
}

.flow-title {
    font-size: clamp(16px, 1.3vw, 20px);
    font-weight: 900;
    color: var(--color-dark-gray);
    margin-bottom: 10px;
}

.flow-desc {
    font-size: 13px;
    color: var(--color-dark-gray);
    opacity: 0.85;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.project-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 24px;
    padding: 40px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(57, 57, 57, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}

.form-group label {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-dark-gray);
    letter-spacing: 0.5px;
}

.form-group .required {
    color: var(--color-steel-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid var(--color-light-gray);
    border-radius: 12px;
    background-color: var(--color-white);
    font-size: 15px;
    color: var(--color-dark-gray);
    font-family: var(--font-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-steel-blue);
    box-shadow: 0 0 0 3px rgba(94, 133, 166, 0.2);
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 12px;
    padding: 0 14px;
    gap: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.phone-input-wrapper:focus-within {
    border-color: var(--color-steel-blue);
    box-shadow: 0 0 0 3px rgba(94, 133, 166, 0.2);
}

.phone-input-wrapper input {
    border: none;
    padding-left: 6px;
    padding-right: 6px;
}

.phone-input-wrapper input:focus {
    box-shadow: none;
}

.flag-icon {
    font-size: 16px;
    user-select: none;
}

.send-btn {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    border: 1.5px solid var(--color-dark-gray);
    font-weight: 700;
    width: 100%;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.send-btn:hover {
    background-color: var(--color-lime-green);
    border-color: var(--color-lime-green);
    color: var(--color-black);
    box-shadow: 0 10px 25px rgba(181, 246, 0, 0.35);
}

.btn-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.send-btn:hover .btn-arrow {
    transform: translate(3px, -3px);
}

html[dir="rtl"] .send-btn:hover .btn-arrow {
    transform: translate(-3px, -3px);
}

.form-status {
    margin-top: 18px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.form-status.success {
    background: rgba(181, 246, 0, 0.15);
    color: #2b7a00;
    border: 1px solid var(--color-lime-green);
}

.form-status.error {
    background: rgba(220, 53, 69, 0.12);
    color: #c92a2a;
    border: 1px solid #dc3545;
}

/* Footer Section */
.site-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 80px 5% 35px 5%;
    margin-top: 100px;
    border-top: 1px solid var(--color-dark-gray);
}

.footer-container {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 480px;
}

.footer-title {
    font-family: 'Nebula', 'KO Ghorab', sans-serif;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 10px;
    color: var(--color-white);
}

.footer-slogan {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-lime-green);
    margin-bottom: 8px;
}

.footer-desc {
    font-size: 16px;
    color: var(--color-medium-gray);
    margin-bottom: 22px;
}

.footer-location {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--color-light-gray);
    margin-bottom: 22px;
}

.footer-location svg {
    stroke: var(--color-lime-green);
    flex-shrink: 0;
}

.footer-pillars {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid var(--color-dark-gray);
    width: fit-content;
}

.footer-pillars .dot {
    color: var(--color-lime-yellow);
}

.footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-subheading {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-medium-gray);
    text-transform: uppercase;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(211, 211, 211, 0.15);
    color: var(--color-white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.social-btn:hover {
    background-color: var(--color-lime-green);
    border-color: var(--color-lime-green);
    color: var(--color-black);
    transform: translateX(-5px);
}

html[dir="ltr"] .social-btn:hover {
    transform: translateX(5px);
}

.social-btn svg {
    transition: stroke 0.3s ease;
}

.social-btn:hover svg {
    stroke: var(--color-black);
}

.footer-bottom {
    max-width: 1150px;
    margin: 28px auto 0 auto;
    text-align: center;
    font-size: 13px;
    color: var(--color-medium-gray);
    letter-spacing: 0.8px;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(35px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Handling */
@media (max-width: 992px) {
    .roadmap-flow-wrapper,
    .work-flow-wrapper {
        overflow-x: auto;
        padding-bottom: 25px;
    }

    .steps-wrapper,
    .work-flow-grid {
        min-width: 850px;
    }

    .services-sticky-viewport {
        flex-direction: column;
    }

    .services-image-panel, .services-info-panel {
        flex: 0 0 50%;
        width: 100%;
    }

    .service-item-title {
        font-size: 34px;
    }

    .sicha-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 68px;
        letter-spacing: 8px;
    }

    .menu-links a {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .sicha-visual-track {
        height: 85px;
    }

    .footer-container {
        flex-direction: column;
        gap: 35px;
    }

    .footer-pillars {
        font-size: 11px;
        gap: 6px;
    }

    .social-links {
        width: 100%;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 32px;
    }

    .project-card {
        padding: 24px 18px;
    }

    .hero-title {
        font-size: 50px;
        letter-spacing: 5px;
    }
}