/* ==========================================================================
   INNOTECH SOLUTIONS - Styling System (Custom Modern Vanilla CSS)
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
    --bg-primary: #0a0c10;
    --bg-secondary: #11141d;
    --bg-tertiary: #161b26;
    
    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --accent-purple: #7f00ff;
    --accent-neon: #39ff14;
    
    --text-main: #f1f3f9;
    --text-muted: #8b9bb4;
    --text-dark: #07090e;
    
    --glass-bg: rgba(17, 20, 29, 0.6);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-glow: rgba(0, 242, 254, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-tech: 'Orbitron', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-glow: 0 8px 32px 0 rgba(0, 242, 254, 0.15);
}

/* Reset and Global Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

/* Background Animations and Overlays */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -3;
    pointer-events: none;
}

#hero-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    opacity: 0.65;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    opacity: 0.25;
    pointer-events: none;
    animation: orbFloat 20s infinite alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-cyan), var(--accent-blue));
    top: 10%;
    right: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-purple), transparent);
    bottom: -100px;
    left: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-blue), transparent);
    top: 50%;
    left: 40%;
    animation-delay: 10s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 80px) scale(1.1); }
}

/* Glassmorphism Panel Base Utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: var(--shadow-glow);
}

/* Layout Utilities */
.container, .nav-container, .hero-block, .about-container, .projects-container, .services-container, .contact-container, .footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography & Text */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Sticky Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 100;
    background: rgba(10, 12, 16, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: 70px;
    background: rgba(10, 12, 16, 0.9);
}

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

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

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.main-header.scrolled .logo-img {
    height: 50px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    color: var(--text-main);
    letter-spacing: 0.05em;
    display: block;
}

.logo-text .highlight {
    font-weight: 300;
    color: var(--accent-cyan);
}

/* ==========================================================================
   INTERACTIVE EMBLEM GRAPHIC STYLING
   ========================================================================== */
.interactive-emblem-container {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    cursor: pointer;
    user-select: none;
    margin: 0 auto;
}

.interactive-emblem-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    z-index: 5;
    filter: drop-shadow(0 0 25px rgba(0, 242, 254, 0.4));
    transition: transform 0.15s ease-out, filter 0.3s ease;
    transform-style: preserve-3d;
}

.interactive-emblem-container:hover .interactive-emblem-img {
    filter: drop-shadow(0 0 45px rgba(0, 242, 254, 0.7)) drop-shadow(0 0 15px rgba(127, 0, 255, 0.5));
}

/* Glow rings simulating holographic orbits */
.emblem-glow-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0, 242, 254, 0.15);
    background: transparent;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.ring-1 {
    width: 280px;
    height: 280px;
    border-style: dashed;
    animation: spinRing 25s infinite linear;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
}

.ring-2 {
    width: 240px;
    height: 240px;
    border: 1px solid rgba(127, 0, 255, 0.2);
    animation: spinRingReverse 18s infinite linear;
}

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

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

/* Scanning Overlay Bar */
.emblem-scan-line {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-blue), transparent);
    box-shadow: 0 0 12px var(--accent-cyan);
    z-index: 6;
    opacity: 0;
    pointer-events: none;
}

.emblem-scan-line.scanning {
    animation: scanEmblem 1.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes scanEmblem {
    0% { top: 15%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 85%; opacity: 0; }
}

/* User interaction guide label */
.emblem-interactive-hint {
    position: absolute;
    bottom: 5px;
    font-family: var(--font-tech);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.interactive-emblem-container:hover .emblem-interactive-hint {
    color: var(--accent-cyan);
    opacity: 1;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-cyan);
    transition: var(--transition-smooth);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    padding: 12px 28px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-smooth);
}

/* SPA Pages Router Animations */
.page-container {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    position: relative;
}

.page-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding: 60px 0;
}

.page-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Section Header standard styling */
.section-header {
    margin-bottom: 48px;
}

.section-header.text-center {
    text-align: center;
}

.section-badge {
    display: inline-block;
    font-family: var(--font-tech);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* HOME PAGE STYLING */
/* Hero Layout */
.hero-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 40px 0 80px 0;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 20px;
    font-family: var(--font-tech);
    font-size: 11px;
    color: var(--accent-cyan);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
}

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

/* Hardware architecture diagram style */
.hardware-visual-container {
    width: 100%;
    max-width: 480px;
    padding: 24px;
}

.architecture-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    position: relative;
}

.arch-node {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 20px;
    width: 100%;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.arch-node .node-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 8px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.arch-node .node-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
}

/* Active node state glow */
.arch-node.active {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
    background: rgba(0, 242, 254, 0.03);
}

.arch-node.active .node-icon {
    background: var(--accent-cyan);
    color: var(--text-dark);
}

.flow-arrow {
    width: 2px;
    height: 16px;
    background: var(--glass-border);
    position: relative;
    transition: var(--transition-smooth);
}

.flow-arrow.active {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* ==========================================================================
   INTERACTIVE SYSTEM ARCHITECT WIDGET CSS
   ========================================================================== */
.architect-widget-section {
    padding: 80px 0;
}

.architect-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    padding: 40px;
    margin-top: 24px;
}

.architect-controls {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cfg-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cfg-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.cfg-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cfg-opt-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 14px;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    text-align: left;
    transition: var(--transition-smooth);
}

.cfg-opt-btn:hover {
    border-color: rgba(0, 242, 254, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.cfg-opt-btn.active {
    border-color: var(--accent-cyan);
    color: var(--text-main);
    background: rgba(0, 242, 254, 0.05);
    box-shadow: inset 0 0 10px rgba(0, 242, 254, 0.1);
}

/* Schematic Board Visual Output */
.schematic-board {
    background: #080a0f;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.schematic-title {
    font-family: var(--font-tech);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.schematic-nodes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    position: relative;
}

.sch-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.sch-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.2);
    transition: var(--transition-smooth);
}

.sch-name {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
}

.sch-line {
    height: 2px;
    flex-grow: 1;
    background: var(--glass-border);
    position: relative;
    z-index: 1;
    margin: 0 -10px;
}

.sch-line.active {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

/* Telemetry Output list */
.telemetry-output-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.tel-stat {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-body);
}

.tel-label {
    color: var(--text-muted);
    font-size: 14px;
}

.tel-val {
    font-family: var(--font-tech);
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 14px;
}

/* Advisor Panel styling */
.architect-advisor {
    border-left: 3px solid var(--accent-purple);
    background: rgba(127, 0, 255, 0.04);
    padding: 20px;
    border-radius: 0 12px 12px 0;
}

.advisor-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.advisor-text {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

/* Focus overview expertise cards */
.home-expertise-section {
    padding: 60px 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 48px;
}

.expertise-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
}

.expertise-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.1);
}

.card-icon {
    color: var(--accent-cyan);
    margin-bottom: 24px;
}

.expertise-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.expertise-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Core Technologies Stack Banner */
.tech-stack-banner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px;
    margin: 60px 0;
    text-align: center;
}

.tech-stack-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.tech-row-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.25), rgba(9, 9, 121, 0.4), rgba(0, 242, 254, 0.25), transparent);
    width: 80%;
    margin: 8px auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.tech-logo {
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.tech-item:hover .tech-logo {
    transform: scale(1.15);
}

.tech-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-main);
}

.tech-detail {
    font-family: var(--font-tech);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* ABOUT US STYLING */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: 40px;
}

.about-text-block, .about-team-timeline {
    padding: 40px;
}

.about-text-block h3, .about-team-timeline h3 {
    font-size: 22px;
    margin-bottom: 24px;
    border-left: 3px solid var(--accent-cyan);
    padding-left: 14px;
}

.about-text-block p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 16px;
}

.focus-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bullet-check {
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 18px;
}

.bullet-item span {
    font-size: 15px;
}

/* About timeline */
.timeline-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    padding-left: 20px;
    border-left: 1px solid var(--glass-border);
}

.timeline-step {
    position: relative;
}

.step-marker {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 26px;
    height: 26px;
    background: var(--bg-tertiary);
    border: 1px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-cyan);
}

.step-content h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 14px;
}

/* PROJECTS GALLERY STYLING */
/* Filter tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-cyan);
    color: var(--text-dark);
    border-color: var(--accent-cyan);
}

/* Projects grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.proj-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(17, 20, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-cyan);
    font-family: var(--font-tech);
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.project-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.project-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.5;
}

.tech-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tech-tags span {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
}

/* SERVICES STYLING */
.services-interactive-block {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    margin-top: 40px;
}

.services-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-nav-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px 24px;
    text-align: left;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-nav-item:hover, .service-nav-item.active {
    background: var(--bg-tertiary);
    border-color: var(--accent-cyan);
    color: var(--text-main);
}

.svc-num {
    font-family: var(--font-tech);
    font-weight: 800;
    font-size: 20px;
    color: var(--accent-cyan);
    opacity: 0.7;
}

.svc-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
}

.services-display {
    padding: 40px;
    min-height: 380px;
    display: flex;
    align-items: center;
}

.service-detail-view {
    display: none;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.service-detail-view.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.detail-header {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 30px;
}

.detail-icon {
    color: var(--accent-cyan);
}

.detail-title-group h3 {
    font-size: 24px;
    margin-bottom: 6px;
}

.detail-lead {
    color: var(--text-muted);
    font-size: 15px;
}

.detail-body h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-main);
}

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

.svc-bullets li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    color: var(--text-muted);
}

.svc-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

/* CONTACT STYLING */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-form-block {
    padding: 40px;
    position: relative;
}

.contact-form-block h3 {
    font-size: 22px;
    margin-bottom: 30px;
}

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

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

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

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
}

.form-group input, .form-group select, .form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-main);
}

.submit-arrow {
    margin-left: 10px;
    transition: var(--transition-smooth);
}

.btn:hover .submit-arrow {
    transform: translateX(4px);
}

/* Success state styling */
.form-success-alert {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border-radius: 16px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    z-index: 5;
    animation: fadeIn 0.4s ease forwards;
}

.alert-icon {
    width: 60px;
    height: 60px;
    background: rgba(57, 255, 20, 0.1);
    border: 2px solid var(--accent-neon);
    color: var(--accent-neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 24px;
}

.alert-content h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.alert-content p {
    color: var(--text-muted);
    font-size: 15px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Contact Details Block */
.contact-details-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px;
}

.contact-details-block h3 {
    font-size: 22px;
    margin-bottom: 6px;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.detail-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(0, 242, 254, 0.15);
}

.detail-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
}

.detail-card-info {
    display: flex;
    flex-direction: column;
}

.detail-card-label {
    font-size: 13px;
    color: var(--text-muted);
}

.detail-card-value {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a.detail-card-value:hover {
    color: var(--accent-cyan);
}

/* Map Mockup Widget */
.map-mockup {
    height: 220px;
    border-radius: 16px;
    position: relative;
    background: radial-gradient(circle at center, #1b2234 0%, #0d111b 100%);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.map-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
}

.map-radar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 1px solid rgba(0, 242, 254, 0.4);
    border-radius: 50%;
    animation: radarPulse 3s infinite linear;
}

@keyframes radarPulse {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 220px; height: 220px; opacity: 0; }
}

.map-pointer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background: var(--accent-cyan);
    border: 3px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px var(--accent-cyan);
}

.map-overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(10, 12, 16, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
}

/* FOOTER STYLING */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px 0;
    margin-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo-area {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 320px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 16px;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
    .hero-block {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 20px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .architect-container {
        grid-template-columns: 1fr;
    }
    
    .services-interactive-block {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile Menu Drawer style */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        padding-top: 60px;
        gap: 40px;
        transition: var(--transition-smooth);
        z-index: 99;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .header-actions .btn {
        display: none; /* Hide button on mobile bar */
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .stats-banner {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cfg-options {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SITE PRELOADER STYLING
   ========================================================================== */
#site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

#site-preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.preloader-logo {
    width: 110px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.4));
    animation: logoDropBounce 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes logoDropBounce {
    0% { transform: translateY(-120px) scale(0.6); opacity: 0; }
    60% { transform: translateY(12px) scale(1.05); }
    80% { transform: translateY(-6px) scale(0.97); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.preloader-bar-bg {
    width: 180px;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-top: 28px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.02);
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    box-shadow: 0 0 10px var(--accent-cyan);
    border-radius: 4px;
    transition: width 0.1s linear;
}

.preloader-text {
    font-family: var(--font-tech);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    margin-top: 16px;
    opacity: 0.8;
}

/* ==========================================================================
   HORIZONTAL PIPELINE ROW STYLING
   ========================================================================== */
.hero-pipeline-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px auto 20px auto;
    width: 100%;
}

.pipeline-title {
    font-family: var(--font-tech);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 28px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 242, 254, 0.1);
    padding-bottom: 8px;
}

.hero-pipeline-row .hardware-visual-container {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

.hero-pipeline-row .architecture-flow {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0;
}

.hero-pipeline-row .arch-node {
    flex-direction: column;
    text-align: center;
    padding: 16px 12px;
    width: 165px;
    gap: 10px;
}

.hero-pipeline-row .arch-node .node-icon {
    margin: 0;
}

.hero-pipeline-row .arch-node .node-label {
    font-size: 12px;
}

/* Horizontal Flow Arrows */
.hero-pipeline-row .flow-arrow {
    width: 45px;
    height: 2px;
    background: var(--glass-border);
    position: relative;
    margin: 0 -5px;
}

.hero-pipeline-row .flow-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid var(--glass-border);
}

.hero-pipeline-row .flow-arrow.active {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.hero-pipeline-row .flow-arrow.active::after {
    border-left-color: var(--accent-cyan);
}

/* Responsive adjustment for horizontal pipeline */
@media (max-width: 992px) {
    .hero-pipeline-row .architecture-flow {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-pipeline-row .flow-arrow {
        width: 2px;
        height: 16px;
        margin: 0;
    }
    
    .hero-pipeline-row .flow-arrow::after {
        right: -4px;
        bottom: 0;
        top: auto;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid var(--glass-border);
    }
    
    .hero-pipeline-row .flow-arrow.active::after {
        border-top-color: var(--accent-cyan);
    }
    
    .hero-pipeline-row .arch-node {
        flex-direction: row;
        width: 100%;
        text-align: left;
        max-width: 400px;
    }
}

/* ==========================================================================
   EXPERT CARDS MICRO-VISUALS ANIMATIONS
   ========================================================================== */
.card-visual-wrapper {
    height: 110px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.micro-visual-svg {
    width: 85px;
    height: 85px;
    overflow: visible;
}

/* 1. IoT Trace Animation */
.pulsing-trace {
    stroke-dasharray: 6, 6;
    stroke-dashoffset: 12;
    animation: flowPulse 2.5s infinite linear;
}

.pulsing-trace.delay-1 { animation-delay: 0.6s; }
.pulsing-trace.delay-2 { animation-delay: 1.2s; }
.pulsing-trace.delay-3 { animation-delay: 1.8s; }

@keyframes flowPulse {
    to {
        stroke-dashoffset: -12;
    }
}

.center-pulse {
    animation: centerNodePulse 2s infinite ease-in-out;
    transform-origin: center;
}

@keyframes centerNodePulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 8px var(--accent-cyan)); }
    100% { transform: scale(1); opacity: 0.8; }
}

/* 2. Machine Learning Neural Network Animation */
.node-glow {
    animation: nodePulse 2s infinite alternate ease-in-out;
}

.node-glow.delay-1 { animation-delay: 0.4s; }
.node-glow.delay-2 { animation-delay: 0.8s; }
.node-glow.delay-3 { animation-delay: 1.2s; }

@keyframes nodePulse {
    0% { opacity: 0.6; r: 3.5px; }
    100% { opacity: 1; r: 5px; filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.8)); }
}

.node-glow-main {
    animation: nodeMainGlow 1.5s infinite alternate ease-in-out;
}

@keyframes nodeMainGlow {
    0% { r: 4.5px; filter: drop-shadow(0 0 4px var(--accent-cyan)); }
    100% { r: 6.5px; filter: drop-shadow(0 0 12px var(--accent-cyan)) drop-shadow(0 0 4px var(--accent-blue)); }
}

.nn-signal {
    animation: signalMove 3s infinite linear;
}

.nn-signal.path-1 {
    offset-path: path('M 20 30 L 50 50 L 80 50');
}

.nn-signal.path-2 {
    offset-path: path('M 20 70 L 50 50 L 80 50');
    animation-delay: 1.5s;
}

@keyframes signalMove {
    0% { offset-distance: 0%; opacity: 1; }
    90% { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
}

/* 3. Mobile & Web Apps Mockup Animation */
.chart-bar {
    transform-origin: bottom;
    animation: barGrow 2.5s infinite ease-in-out alternate;
}

.chart-bar.bar-1 { animation-delay: 0.2s; }
.chart-bar.bar-2 { animation-delay: 0.7s; }
.chart-bar.bar-3 { animation-delay: 1.2s; }
.chart-bar.bar-4 { animation-delay: 1.7s; }

@keyframes barGrow {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1); }
}

.status-pulse {
    animation: statusPulse 1s infinite alternate ease-in-out;
}

@keyframes statusPulse {
    0% { opacity: 0.4; filter: drop-shadow(0 0 2px var(--accent-neon)); }
    100% { opacity: 1; filter: drop-shadow(0 0 6px var(--accent-neon)); }
}

/* Interactive Landmark Links */
.map-link {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.map-link:hover {
    color: var(--text-main);
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

.footer-contact .map-link {
    color: var(--text-muted);
}

.footer-contact .map-link:hover {
    color: var(--accent-cyan);
}

