/* SPEEDLINE STYLE SHEET - MAIN FOUNDATION */
:root {
    --bg-primary: #010101;
    --text-primary: #e1decc;
    --text-muted: rgba(225, 222, 204, 0.6);
    --color-secondary: #474145;
    --color-accent: #e70f0e;
    --color-accent-rgb: 231, 15, 14;
    
    --font-display: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    --grid-line-color: rgba(225, 222, 204, 0.08);
    --border-light: 1px solid rgba(225, 222, 204, 0.15);
    --border-medium: 1px solid rgba(225, 222, 204, 0.25);
    --border-thick: 1px solid #474145;
    
    --glass-bg: rgba(71, 65, 69, 0.12);
    --glass-border: 1px solid rgba(225, 222, 204, 0.08);
    --glass-blur: blur(12px);
    
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Adaptable design system tokens */
    --grid-overlay-color: rgba(225, 222, 204, 0.015);
    --navbar-bg-scrolled: rgba(1, 1, 1, 0.75);
    --border-secondary-btn: rgba(225, 222, 204, 0.25);
    --bg-secondary-btn-hover: rgba(225, 222, 204, 0.08);
    --btn-ripple-bg: rgba(225, 222, 204, 0.3);
    --card-bg-subtle: rgba(71, 65, 69, 0.08);
    --card-border-inner: rgba(225, 222, 204, 0.03);
    --card-hover-shadow: 0 15px 30px rgba(1, 1, 1, 0.5);
    --border-input: rgba(225, 222, 204, 0.15);
    --map-grid-color: rgba(225, 222, 204, 0.035);
    --route-stroke-color: rgba(225, 222, 204, 0.15);
    --industry-img-opacity: 0.12;
    --industry-img-hover-opacity: 0.3;
    --navbar-text-color: rgba(255, 255, 255, 0.8);
    --navbar-text-hover: #ffffff;
    --navbar-logo-color: #ffffff;
}

/* LIGHT THEME IMPLEMENTATION */
[data-theme="light"] {
    --bg-primary: #f5f4ef;
    --text-primary: #121110;
    --text-muted: rgba(18, 17, 16, 0.6);
    --color-secondary: #e9e7e0;
    --grid-line-color: rgba(18, 17, 16, 0.08);
    --border-light: 1px solid rgba(18, 17, 16, 0.22);
    --border-medium: 1px solid rgba(18, 17, 16, 0.35);
    --border-thick: 1px solid #121110;
    
    --glass-bg: rgba(233, 231, 224, 0.45);
    --glass-border: 1px solid rgba(18, 17, 16, 0.08);
    
    /* Light theme design system overrides */
    --grid-overlay-color: rgba(18, 17, 16, 0.025);
    --navbar-bg-scrolled: rgba(245, 244, 239, 0.85);
    --border-secondary-btn: rgba(18, 17, 16, 0.25);
    --bg-secondary-btn-hover: rgba(18, 17, 16, 0.08);
    --btn-ripple-bg: rgba(18, 17, 16, 0.2);
    --card-bg-subtle: rgba(18, 17, 16, 0.04);
    --card-border-inner: rgba(18, 17, 16, 0.03);
    --card-hover-shadow: 0 15px 30px rgba(18, 17, 16, 0.12);
    --border-input: rgba(18, 17, 16, 0.15);
    --map-grid-color: rgba(18, 17, 16, 0.05);
    --route-stroke-color: rgba(18, 17, 16, 0.15);
    --industry-img-opacity: 0.38;
    --industry-img-hover-opacity: 0.65;
    --navbar-text-color: rgba(18, 17, 16, 0.65);
    --navbar-text-hover: #121110;
    --navbar-logo-color: #121110;
}

/* SMOOTH TRANSITIONS FOR COLOR THEME INTERACTION */
body, #navbar, section, footer, .industry-card-inner, .step-card, .testimonial-card, .btn-secondary, input, select, textarea, .map-grid-mesh, .map-container {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background-image 0.4s ease;
}

/* RESET & GLOBAL STYLES */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.6;
}

body {
    position: relative;
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
}

/* TEXT FORMATTING */
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

p {
    font-weight: 300;
    color: var(--text-muted);
}

.text-mono {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
}

.color-accent {
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(var(--color-accent-rgb), 0.3);
}

/* BACKGROUND PAPER TEXTURE & GRAIN NOISE */
.paper-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    opacity: 0.65;
}

.noise-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='movingNoise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23movingNoise)' opacity='0.04'/%3E%3C/svg%3E");
    z-index: 11;
    pointer-events: none;
    animation: grain-animation 8s steps(10) infinite;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9;
    pointer-events: none;
    background-image: linear-gradient(var(--grid-overlay-color) 1px, transparent 1px),
                      linear-gradient(90deg, var(--grid-overlay-color) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center center;
}

/* CUSTOM VELOCITY RING CURSOR */
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1px solid var(--text-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate3d(-50%, -50%, 0);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate3d(-50%, -50%, 0);
    transition: transform 0.1s ease-out, background-color 0.3s;
}

/* CURSOR HOVER MODES */
.cursor-hover-btn {
    width: 55px;
    height: 55px;
    background-color: rgba(var(--color-accent-rgb), 0.1);
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(var(--color-accent-rgb), 0.4);
}

.cursor-hover-scale-dot {
    transform: translate3d(-50%, -50%, 0) scale(0);
}

.cursor-hover-img {
    width: 80px;
    height: 80px;
    border-color: var(--text-primary);
    background-color: rgba(225, 222, 204, 0.08);
}

.cursor-hover-img::after {
    content: 'VIEW';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-primary);
    letter-spacing: 0.1em;
}

.cursor-hover-drag {
    width: 80px;
    height: 80px;
    border-color: var(--color-accent);
    background-color: rgba(var(--color-accent-rgb), 0.05);
}

.cursor-hover-drag::after {
    content: 'DRAG';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-accent);
    letter-spacing: 0.1em;
}

/* LOADER SECTION */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.loader-bg-noise {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='loaderNoise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23loaderNoise)' opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
}

.loader-container {
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    z-index: 10;
}

.loader-logo-svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 10px rgba(var(--color-accent-rgb), 0.5));
}

.loader-logo-svg path {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw-logo 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.loader-info {
    width: 100%;
}

.loader-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 12px;
}

.loader-progress-track {
    width: 100%;
    height: 2px;
    background-color: rgba(225, 222, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.loader-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--color-accent);
    box-shadow: 0 0 8px var(--color-accent);
}

.loader-status {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-top: 8px;
    letter-spacing: 0.05em;
}

.loader-glowing-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 0%;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    box-shadow: 0 -5px 15px var(--color-accent);
    animation: glow-bottom 2.5s infinite;
}

/* READ PROGRESS BAR */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background-color: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent);
    z-index: 9999;
    pointer-events: none;
}

/* SWISS GRID STRUCTURAL SYSTEM */
.container-fluid {
    width: 100%;
    max-width: 1720px;
    margin: 0 auto;
    padding: 0 40px;
}

.Swiss-grid {
    position: relative;
}

.grid-row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
}

.split-half > .grid-col {
    grid-column: span 6;
}

.split-3-7 > .grid-col:first-child {
    grid-column: span 4;
}

.split-3-7 > .grid-col:last-child {
    grid-column: span 8;
}

.border-grid-bottom {
    border-bottom: var(--grid-line-color) 1px solid;
}

.border-grid-top {
    border-top: var(--grid-line-color) 1px solid;
}

/* SCROLL CONTAINER (For smooth scrolling wrapper) */
#scroll-container {
    position: relative;
    width: 100%;
}

.scroll-section {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

#hero, #industries {
    overflow: visible !important;
}

/* HEADER / NAVBAR */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: padding 0.5s ease, background-color 0.5s ease, border-bottom 0.5s ease, backdrop-filter 0.5s ease;
    border-bottom: 1px solid transparent;
}

/* Force light colors on navbar when unscrolled (sitting over dark hero scroller) */
#navbar:not(.scrolled) {
    --text-primary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.8);
    --grid-line-color: rgba(225, 222, 204, 0.08);
    --navbar-text-color: rgba(255, 255, 255, 0.85);
    --navbar-text-hover: #ffffff;
    --navbar-logo-color: #ffffff;
}

#navbar.scrolled {
    padding: 10px 0;
    background-color: var(--navbar-bg-scrolled);
    backdrop-filter: var(--glass-blur);
    border-bottom: var(--grid-line-color) 1px solid;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1720px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo-link {
    text-decoration: none;
    color: var(--navbar-logo-color);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 125px;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: 0.15em;
    font-size: 1.1rem;
    transition: letter-spacing 0.5s ease;
}

#navbar.scrolled .logo-img {
    transform: scale(0.82);
}

.desktop-menu {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex: 1;
    margin: 0 40px;
}

/* NAVBAR ACTIONS CONTAINER */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 102;
}

/* PREMIUM SCIFI THEME TOGGLE BUTTON */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--grid-line-color);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
    border-radius: 0; /* Swiss grid look */
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--color-accent-rgb), 0.05);
    transition: left 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 1;
}

.theme-toggle-btn:hover::before {
    left: 0;
}

.theme-toggle-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 10px rgba(var(--color-accent-rgb), 0.2);
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5px;
    position: relative;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.theme-toggle-btn:hover svg {
    transform: rotate(45deg) scale(1.1);
}

.nav-item {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: var(--navbar-text-color);
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    transition: var(--transition-fast);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-accent);
    box-shadow: 0 0 5px var(--color-accent);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item:hover {
    color: var(--navbar-text-hover);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--color-accent);
    color: var(--text-primary) !important;
    padding: 8px 20px !important;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(var(--color-accent-rgb), 0.3);
    transition: var(--transition-fast);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary) !important;
    box-shadow: 0 0 15px rgba(225, 222, 204, 0.3);
}

.nav-mobile-cta {
    display: none;
}

/* HAMBURGER BTN */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 102;
}

.hamburger-btn .line {
    width: 100%;
    height: 1.5px;
    background-color: var(--text-primary);
    transition: var(--transition-bounce);
    transform-origin: center;
}

/* Hamburger active morph state */
.hamburger-btn.active .line-top {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active .line-mid {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.active .line-bot {
    transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE MENU OVERLAY */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 99;
    clip-path: circle(0px at calc(100% - 60px) 40px);
    transition: clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1);
    display: flex;
    align-items: center;
    padding: 120px 40px 40px;
}

.mobile-menu-overlay.active {
    clip-path: circle(200% at calc(100% - 60px) 40px);
}

.mobile-menu-grid {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav-item {
    font-size: 2.2rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-fast);
}

.mobile-nav-item span {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: normal;
}

.mobile-nav-item:hover {
    padding-left: 20px;
    color: var(--color-accent);
}

.mobile-menu-footer {
    border-top: var(--border-light);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* BUTTONS SYSTEM */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 35px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 1;
}

.btn-text {
    position: relative;
    z-index: 3;
    transition: var(--transition-fast);
}

.btn-arrow {
    width: 16px;
    height: 16px;
    position: relative;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-arrow svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--text-primary);
    border: 1px solid var(--color-accent);
    box-shadow: 0 0 15px rgba(var(--color-accent-rgb), 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--text-primary);
    transition: left 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 2;
}

.btn-primary:hover {
    color: var(--bg-primary);
    box-shadow: 0 0 25px rgba(var(--color-accent-rgb), 0.6);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-secondary-btn);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--bg-secondary-btn-hover);
    transition: left 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 2;
}

.btn-secondary:hover {
    border-color: var(--text-primary);
}

.btn-secondary:hover::before {
    left: 0;
}

/* CLICK RIPPLE */
.btn-ripple {
    position: absolute;
    background-color: var(--btn-ripple-bg);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
    z-index: 10;
}

/* 1. HERO SECTION (SCROLL SCENIC CONTROLLER) */
#hero {
    height: 300vh;
    padding: 0;
    position: relative;
    overflow: visible !important;
    /* Force dark theme for cinematic canvas scroller */
    --text-primary: #e1decc;
    --text-muted: rgba(225, 222, 204, 0.6);
    --grid-line-color: rgba(225, 222, 204, 0.08);
}

.video-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-dark-overlay {
    display: none !important;
}

.hero-grid-borders {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    z-index: 3;
    pointer-events: none;
}

.hero-grid-borders .col-border {
    border-right: 1px solid rgba(225, 222, 204, 0.035);
    height: 100%;
}

.hero-grid-borders .col-border:last-child {
    border-right: none;
}

.hero-content {
    position: absolute;
    bottom: 120px;
    left: 0;
    width: 100%;
    z-index: 5;
}

.hero-meta {
    margin-bottom: 25px;
    color: var(--color-accent);
}

.hero-title {
    font-size: 6.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: 30px;
}

.hero-accent-line {
    width: 120px;
    height: 3px;
    background-color: var(--color-accent);
    margin-bottom: 50px;
    box-shadow: 0 0 10px var(--color-accent);
}

/* Prevent hero content from overlapping navbar on short viewports */
@media (max-height: 850px) {
    .hero-content {
        bottom: 80px;
    }
    .hero-title {
        font-size: 5rem;
        margin-bottom: 20px;
    }
    .hero-accent-line {
        margin-bottom: 30px;
    }
}

@media (max-height: 720px) {
    .hero-content {
        bottom: 50px;
    }
    .hero-title {
        font-size: 4rem;
        margin-bottom: 15px;
    }
    .hero-accent-line {
        margin-bottom: 20px;
    }
    .hero-meta {
        margin-bottom: 15px;
    }
}

@media (max-height: 600px) {
    .hero-content {
        bottom: 30px;
    }
    .hero-title {
        font-size: 3rem;
        margin-bottom: 10px;
    }
    .hero-accent-line {
        margin-bottom: 15px;
    }
    .hero-meta {
        margin-bottom: 10px;
    }
}

.hero-footer-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 40px;
    align-items: end;
}

.hero-desc {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

/* HERO SCROLL INDICATOR */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.indicator-mouse {
    width: 20px;
    height: 34px;
    border: 1.5px solid var(--text-primary);
    border-radius: 12px;
    position: relative;
}

.indicator-wheel {
    width: 3px;
    height: 7px;
    background-color: var(--color-accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.8s infinite;
}

.scroll-indicator span {
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.morph-arrow {
    width: 10px;
    height: 10px;
    border-right: 1.5px solid var(--text-primary);
    border-bottom: 1.5px solid var(--text-primary);
    transform: rotate(45deg);
    animation: bounce-arrow 1.8s infinite;
}

/* 2. ABOUT COMPANY split section */
.left-visual-panel {
    padding-right: 20px;
}

.mask-image-container {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
}

.reveal-mask-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    clip-path: inset(100% 0 0 0); /* Script triggers clip-path: inset(0% 0 0 0) */
}

.image-overlay-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(35deg, rgba(var(--color-accent-rgb), 0.05), transparent 60%);
    pointer-events: none;
    z-index: 2;
}

.panel-tag {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 3;
    background-color: var(--bg-primary);
    padding: 5px 12px;
    font-size: 0.6rem;
    border: var(--border-light);
}

.right-content-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 40px;
}

.section-tag {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 35px;
    line-height: 1.05;
}

.section-para {
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.lead-para {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.stats-dashboard {
    margin-top: 40px;
    padding-top: 45px;
    border-top: var(--border-light);
    gap: 20px;
}

.stat-box {
    grid-column: span 4;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(var(--color-accent-rgb), 0.2);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.55rem;
    color: var(--text-muted);
}

/* 3. SERVICES SECTION */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: var(--border-light);
}

.section-header-meta {
    color: var(--color-accent);
    font-size: 0.7rem;
    padding-bottom: 5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px; /* Creates Swiss-grid dividers in cooperation with background colors */
    background-color: var(--grid-line-color);
}

.service-card {
    background-color: var(--bg-primary);
    padding: 50px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: var(--border-light);
}

.card-inner-border {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--card-border-inner);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.card-glow-element {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--color-accent-rgb), 0.08) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

.service-num {
    font-size: 1rem;
    color: var(--color-secondary);
}

.service-icon-wrapper {
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: var(--border-light);
    border-radius: 50%;
    transition: var(--transition-bounce);
}

.morph-icon {
    width: 20px;
    height: 20px;
}

.service-title {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.service-desc {
    font-size: 0.78rem;
    line-height: 1.7;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.service-link .link-text {
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.service-link .link-arrow {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card hover updates */
.service-card:hover {
    transform: translateY(-8px);
    background-color: var(--glass-bg);
    border-color: rgba(var(--color-accent-rgb), 0.25);
    box-shadow: inset 0 0 30px rgba(var(--color-accent-rgb), 0.05),
                var(--card-hover-shadow);
}

.service-card:hover .card-inner-border {
    border-color: rgba(var(--color-accent-rgb), 0.2);
}

.service-card:hover .card-glow-element {
    opacity: 1;
}

.service-card:hover .service-icon-wrapper {
    background-color: var(--color-accent);
    color: var(--text-primary);
    border-color: var(--color-accent);
    box-shadow: 0 0 15px var(--color-accent);
    transform: rotate(360deg);
}

.service-card:hover .service-link .link-arrow {
    transform: translateX(6px);
}

/* 4. INDUSTRIES HORIZONTAL SCROLL */
#industries {
    padding: 0;
    height: 150vh; /* Driven horizontally by vertical scroll */
}

.horizontal-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.horizontal-header-container {
    padding-top: 100px;
    margin-bottom: 60px;
}

.horizontal-scroll-hint {
    margin-top: 15px;
    color: var(--color-accent);
}

.horizontal-scroll-container {
    display: flex;
    gap: 40px;
    padding: 0 40px;
    width: max-content;
    will-change: transform;
}

.industry-card {
    width: 480px;
    height: 460px;
    perspective: 1000px; /* Supporting 3D tilt */
}

.industry-card-inner {
    width: 100%;
    height: 100%;
    background-color: var(--card-bg-subtle);
    border: var(--border-light);
    position: relative;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: border-color 0.4s ease;
    transform-style: preserve-3d;
}

.card-glow-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-bg-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: var(--industry-img-opacity);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.industry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-content {
    position: relative;
    z-index: 2;
    transform: translateZ(30px); /* 3D pop effect */
}

.industry-num {
    color: var(--color-secondary);
    font-size: 0.65rem;
    margin-bottom: 25px;
}

.industry-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.industry-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.industry-card:hover .industry-card-inner {
    border-color: rgba(var(--color-accent-rgb), 0.4);
}

.industry-card:hover .card-glow-accent {
    transform: scaleX(1);
}

.industry-card:hover .industry-bg-image-wrapper {
    opacity: var(--industry-img-hover-opacity);
    transform: scale(1.05);
}

/* 5. GLOBAL SHIPPING MAP STATS */
#stats {
    padding-top: 40px;
}
.stats-text-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
}

.live-counter-panel {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-top: var(--border-light);
    padding-top: 40px;
}

.live-counter-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.counter-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-accent);
    animation: mini-pulse 1.5s infinite;
}

.counter-val {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.map-visual-panel {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container {
    position: relative;
    width: 100%;
    background-color: #010101 !important; /* Force black background */
    border: var(--border-light);
    overflow: hidden;
    aspect-ratio: 2 / 1;
    /* Force dark radar variables */
    --text-primary: #e1decc;
    --text-muted: rgba(225, 222, 204, 0.6);
    --map-grid-color: rgba(225, 222, 204, 0.035);
    --route-stroke-color: rgba(225, 222, 204, 0.15);
}

.map-grid-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--map-grid-color) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

#world-map-svg {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}

.map-hub {
    fill: var(--text-primary);
    filter: drop-shadow(0 0 5px rgba(225, 222, 204, 0.5));
}

.map-hub-ring {
    fill: none;
    stroke: var(--text-primary);
    stroke-width: 0.5px;
    opacity: 0.4;
    transform-origin: center;
    animation: map-ring-expand 4s infinite linear;
}

.dubai-hub {
    fill: var(--color-accent);
    filter: drop-shadow(0 0 8px rgba(var(--color-accent-rgb), 0.7));
}

.dubai-hub-ring {
    stroke: var(--color-accent);
    animation: map-ring-expand-dxb 2.5s infinite linear;
}

.map-label {
    fill: var(--text-muted);
    font-size: 10px;
    letter-spacing: 0.05em;
    font-weight: bold;
}

.dubai-label {
    fill: var(--color-accent);
    font-weight: 900;
}

.shipping-route-line {
    fill: none;
    stroke: var(--route-stroke-color);
    stroke-width: 1.5px;
    stroke-linecap: round;
    stroke-dasharray: 6 3;
    transition: var(--transition-smooth);
}

.shipping-route-line.active {
    stroke: var(--color-accent);
    stroke-dasharray: 4 2;
    filter: drop-shadow(0 0 4px rgba(var(--color-accent-rgb), 0.5));
}

/* 6. OUR PROCESS TIMELINE */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: var(--grid-line-color);
    transform: translateX(-50%);
}

.timeline-draw-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 0%;
    background: linear-gradient(180deg, var(--color-accent), transparent);
    box-shadow: 0 0 8px var(--color-accent);
    transform: translateX(-50%);
    will-change: height;
}

.timeline-step {
    display: flex;
    position: relative;
    margin-bottom: -120px; /* Pull steps closer vertically to decrease blank space */
    width: 50%;
}

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

.step-left {
    left: 0;
    justify-content: flex-end;
    padding-right: 60px;
}

.step-right {
    left: 50%;
    justify-content: flex-start;
    padding-left: 60px;
}

.step-num-bubble {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--bg-primary);
    border: var(--border-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.step-left .step-num-bubble {
    right: -20px;
    top: 20px;
}

.step-right .step-num-bubble {
    left: -20px;
    top: 20px;
}

.step-card {
    width: 100%;
    max-width: 480px;
    background-color: var(--card-bg-subtle);
    border: var(--border-light);
    padding: 55px 40px; /* Increased vertical padding to increase card height */
    transition: var(--transition-smooth);
    min-height: 290px; /* Ensures consistent taller height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-meta {
    color: var(--color-accent);
    font-size: 0.6rem;
    margin-bottom: 15px;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.step-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Process step hover effects */
.timeline-step:hover .step-num-bubble {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 15px var(--color-accent);
}

.timeline-step:hover .step-card {
    border-color: rgba(var(--color-accent-rgb), 0.35);
    background-color: var(--glass-bg);
}

/* 7. FLEET GRID GALLERY */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.fleet-item {
    display: flex;
    flex-direction: column;
}

.fleet-image-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    border: var(--border-light);
}

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

.fleet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(1, 1, 1, 0.9) 0%, rgba(1, 1, 1, 0.1) 60%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.fleet-specs {
    font-size: 0.7rem;
    color: var(--text-primary);
    line-height: 2;
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fleet-info {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-primary);
}

.fleet-title {
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.fleet-tag {
    font-size: 0.55rem;
    color: var(--color-accent);
}

/* Fleet Hover Trigger */
.fleet-item:hover .fleet-img {
    transform: scale(1.08);
}

.fleet-item:hover .fleet-overlay {
    opacity: 1;
}

.fleet-item:hover .fleet-specs {
    transform: translateY(0);
}

/* 8. FEATURED PROJECTS MASONRY */
.projects-masonry {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.project-item {
    position: relative;
    border: var(--border-light);
    overflow: hidden;
}

.masonry-large {
    grid-column: span 4;
    height: 520px;
}

.masonry-small {
    grid-column: span 4;
    height: 520px;
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.project-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 1, 1, 0.4);
    backdrop-filter: blur(0px);
    transition: backdrop-filter 0.6s ease, background-color 0.6s ease;
    z-index: 2;
}

.project-details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(40px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    /* Force text colors to be always white in both themes inside projects */
    --text-primary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    color: var(--text-primary);
}

.project-item-title {
    font-size: 2rem;
    font-weight: 900;
}

.project-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.4s ease;
    max-width: 480px;
}

.project-btn {
    font-size: 0.65rem;
    font-weight: bold;
    color: var(--color-accent);
}

/* Hover active project status */
.project-item:hover .project-img {
    transform: scale(1.05);
}

.project-item:hover .project-blur-overlay {
    background-color: rgba(1, 1, 1, 0.75);
    backdrop-filter: blur(8px);
}

.project-item:hover .project-details {
    transform: translateY(0);
}

/* 5.5 LOGISTICS SLIDE GALLERY SECTION */
#gallery {
    padding: 80px 0;
    position: relative;
}

.gallery-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gallery-arrow {
    background: transparent;
    border: 1px solid var(--grid-line-color);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
}

.gallery-arrow svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.gallery-arrow:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(var(--color-accent-rgb), 0.4);
}

.gallery-prev:hover svg {
    transform: translateX(-3px);
}

.gallery-next:hover svg {
    transform: translateX(3px);
}

.gallery-counter {
    font-size: 0.85rem;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    min-width: 65px;
    text-align: center;
    font-weight: 700;
}

.gallery-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 30px auto 0;
    height: 400px;
    perspective: 1200px;
}

.gallery-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 50%;
    width: 66%;
    height: 100%;
    margin-left: -33%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, filter 0.6s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border: var(--border-light);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    filter: blur(8px);
    transform: translate3d(0, 0, -250px) scale(0.65);
    z-index: 1;
}

/* Active Center Slide (Focused, Sharp & Highlighted) */
.gallery-slide.active {
    opacity: 1;
    pointer-events: auto;
    filter: blur(0px);
    transform: translate3d(0, 0, 0) scale(1);
    z-index: 10;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(var(--color-accent-rgb), 0.3);
    border-color: rgba(var(--color-accent-rgb), 0.4);
}

/* Left / Previous Slide (Blurred 3D Depth) */
.gallery-slide.prev-slide {
    opacity: 0.55;
    pointer-events: auto;
    cursor: pointer;
    filter: blur(5px);
    transform: translate3d(-52%, 0, -140px) scale(0.82) rotateY(15deg);
    z-index: 5;
}

/* Right / Next Slide (Blurred 3D Depth) */
.gallery-slide.next-slide {
    opacity: 0.55;
    pointer-events: auto;
    cursor: pointer;
    filter: blur(5px);
    transform: translate3d(52%, 0, -140px) scale(0.82) rotateY(-15deg);
    z-index: 5;
}

.gallery-slide.prev-slide:hover,
.gallery-slide.next-slide:hover {
    opacity: 0.85;
    filter: blur(2px);
}

.gallery-img-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-slide.active:hover .gallery-img {
    transform: scale(1.04);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 30px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 65%, transparent 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-slide.active .gallery-caption {
    opacity: 1;
}

.caption-tag {
    font-size: 0.72rem;
    color: var(--color-accent);
    letter-spacing: 0.15em;
}

.caption-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    letter-spacing: 0.02em;
}

/* Side Overlay Arrow Buttons */
.slider-side-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(1, 1, 1, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(225, 222, 204, 0.2);
    color: #ffffff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

[data-theme="light"] .slider-side-arrow {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(18, 17, 16, 0.2);
    color: #121110;
}

.slider-side-arrow:hover {
    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(var(--color-accent-rgb), 0.5);
}

.side-prev {
    left: 0;
}

.side-next {
    right: 0;
}

.slider-side-arrow svg {
    width: 22px;
    height: 22px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    position: relative;
    z-index: 10;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(225, 222, 204, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: var(--color-accent);
    width: 28px;
    border-radius: 5px;
}

/* 9. MARQUEE SECURE CLIENTS */
#clients {
    padding: 60px 0;
}

.marquee-title {
    text-align: center;
    font-size: 0.6rem;
    color: var(--color-accent);
    letter-spacing: 0.3em;
    margin-bottom: 35px;
}

.marquee-container {
    width: 100%;
    display: flex;
    overflow: hidden;
    user-select: none;
    border-top: var(--border-light);
    border-bottom: var(--border-light);
    padding: 25px 0;
    background-color: rgba(71, 65, 69, 0.03);
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 80px;
    animation: marquee-scroll 25s linear infinite;
}

.client-logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: 0.2em;
    color: var(--color-secondary);
    transition: color 0.3s ease;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-content .client-logo:hover {
    color: var(--color-accent);
    text-shadow: 0 0 15px rgba(var(--color-accent-rgb), 0.6);
}

/* Light theme overrides for marquee section to keep it readable and black */
[data-theme="light"] .marquee-container {
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .client-logo {
    color: rgba(255, 255, 255, 0.35);
}

/* 10. TESTIMONIALS 3D DRAGGABLE CAROUSEL */
.testimonials-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
    padding: 20px 0;
}

.testimonials-carousel {
    display: flex;
    gap: 40px;
    width: max-content;
    cursor: grab;
    will-change: transform;
}

.testimonials-carousel:active {
    cursor: grabbing;
}

.testimonial-card {
    width: 450px;
    background-color: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 45px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    transition: border-color 0.4s ease;
}

.quote-mark {
    font-size: 6rem;
    line-height: 0.4;
    color: var(--color-accent);
    font-family: sans-serif;
    opacity: 0.15;
    position: absolute;
    top: 50px;
    right: 40px;
}

.testimonial-quote {
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.testimonial-author-row {
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-name {
    font-weight: bold;
    font-size: 0.95rem;
}

.author-title {
    font-size: 0.55rem;
    color: var(--color-secondary);
}

.rating-glowing-dots {
    display: flex;
    gap: 6px;
}

.rating-glowing-dots span {
    width: 5px;
    height: 5px;
    background-color: var(--color-secondary);
    border-radius: 50%;
}

.rating-glowing-dots span.active-dot {
    background-color: var(--color-accent);
    box-shadow: 0 0 6px var(--color-accent);
}

.testimonial-card:hover {
    border-color: rgba(var(--color-accent-rgb), 0.3);
}

/* 11. CTA BANNER SECTION */
#cta-banner {
    padding: 60px 0;
}

.cta-inner {
    position: relative;
    width: 100%;
    background-color: #0d0101; /* Slightly crimson black */
    border: 1px solid rgba(var(--color-accent-rgb), 0.25);
    padding: 60px 50px;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(var(--color-accent-rgb), 0.05);
    /* Force white theme text under/in box to be white/cream */
    --text-primary: #e1decc;
    --text-muted: rgba(225, 222, 204, 0.6);
    color: var(--text-primary);
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--color-accent-rgb), 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.cta-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-border-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background-color: rgba(225, 222, 204, 0.02);
}

.cta-border-line:first-child { left: 20%; }
.cta-border-line:last-child { left: 80%; }

.cta-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.cta-tag {
    color: var(--color-accent);
    margin-bottom: 25px;
}

.cta-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.02;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.cta-desc {
    font-size: 0.85rem;
    margin-bottom: 45px;
    color: var(--text-muted);
}

/* 12. CONTACT INPUT FIELDS & BLUEPRINT */
.contact-form-panel {
    padding-right: 40px;
}

.contact-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    background: rgba(225, 222, 204, 0.02);
    border: 1px solid rgba(225, 222, 204, 0.08);
    border-top: 4px solid var(--color-accent);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.form-group {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-input);
    padding: 12px 0;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 0.95rem;
    transition: border-color 0.4s ease;
    outline: none;
}

/* Custom styled dropdown select reset */
select.form-input {
    appearance: none;
    border-radius: 0;
}

select.form-input option {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-display);
}

.form-textarea {
    resize: none;
    height: 120px;
}

.form-label {
    position: absolute;
    left: 0;
    top: 15px;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-fast);
}

.input-glow-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-accent);
    box-shadow: 0 0 5px var(--color-accent);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Input focus dynamics */
.form-input:focus,
.form-input:not(:placeholder-shown) {
    border-bottom-color: rgba(225, 222, 204, 0.3);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -15px;
    font-size: 0.7rem;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    font-weight: 500;
}

.form-input:focus ~ .input-glow-bar {
    width: 100%;
}

.form-row {
    gap: 40px;
}

.col-half {
    grid-column: span 6;
}

.form-submit-btn {
    width: max-content;
    margin-top: 20px;
    font-family: var(--font-display) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
}

.form-status-msg {
    margin-top: 15px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    height: 15px;
}

.map-blueprint-panel {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blueprint-container {
    position: relative;
    width: 100%;
    background-color: #010204;
    border: var(--border-light);
    aspect-ratio: 1/1;
    overflow: hidden;
}

.blueprint-grid-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(225, 222, 204, 0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(225, 222, 204, 0.015) 1px, transparent 1px);
    background-size: 25px 25px;
}

.blueprint-svg {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
}

.blueprint-text {
    font-size: 10px;
    fill: var(--text-muted);
}

.blueprint-meta {
    font-size: 8px;
    fill: var(--color-secondary);
}

.blueprint-tag {
    font-size: 8px;
    font-weight: bold;
}

/* 13. FOOTER DESIGN */
#footer {
    background-color: var(--bg-primary);
    padding: 60px 0 30px;
    border-top: var(--border-medium);
    color: var(--text-primary);
    transition: background-color 0.4s ease, color 0.4s ease;
}

[data-theme="light"] #footer {
    background-color: #ffffff;
    border-top: 1px solid rgba(18, 17, 16, 0.1);
}

.footer-top-row {
    padding-bottom: 60px;
    margin-bottom: 40px;
}

.footer-branding {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    height: 34px;
    width: auto;
}

.footer-logo-text {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.footer-moto {
    font-size: 0.72rem;
    line-height: 1.8;
}

.footer-links-grid {
    gap: 20px;
}

.links-column {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.column-title {
    color: var(--color-accent);
    font-size: 0.65rem;
    margin-bottom: 10px;
}

.footer-link {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.footer-contact-info {
    font-family: var(--font-display);
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.footer-office-block {
    margin-bottom: 22px;
}

.footer-office-title {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    display: block;
}

.footer-location-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 7px 14px;
    background-color: var(--color-accent);
    color: #ffffff !important;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: var(--transition-fast);
    box-shadow: 0 4px 12px rgba(var(--color-accent-rgb), 0.25);
    border: none;
}

.footer-location-btn:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--color-accent-rgb), 0.35);
}

.footer-bottom-row {
    justify-content: space-between;
    align-items: center;
    font-size: 0.62rem;
    color: var(--text-muted);
    padding-top: 10px;
}

.system-status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #0ee720;
    border-radius: 50%;
    box-shadow: 0 0 6px #0ee720;
    animation: green-pulse 1.8s infinite;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.social-icon {
    text-decoration: none;
    color: var(--text-muted);
    border: var(--border-light);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
}

.social-icon:hover {
    color: var(--bg-primary);
    background-color: var(--text-primary);
    border-color: var(--text-primary);
    box-shadow: 0 0 10px rgba(225, 222, 204, 0.4);
}

/* KEYFRAMES CORE ANIMATIONS */
@keyframes grain-animation {
    0%, 100% { transform:translate(0, 0) }
    10% { transform:translate(-5%, -10%) }
    20% { transform:translate(-15%, 5%) }
    30% { transform:translate(7%, -25%) }
    40% { transform:translate(-5%, 25%) }
    50% { transform:translate(-15%, 11%) }
    60% { transform:translate(15%, 0%) }
    70% { transform:translate(0%, 15%) }
    85% { transform:translate(3%, 35%) }
    95% { transform:translate(-10%, 10%) }
}

@keyframes draw-logo {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes glow-bottom {
    0%, 100% { width: 0%; left: 0%; opacity: 0; }
    30%, 70% { width: 40%; opacity: 1; }
    100% { width: 0%; left: 100%; opacity: 0; }
}

@keyframes scroll-wheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 16px; opacity: 0.3; }
    100% { top: 6px; opacity: 1; }
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(4px) rotate(45deg); }
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes map-ring-expand {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

@keyframes map-ring-expand-dxb {
    0% { transform: scale(0.4); opacity: 1; }
    100% { transform: scale(2.0); opacity: 0; }
}

@keyframes mini-pulse {
    0%, 100% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 10px var(--color-accent); }
}

@keyframes green-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; box-shadow: 0 0 10px #0ee720; }
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-tooltip {
    background: rgba(1, 1, 1, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(225, 222, 204, 0.15);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 4px;
    margin-right: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .whatsapp-tooltip {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(18, 17, 16, 0.15);
    color: #121110;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

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