/* ==========================================================================
   ENTERPRISE IT SERVICES & SOFTWARE DEVELOPMENT - DESIGN SYSTEM & STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* --- CSS VARIABLES & TOKENS --- */
:root {
    --bg-dark: #070A12;
    --bg-card: #0F172A;
    --bg-card-hover: #1E293B;
    --bg-glass: rgba(15, 23, 42, 0.65);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(239, 68, 68, 0.3);

    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    --accent-red: #EF4444;
    --accent-red-glow: rgba(239, 68, 68, 0.4);
    --accent-cyan: #38BDF8;
    --accent-indigo: #6366F1;
    --accent-emerald: #10B981;

    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

/* --- NAVIGATION BAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(7, 10, 18, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.navbar.scrolled {
    padding: 12px 40px;
    background: rgba(7, 10, 18, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.5));
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.nav-brand:hover .brand-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 0 18px rgba(239, 68, 68, 0.8));
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.brand-text span {
    color: var(--accent-red);
}

/* Mobile Nav Hamburger Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--accent-red);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--accent-red);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

/* --- HERO PARALLAX SECTION --- */
.hero-parallax {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 24px 30px 24px;
    overflow: hidden;
    background-color: #030611;
}

/* Image Layers */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    will-change: transform;
}

/* Stacking order */
.layer-sky {
    z-index: 1;
    top: 90px;
    height: calc(100% - 90px);
    object-position: center top;
}

.layer-trees {
    z-index: 2;
}

.layer-wolves {
    z-index: 3;
}

/* Hero Overlay Gradients */
.hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 50%, rgba(7, 10, 18, 0.5) 100%),
        linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(7, 10, 18, 0.95) 95%);
}

/* Hero Content - Positioned on the Rock Formation */
.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 840px;
    padding: 28px 36px;
    background: rgba(7, 10, 18, 0.55);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(239, 68, 68, 0.15);
    margin-bottom: 0px;
}


.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #FFFFFF 30%, #CBD5E1 70%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.1rem;
    color: #CBD5E1;
    margin-bottom: 22px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* BUTTON STYLES */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-red), #B91C1C);
    color: #FFFFFF;
    padding: 16px 36px;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 10px 30px var(--accent-red-glow);
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    pointer-events: auto;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.6);
}





/* --- ABOUT US SECTION WITH COSMIC BACKGROUND --- */
.about-section {
    position: relative;
    background: url('images/About_background.webp') no-repeat center 40px / cover;
    overflow: hidden;
    padding: 120px max(7vw, 60px) 140px max(7vw, 60px);
}

.relative-z {
    position: relative;
    z-index: 5;
}

/* Cosmic Overlay for Legibility & Seamless Blending */
.about-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, #070A12 0%, rgba(7, 10, 18, 0.35) 30%, rgba(7, 10, 18, 0.45) 75%, #070A12 100%),
        radial-gradient(circle at center, transparent 40%, rgba(7, 10, 18, 0.6) 100%);
    pointer-events: none;
    z-index: 2;
}

.about-hero {
    margin-bottom: 50px;
}

.align-left {
    text-align: left;
    margin-left: 0;
    max-width: 640px;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 160px;
    padding: 0 30px;
}

.about-card {
    background: rgba(7, 10, 18, 0.5);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), #991B1B);
    opacity: 0;
    transition: var(--transition-fast);
}

.about-card:hover {
    transform: translateY(-8px);
    background: rgba(239, 68, 68, 0.08);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(239, 68, 68, 0.25), inset 0 0 25px rgba(239, 68, 68, 0.06);
}

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



.about-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.about-card:hover h3 {
    color: var(--accent-red);
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
}


/* --- SEAMLESS ATMOSPHERIC SECTION DIVISION SYSTEM --- */
.section {
    padding: 120px 0;
    position: relative;
}

/* Top & Bottom Seamless Fog/Gradient Dissolves */
.about-section::before,
.services-horizontal-section::before,
.workflow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background: linear-gradient(to bottom, #040711 0%, rgba(4, 7, 17, 0.5) 60%, transparent 100%),
        radial-gradient(ellipse at 50% 0%, rgba(239, 68, 68, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 4;
}

.about-section::after,
.services-horizontal-section::after,
.workflow-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background: linear-gradient(to top, #040711 0%, rgba(4, 7, 17, 0.5) 60%, transparent 100%);
    pointer-events: none;
    z-index: 4;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px auto;
    position: relative;
    z-index: 5;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

/* --- HORIZONTAL CAROUSEL SERVICES SECTION --- */
.services-horizontal-section {
    position: relative;
    background-color: #040711;
    padding: 100px 0;
    overflow: hidden;
}

/* Merged Double Mountain Range Panorama (Section_background.png + Flipped + Moon in Middle) */
.services-bg-panorama {
    position: absolute;
    top: 0;
    left: 0;
    width: 220%;
    /* Double length panorama */
    height: 100%;
    display: flex;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bg-slide {
    position: relative;
    flex: 1;
    height: 100%;
    background-image: url('images/Services_background.webp');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
}

.bg-slide.left-mountain {
    transform: scaleX(-1);
    /* Flipped left mountain range for seamless continuous flow */
}

/* Mask/edit out duplicate moon on left flipped side so ONLY ONE central moon shines in the middle */
.moon-eraser {
    position: absolute;
    top: 5%;
    right: 18%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(4, 7, 17, 0.96) 0%, rgba(4, 7, 17, 0.8) 55%, transparent 100%);
    filter: blur(15px);
    pointer-events: none;
}

.bg-slide.right-mountain {
    transform: scaleX(1);
    /* Right mountain range holding the primary central moon */
}

/* Atmospheric Red Moon Vignette Overlay */
.services-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 35%, rgba(4, 7, 17, 0.25) 0%, rgba(4, 7, 17, 0.88) 85%),
        linear-gradient(to bottom, rgba(4, 7, 17, 0.95) 0%, transparent 20%, transparent 80%, rgba(4, 7, 17, 0.96) 100%);
    pointer-events: none;
    z-index: 1;
}

.services-horizontal-section .container,
.services-track-container {
    position: relative;
    z-index: 2;
}

.services-top-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.corner-top-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(11, 15, 25, 0.85);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition-fast);
    flex-shrink: 0;
    transform: translateY(12px);
}

.corner-top-btn svg {
    width: 22px;
    height: 22px;
}

.corner-top-btn:hover:not(:disabled):not(.disabled) {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #FFFFFF;
    box-shadow: 0 0 25px var(--accent-red-glow);
    transform: translateY(12px) scale(1.08);
}

.corner-top-btn:disabled,
.corner-top-btn.disabled {
    opacity: 0.2;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: rgba(11, 15, 25, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    transform: translateY(12px) scale(1) !important;
}

.services-track-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-top: 24px;
    padding-bottom: 36px;
    padding-left: max(5vw, 40px);
    padding-right: max(5vw, 40px);
    scroll-padding-left: max(5vw, 40px);
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar in Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar in IE/Edge */
}

.services-track-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar track in Chrome/Safari/Blink */
}

.services-horizontal-track {
    display: flex;
    align-items: stretch;
    gap: 32px;
    width: max-content;
    padding-right: max(5vw, 40px);
    perspective: 1000px;
}

.service-horizontal-card {
    width: 365px;
    scroll-snap-align: start;
    background: rgba(11, 15, 25, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    flex-shrink: 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-horizontal-card:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(239, 68, 68, 0.25);
}

.s-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}


.card-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.service-horizontal-card:hover .card-icon-wrap {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--accent-red);
    transform: scale(1.08) translateZ(10px);
}

.card-svg-icon svg {
    width: 36px;
    height: 36px;
}

.service-horizontal-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.service-horizontal-card:hover h3 {
    color: var(--accent-red);
}

.service-horizontal-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-bullets li {
    font-size: 0.88rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 18px;
}

.service-bullets li::before {
    content: '➔';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-size: 0.75rem;
}

.highlight-text {
    color: var(--accent-red);
    text-shadow: 0 0 25px var(--accent-red-glow);
}

/* --- DATA PIPELINE SCROLL TRACK SECTION --- */
.workflow-section {
    position: relative;
    background: #040711;
    padding: 100px max(5vw, 40px) 130px max(5vw, 40px);
    overflow: hidden;
}

.workflow-section .section-header {
    margin-top: 0;
    margin-bottom: 105px;
}

.pipeline-static-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.pipe-static-img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    filter: contrast(1.15) brightness(0.85);
}

.pipe-static-img.img-top {
    object-position: center top;
}

.pipe-static-img.img-bottom {
    object-position: left center;
}

.pipeline-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 45%, rgba(4, 7, 17, 0.28) 0%, rgba(4, 7, 17, 0.92) 85%),
        linear-gradient(to bottom, #040711 0%, transparent 18%, transparent 82%, #040711 100%);
    pointer-events: none;
    z-index: 3;
}

.pipeline-container {
    position: relative;
    z-index: 10;
    max-width: 1040px;
    margin: 0 auto;
    padding: 65px 0 40px;
}

/* Background Muted Track Line */
.pipeline-track-base {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 4px;
}

/* Glowing Neon Data Packet Line */
.pipeline-glowing-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 0%;
    background: linear-gradient(to bottom, var(--accent-red), #FF6B6B, var(--accent-red));
    box-shadow: 0 0 20px var(--accent-red), 0 0 40px var(--accent-red-glow);
    transform: translateX(-50%);
    z-index: 2;
    border-radius: 4px;
}

.pipeline-nodes-wrapper {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.pipeline-row {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
}

.pipeline-empty-space {
    width: 100%;
}

.pipeline-node-center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 6;
}

.node-dot {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #0B0F19;
    border: 2px solid var(--border-glass);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.node-dot.lit {
    background: var(--accent-red);
    color: #FFFFFF;
    border-color: #FFFFFF;
    box-shadow: 0 0 25px var(--accent-red-glow), 0 0 45px var(--accent-red);
    transform: scale(1.15);
}

.pipeline-card-wrap {
    width: 100%;
    perspective: 1000px;
}

.pipeline-card {
    background: rgba(11, 15, 25, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pipeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), #991B1B);
    opacity: 0;
    transition: var(--transition-fast);
}

.pipeline-card:hover,
.pipeline-card.active-reveal {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(239, 68, 68, 0.25);
}

.pipeline-card:hover::before,
.pipeline-card.active-reveal::before {
    opacity: 1;
}

.p-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.p-phase-badge {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent-red);
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.p-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    transition: var(--transition-smooth);
}

.pipeline-card:hover .p-icon-box,
.pipeline-card.active-reveal .p-icon-box {
    background: var(--accent-red);
    color: #FFFFFF;
    box-shadow: 0 0 20px var(--accent-red-glow);
    transform: scale(1.08);
}

.p-icon-box svg {
    width: 24px;
    height: 24px;
}

.pipeline-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.pipeline-card:hover h3,
.pipeline-card.active-reveal h3 {
    color: var(--accent-red);
}

.pipeline-card p {
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.65;
}

@media (max-width: 868px) {
    .pipeline-row {
        grid-template-columns: 50px 1fr;
    }

    .pipeline-empty-space {
        display: none;
    }

    .pipeline-track-base,
    .pipeline-glowing-line {
        left: 25px;
    }

    .pipeline-row.row-left .pipeline-card-wrap {
        order: 2;
    }

    .pipeline-row.row-left .pipeline-node-center {
        order: 1;
    }
}

/* --- CONTACT SECTION --- */
#contact {
    position: relative;
    background: #03050c;
    padding-bottom: 40px;
    overflow: hidden;
}

.contact-container {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 50px;
}

.contact-card-bg-logo {
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
    width: 480px;
    max-width: 80%;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-bg-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0.16;
    filter: drop-shadow(0 0 35px rgba(239, 68, 68, 0.35));
}

.contact-info,
.contact-form {
    position: relative;
    z-index: 5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.info-icon {
    width: 44px;
    height: 44px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    font-size: 1.2rem;
}

/* Hardened Honeypot CSS - Ensures complete removal from visual rendering */
.honeypot-field {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input {
    background: #070A12;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.25);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}


.h-captcha {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 65px;
    padding: 10px;
}

/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 460px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-emerald);
    margin: 0 auto 20px auto;
}

.modal-icon.error-icon {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
}

/* --- CREATIVE FOOTER SECTION --- */
.creative-footer {
    position: relative;
    background: #03050c;
    border-top: none;
    padding: 20px 0 50px 0;
    overflow: hidden;
}

.footer-top-brand {
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
}

.footer-logo-img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(239, 68, 68, 0.5));
    transition: transform var(--transition-fast);
}

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


.footer-social-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-icon-btn svg {
    width: 20px;
    height: 20px;
}

.social-icon-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: translateY(-3px);
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.35);
}

.footer-registration-info {
    max-width: 540px;
    margin: 0 auto 32px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.reg-card-line {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 10px 20px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.reg-card-line:hover {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.25);
    transform: translateY(-2px);
}

.reg-card-line .reg-label {
    color: var(--text-muted);
}


.reg-code {
    font-family: monospace;
    color: var(--text-primary);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    letter-spacing: 0.6px;
}


.footer-copyright-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {

    .hero-content h1,
    .section-title,
    .section-header h2 {
        font-size: 32px !important;
        line-height: 1.2;
    }

    .about-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section {
        background-image: url('images/About_background-mobile.webp');
        background-position: center top 0px;
        background-size: cover;
    }

    .about-section .section-description {
        display: none !important;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-card-bg-logo {
        left: 50%;
        width: 380px;
        max-width: 85%;
    }

    .pipeline-card h3 {
        font-size: 1.3rem !important;
        line-height: 1.25;
        letter-spacing: -0.4px;
    }

    .contact-info h3 {
        font-size: 1.75rem !important;
        line-height: 1.25;
        letter-spacing: -0.4px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 24px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 80vw;
        height: 100vh;
        background: rgba(7, 10, 18, 0.96);
        backdrop-filter: blur(25px) saturate(180%);
        -webkit-backdrop-filter: blur(25px) saturate(180%);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 110px 35px 40px 35px;
        gap: 24px;
        border-left: 1px solid rgba(239, 68, 68, 0.3);
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.85);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links .nav-link {
        display: block;
        width: 100%;
        font-size: 1.2rem;
        font-weight: 600;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        color: var(--text-secondary);
    }

    .nav-links .nav-link:hover {
        color: var(--accent-red);
        border-bottom-color: var(--accent-red);
    }

    .hero-parallax {
        justify-content: center;
        padding: 20px;
    }

    .hero-content {
        text-align: center;
        padding: 30px 20px;
    }

    .hero-content h1,
    .section-title,
    .section-header h2 {
        font-size: 30px !important;
        line-height: 1.2;
    }

    .pipeline-card h3 {
        font-size: 1.2rem !important;
        line-height: 1.25;
        letter-spacing: -0.4px;
    }

    .contact-info h3 {
        font-size: 1.55rem !important;
        line-height: 1.25;
        letter-spacing: -0.4px;
    }

    .hero-content p {
        display: none !important;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-pillars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .about-section {
        padding: 90px 24px 80px 24px;
    }
}

@media (max-width: 630px) {

    .hero-content h1,
    .section-title,
    .section-header h2 {
        font-size: 26px !important;
        line-height: 1.25;
    }

    .pipeline-card h3 {
        font-size: 1.1rem !important;
        line-height: 1.25;
        letter-spacing: -0.3px;
    }

    .contact-info h3 {
        font-size: 1.35rem !important;
        line-height: 1.25;
        letter-spacing: -0.3px;
    }

    .about-section {
        background-image: url('images/About_background-mobile.webp');
        background-position: center top 50px;
        background-size: cover;
        padding-top: 110px;
    }

    .about-card p {
        font-size: 14px !important;
        line-height: 1.55;
    }

    .about-card {
        padding: 26px 20px;
    }

    .services-track-container {
        padding-left: 16px;
        padding-right: 16px;
        scroll-padding-left: 16px;
    }

    .services-horizontal-track {
        gap: 18px;
        padding-right: 16px;
    }

    .service-horizontal-card {
        width: calc(100vw - 32px);
        max-width: 440px;
        padding: 24px 20px;
    }

    .service-horizontal-card h3 {
        font-size: 1.15rem;
    }

    .service-horizontal-card p {
        font-size: 13.5px;
        line-height: 1.5;
    }

    .corner-top-btn {
        width: 44px;
        height: 44px;
    }

    .corner-top-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 425px) {
    .about-section {
        background-image: url('images/About_background-mobile.webp');
        background-position: center top 60px;
        background-size: cover;
        padding: 120px 16px 60px 16px;
    }

    .section-title,
    .section-header h2,
    .hero-content h1 {
        font-size: 20px !important;
        line-height: 1.25;
    }

    .pipeline-card h3 {
        font-size: 1.02rem !important;
        line-height: 1.25;
        letter-spacing: -0.2px;
    }

    .contact-info h3 {
        font-size: 1.2rem !important;
        line-height: 1.25;
        letter-spacing: -0.2px;
    }
}

@media (max-width: 360px) {
    #contact .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .contact-container {
        padding: 20px 10px !important;
        border-radius: 12px;
        gap: 24px;
    }

    .contact-form {
        gap: 14px;
    }

    .form-input {
        padding: 12px 10px !important;
        font-size: 0.88rem !important;
        border-radius: 8px;
    }

    .form-group label {
        font-size: 0.82rem !important;
    }

    .contact-info h3 {
        font-size: 1.12rem !important;
        line-height: 1.25;
        letter-spacing: -0.2px;
    }

    .contact-info p {
        font-size: 0.88rem !important;
        margin-bottom: 16px;
    }

    .info-item {
        gap: 10px;
        margin-bottom: 14px;
    }

    .info-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}