/* ==========================================================================
   1. GLOBAL VARIABLES, RESET & DESIGN TOKENS
   ========================================================================== */
:root {
    --bg-body: #ffffff;
    --bg-panel: rgba(255, 255, 255, 0.99); 
    --text-main: #0f172a;
    --text-muted: #1e293b; 
    --accent-blue: #0284c7;
    --accent-dark: #0369a1;
    --border-light: #cbd5e1; 
    --table-header: #f1f5f9;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url('../images/network-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: var(--bg-body);
}

/* ==========================================================================
   2. STICKY LIQUID HEADER NAVIGATION
   ========================================================================== */
nav {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: pointer;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-main);
    text-transform: uppercase;
}

.logo-text span {
    color: var(--accent-blue);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a {
    color: #334155;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding-bottom: 0.25rem;
    transition: color 0.2s, border-color 0.2s;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover, 
.nav-menu a.active {
    color: var(--accent-blue);
    border-bottom: 2px solid var(--accent-blue);
}

/* ==========================================================================
   3. RESPONSIVE CONTAINER & HERO FRAMEWORKS
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    flex: 1;
    width: 100%;
}

.hero {
    background-color: var(--bg-panel); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1);
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.85rem);
    color: #0284c7;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Badges Layout */
.badge-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.status-badge {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* ==========================================================================
   4. STRUCTURAL UTILITY GRID INTERFACES
   ========================================================================== */
h2 {
    color: #0284c7;
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    margin: 3rem 0 1.5rem 0;
    font-weight: 800;
    background-color: rgba(255, 255, 255, 0.98);
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border-light);
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

/* Flexible Multi-Column Responsive Grid Blocks */
.grid-layout, 
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
}

.panel-card {
    background-color: var(--bg-panel) !important;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.panel-card p {
    color: #ffffff !important;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

.panel-card ul {
    padding-left: 1.2rem;
    margin: 0;
}

.panel-card li {
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: #ffffff;
}

/* ==========================================================================
   5. FORM AND INTERACTIVE COMPONENT CONFIGURATIONS
   ========================================================================== */
.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

select, input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    box-sizing: border-box;
    background-color: #ffffff;
    font-family: inherit;
}

textarea {
    resize: vertical;
}

select:focus, input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.result-display {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
}

.action-box {
    background-color: rgba(15, 23, 42, 0.98);
    color: #ffffff;
    border-radius: 12px;
    padding: 3rem 1.5rem;
    text-align: center;
    margin: 3rem auto 0 auto;
    width: calc(100% - 2rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255,255,255,0.1);
}

.action-box h3 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    color: #0284c7;
    margin-bottom: 0.75rem;
}

.action-box p {
    color: #ffffff;
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 2rem;
	font-weight: bold;
}

.btn-primary, .btn-submit {
    display: inline-block;
    width: auto;
    background-color: var(--accent-blue);
    color: #ffffff;
    text-decoration: none;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.btn-submit {
    width: 100%;
}

.btn-primary:hover, .btn-submit:hover {
    background-color: var(--accent-dark);
}

/* ==========================================================================
   6. TABLES AND CONTENT BOX OVERRIDES
   ========================================================================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background-color: var(--bg-panel);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
    min-width: 600px; /* Forces touch-scroll handling on tiny phones instead of compression */
}

th {
    background-color: var(--table-header);
    color: var(--text-main);
    padding: 1rem;
    font-weight: 800;
    border-bottom: 1px solid var(--border-light);
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-muted);
    font-weight: 500;
}

.text-container-box {
    background-color: rgba(255, 255, 255, 0.95);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1rem;
    border-radius: 6px;
}

/* ==========================================================================
   7. FLUID BROAD MEDIA MAPPING DEVICE RESPONSIVENESS (BREAKPOINTS)
   ========================================================================== */

/* ── Tablet / Small Laptop Layout Changes (Under 960px) ── */
@media (max-width: 960px) {
    nav {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.25rem 1rem;
        text-align: center;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .container {
        padding: 1.5rem 1rem;
    }
    
    .hero {
        padding: 2rem 1.5rem;
    }

    footer {
        padding: 2.5rem 1rem !important;
    }

    .footer-wrap {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 2rem !important;
    }

    .footer-nav {
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 1rem !important;
    }
}

/* ── Smartphone Layout Changes (Under 520px) ── */
@media (max-width: 520px) {
    nav {
        padding: 1rem 0.5rem;
    }

    .logo-area {
        gap: 0.5rem;
    }

    .logo-text {
        font-size: 1.15rem;
    }

    .logo-area span[style*="font-size"] {
        font-size: 0.58rem !important;
    }

    .nav-menu {
        gap: 0.75rem 0.5rem;
    }

    .nav-menu a {
        font-size: 0.85rem;
    }

    .hero {
        padding: 1.5rem 1rem;
    }

    .panel-card {
        padding: 1.5rem 1rem;
    }

    .badge-row {
        flex-direction: column;
    }
}

/* ==========================================================================
   8. HOMEPAGE HIGHLIGHTS & PLATFORM TAGS
   ========================================================================== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--accent-blue);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1);
}

.stat-number {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--accent-blue);
}

.stat-label {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.panel-card ul.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding-left: 0;
}

.panel-card .chip-list li {
    margin: 0;
    padding: 0.3rem 0.75rem;
    background-color: #f1f5f9;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

        /* Static card color system matching the client ticker */
        .panel-card,
        .stat-card,
        .action-box {
            background: rgba(30, 41, 59, 0.8) !important;
            border-color: rgba(148, 163, 184, 0.25) !important;
            color: #0284c7 !important;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        }

        .panel-card h3,
        .panel-card h2,
        .stat-card .stat-number {
            color: #0284c7;
        }

        .panel-card p,
        .panel-card li,
        .stat-card .stat-label {
            color: #ffffff;
        }

        .panel-card:hover,
        .stat-card:hover {
            transform: none !important;
        }

        .client-ticker {
            position: relative;
            width: 100%;
            overflow: hidden;
            margin: 1.5rem 0 3rem;
            padding: 1rem 0;
            border-top: 1px solid rgba(148, 163, 184, 0.2);
            border-bottom: 1px solid rgba(148, 163, 184, 0.2);
            background: rgba(15, 23, 42, 0.45);
        }

        .client-ticker::before,
        .client-ticker::after {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            width: 90px;
            z-index: 2;
            pointer-events: none;
        }

        /* Remote Hands moving workflow blocks */
        .remote-hands-intro {
            background: rgba(15, 23, 42, 0.92);
            color: #e2e8f0;
            border: 1px solid rgba(56, 189, 248, 0.25);
        }

        .remote-hands-ticker {
            position: relative;
            width: 100%;
            overflow: hidden;
            padding: 0.5rem 0 1.25rem;
            margin-bottom: 2rem;
        }

        .remote-hands-ticker::before,
        .remote-hands-ticker::after {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            width: 90px;
            z-index: 2;
            pointer-events: none;
        }

        .remote-hands-ticker::before {
            left: 0;
            background: linear-gradient(to right, var(--bg-main, #020617), transparent);
        }

        .remote-hands-ticker::after {
            right: 0;
            background: linear-gradient(to left, var(--bg-main, #020617), transparent);
        }

        .remote-hands-track {
            display: flex;
            width: max-content;
            animation: remoteHandsTicker 28s linear infinite;
            will-change: transform;
        }

        .remote-hands-group {
            display: flex;
            gap: 1.25rem;
            padding-right: 1.25rem;
        }

        .remote-hands-block {
            width: 285px;
            min-height: 1px;
            box-sizing: border-box;
            padding: 1.4rem 1.5rem;
            border: 1px solid rgba(56, 189, 248, 0.28);
            border-top: 3px solid var(--accent-blue);
            border-radius: 12px;
            background: rgba(15, 23, 42, 0.96);
            color: #e2e8f0;
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
        }

        .remote-hands-block span {
            display: inline-block;
            margin-bottom: 0.55rem;
            color: var(--accent-blue);
            font-size: 0.82rem;
            font-weight: 800;
            letter-spacing: 1px;
        }

        .remote-hands-block h3 {
            margin: 0 0 0.7rem;
            color: #ffffff;
        }

        .remote-hands-block p {
            margin: 0;
            color: #ffffff;
			font-weight: 500;
            line-height: 1.55;
        }

        @keyframes remoteHandsTicker {
            from { transform: translateX(-50%); }
            to { transform: translateX(0); }
        }

        .remote-hands-ticker:hover .remote-hands-track {
            animation-play-state: paused;
        }

        @media (prefers-reduced-motion: reduce) {
            .remote-hands-track { animation: none; }
        }

        @media (max-width: 600px) {
            .remote-hands-block {
                width: 250px;
                min-height: 175px;
            }
        }

        .client-ticker::before {
            left: 0;
            background: linear-gradient(to right, var(--bg-main, #020617), transparent);
        }

        .client-ticker::after {
            right: 0;
            background: linear-gradient(to left, var(--bg-main, #020617), transparent);
        }

        .client-ticker-track {
            display: flex;
            width: max-content;
            animation: clientTicker 24s linear infinite;
            will-change: transform;
        }

        .client-ticker-group {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding-right: 1rem;
        }

        .client-ticker-item {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 190px;
            height: 64px;
            padding: 0 1.75rem;
            border: 1px solid rgba(148, 163, 184, 0.25);
            border-radius: 10px;
            background: rgba(30, 41, 59, 0.8);
            color: #ffffff;
            font-size: 1.05rem;
            font-weight: 800;
            letter-spacing: 0.2px;
            white-space: nowrap;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        }

        .client-ticker-item span {
            color: var(--accent-blue);
            margin-right: 0.55rem;
            font-size: 0.7rem;
        }

        @keyframes clientTicker {
            from { transform: translateX(0); }
            to { transform: translateX(-50%); }
        }

        .client-ticker:hover .client-ticker-track {
            animation-play-state: paused;
        }

        @media (prefers-reduced-motion: reduce) {
            .client-ticker-track { animation: none; }
        }

        @media (max-width: 600px) {
            .client-ticker-item {
                min-width: 160px;
                height: 56px;
                padding: 0 1.25rem;
                font-size: 0.95rem;
            }
        }
		
		