/* ==========================================================================
   TNS Network Solutions Co., Ltd. - Main Stylesheet
   Design System: Modern Enterprise Tech & Clean Energy
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --primary-bg: #0a1128;
    --primary-surface: #111c38;
    --primary-surface-hover: #18284e;
    
    --accent-cyan: #00d2ff;
    --accent-cyan-glow: rgba(0, 210, 255, 0.25);
    --accent-blue: #0052cc;
    --accent-amber: #f59e0b;
    --accent-amber-glow: rgba(245, 158, 11, 0.25);
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    
    --light-bg: #f8fafc;
    --light-surface: #ffffff;
    
    --text-dark: #0f172a;
    --text-slate: #334155;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --text-dim: #94a3b8;

    --border-dark: rgba(255, 255, 255, 0.12);
    --border-light: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', 'Prompt', sans-serif;
    --font-body: 'Prompt', 'Plus Jakarta Sans', sans-serif;
    
    /* Layout & Utilities */
    --container-max: 1240px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --shadow-dark-card: 0 15px 35px -10px rgba(0, 0, 0, 0.35);
}

/* --------------------------------------------------------------------------
   2. Reset & General Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text-slate);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-cyan { color: var(--accent-cyan); }
.text-amber { color: var(--accent-amber); }
.text-green { color: var(--accent-green); }

/* --------------------------------------------------------------------------
   3. Header & Navigation Bar
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.1rem 0;
    transition: var(--transition);
    background-color: rgba(10, 17, 40, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.scrolled {
    padding: 0.8rem 0;
    background-color: rgba(10, 17, 40, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.official-logo {
    height: 44px;
    width: auto;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.official-logo:hover {
    transform: scale(1.03);
}

.footer-logo {
    height: 48px;
    width: auto;
    border-radius: var(--radius-sm);
    margin-bottom: 0.8rem;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #ffffff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.accent-text {
    color: var(--accent-cyan);
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* Main Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-link {
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link.active::after, .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 2px;
}

/* Header Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.7rem 1.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, #00d2ff, #0052cc);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.45);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid var(--border-dark);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-cyan);
}

.btn-lg {
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-toggle .bar {
    width: 24px;
    height: 2.5px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--primary-surface);
    z-index: 1100;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 1rem;
}

.drawer-title {
    color: #ffffff;
    font-weight: 700;
}

.drawer-close {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 2rem;
    cursor: pointer;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

.drawer-link {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    background-color: var(--primary-bg);
    color: #ffffff;
    padding: 11rem 0 6rem;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(0, 210, 255, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.6;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.hero-glow-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(0, 210, 255, 0.15);
}

.hero-glow-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(0, 82, 204, 0.2);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 210, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 210, 255, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.2rem;
}

.gradient-text {
    background: linear-gradient(135deg, #00d2ff, #38ef7d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 2.2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-trust-badges {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid var(--border-dark);
    padding-top: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* Hero Visual Command Card */
.visual-card-glass {
    background: rgba(17, 28, 56, 0.7);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-dark-card);
}

.visual-header {
    background: rgba(10, 17, 40, 0.8);
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-dark);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.window-dots .red { background: #ff5f56; }
.window-dots .yellow { background: #ffbd2e; }
.window-dots .green { background: #27c93f; }

.visual-title {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-family: var(--font-heading);
    font-weight: 600;
}

.status-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 5px;
}

.dot-live {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.visual-body {
    padding: 1.5rem;
}

/* Tech Graphic Orbit */
.tech-graphic-box {
    background: rgba(10, 17, 40, 0.5);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.2rem;
    border: 1px dashed rgba(0, 210, 255, 0.2);
    position: relative;
}

.node-network {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 140px;
}

.center-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(0, 210, 255, 0.15);
    border: 2px solid var(--accent-cyan);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.orbit-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.node-item {
    position: absolute;
    background: var(--primary-surface-hover);
    border: 1px solid var(--border-dark);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
}

.n1 { top: 0; left: 10%; border-color: var(--accent-cyan); }
.n2 { top: 0; right: 10%; border-color: var(--accent-blue); }
.n3 { bottom: 0; right: 15%; border-color: var(--accent-amber); }
.n4 { bottom: 0; left: 15%; border-color: var(--accent-purple); }

.metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.metric-card {
    background: rgba(10, 17, 40, 0.6);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 700;
}

.progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 4px;
}

.progress-bar .fill {
    height: 100%;
    background: var(--accent-cyan);
}

.progress-bar .fill-amber { background: var(--accent-amber); }
.progress-bar .fill-green { background: var(--accent-green); }

.visual-footer {
    background: rgba(10, 17, 40, 0.8);
    padding: 0.8rem 1.2rem;
    border-top: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.cert-badge {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   5. Stats Bar Section
   -------------------------------------------------------------------------- */
.stats-bar-section {
    background: #070c1e;
    border-y: 1px solid var(--border-dark);
    padding: 2.5rem 0;
    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   6. Core Services Section
   -------------------------------------------------------------------------- */
.services-section {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--light-surface);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 210, 255, 0.4);
}

.service-card-highlight {
    border: 2px solid var(--accent-amber);
    background: linear-gradient(180deg, #ffffff 0%, #fffdf5 100%);
}

.badge-card-corner {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-cyan { background: rgba(0, 210, 255, 0.12); color: #0088cc; }
.icon-blue { background: rgba(0, 82, 204, 0.12); color: #0052cc; }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: #d97706; }
.icon-purple { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.icon-green { background: rgba(16, 185, 129, 0.12); color: #059669; }

.service-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.service-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1.2rem;
}

.service-features li {
    font-size: 0.88rem;
    color: var(--text-slate);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   7. Interactive Solutions Showcase
   -------------------------------------------------------------------------- */
.solutions-section {
    padding: 6rem 0;
    background-color: #ffffff;
    border-top: 1px solid var(--border-light);
}

.tab-controls {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.tab-btn {
    padding: 0.8rem 1.4rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: var(--light-bg);
    color: var(--text-slate);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-bg);
    color: #ffffff;
    border-color: var(--primary-bg);
    box-shadow: 0 4px 15px rgba(10, 17, 40, 0.2);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.solution-box {
    background: var(--primary-bg);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
    box-shadow: var(--shadow-dark-card);
}

.solution-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.solution-text p {
    font-size: 1.05rem;
    color: var(--text-dim);
    margin-bottom: 1.8rem;
}

.tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-dark);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
}

.preview-card {
    background: rgba(17, 28, 56, 0.8);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.preview-card-amber {
    border-color: rgba(245, 158, 11, 0.4);
}

.preview-card h4 {
    font-size: 1.2rem;
    color: #ffffff;
}

.preview-card span {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   8. Why Choose TNS & About Us
   -------------------------------------------------------------------------- */
.why-us-section {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.align-items-center {
    align-items: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.2rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.glass-stats-box {
    background: var(--primary-bg);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: #ffffff;
    box-shadow: var(--shadow-dark-card);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.guarantee-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;

}

.guarantee-badge h3 {
    font-size: 1.3rem;
    color: var(--accent-cyan);
}

.checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    border-top: 1px solid var(--border-dark);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-section {
    padding: 6rem 0;
    background: var(--primary-bg);
    color: #ffffff;
    border-top: 1px solid var(--border-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: center;
}

.about-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-dark-card);
}

.about-cover-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.about-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 17, 40, 0.95) 100%);
    padding: 2rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.motto-tag {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.submotto-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.about-text-box h2 {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.about-lead {
    font-size: 1.05rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.bullet-check {
    color: var(--accent-cyan);
    font-weight: 700;
}

.about-contact-quick {
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.25);
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   9. Contact Form Section
   -------------------------------------------------------------------------- */
.contact-section {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.contact-grid {
    align-items: start;
}

.contact-card-glass {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.8rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.req {
    color: #ef4444;
}

.form-group input, .form-group textarea {
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: #f8fafc;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    background: #f8fafc;
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-slate);
    cursor: pointer;
}

.contact-info-glass {
    background: var(--primary-bg);
    border-radius: var(--radius-lg);
    padding: 2.8rem;
    color: #ffffff;
    box-shadow: var(--shadow-dark-card);
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 0.3rem;
}

.company-fullname {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.company-fullname-en {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(0, 210, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item strong {
    font-size: 0.95rem;
    color: #ffffff;
    display: block;
}

.info-item p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.map-placeholder {
    background: rgba(17, 28, 56, 0.8);
    border: 1px dashed var(--border-dark);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   10. Footer & Modal
   -------------------------------------------------------------------------- */
.site-footer {
    background: #050915;
    color: #ffffff;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about p {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-top: 1rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-col a {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--accent-cyan);
}

.security-note {
    font-size: 0.85rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dark);
}

.footer-branch {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.footer-branch strong {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   Site Reference / Portfolio Section
   -------------------------------------------------------------------------- */
.portfolio-section {
    padding: 6rem 0;
    background-color: var(--light-bg);
    border-top: 1px solid var(--border-light);
}

.portfolio-filter-controls {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.portfolio-filter-btn {
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: #ffffff;
    color: var(--text-slate);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-filter-btn.active, .portfolio-filter-btn:hover {
    background: var(--primary-bg);
    color: #ffffff;
    border-color: var(--primary-bg);
    box-shadow: 0 4px 15px rgba(10, 17, 40, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
}

.portfolio-image-box {
    position: relative;
    height: 180px;
    background: var(--primary-bg);
    overflow: hidden;
}

.portfolio-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-tech-bg {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
}

.bg-network { background: linear-gradient(135deg, #0a1128, #112854); }
.bg-solar { background: linear-gradient(135deg, #1c1507, #3b2809); }
.bg-security { background: linear-gradient(135deg, #0a1128, #0d285c); }
.bg-datacenter { background: linear-gradient(135deg, #120b24, #26164c); }

.bg-badge {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.portfolio-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex-grow: 1;
}

.portfolio-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.loc-badge {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.cat-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    background: rgba(0, 210, 255, 0.12);
    color: #0088cc;
}

.tag-amber { background: rgba(245, 158, 11, 0.15); color: #d97706; }
.tag-blue { background: rgba(0, 82, 204, 0.12); color: #0052cc; }
.tag-purple { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }

.portfolio-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}

.portfolio-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.portfolio-specs {
    display: flex;
    gap: 1rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-slate);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.modal-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}

/* --------------------------------------------------------------------------
   11. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .main-nav, .nav-btn { display: none; }
    .mobile-toggle { display: flex; }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust-badges {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-box {
        grid-template-columns: 1fr;
    }

    .grid-2-cols {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2.1rem; }
    .services-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .checkbox-grid { grid-template-columns: 1fr; }
    .checklist-grid { grid-template-columns: 1fr; }
}

/* Added for 5 Core Services & Portfolio Details */
.services-grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.portfolio-client {
    font-size: 0.92rem;
    color: var(--accent-cyan, #0088cc);
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.bg-power {
    background: rgba(139, 92, 246, 0.08);
}
