/* ==========================================================================
   CyberTech Hexperts Solutions - Executive Vanguard Design System
   Award-Winning UI/UX, Cohesive Color Story, Plus Jakarta Sans Typography,
   Double-Bezel Architecture & Button-in-Button Micro-Interactions.
   ========================================================================== */

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

/* --- 2. Design Tokens (:root) --- */
:root {
    /* Brand & Accent Color Story */
    --primary-color: #0284c7;             /* Brand Sapphire / Sky 600 */
    --primary-color-darker: #0369a1;      /* Deep Sapphire / Sky 700 */
    --primary-hover: #0369a1;
    --primary-light: rgba(2, 132, 199, 0.08);
    --primary-glow: rgba(2, 132, 199, 0.35);

    /* Kinetic Tech Accents */
    --accent-cyan: #0284c7;               /* Brand Steel / Sky 600 */
    --accent-emerald: #059669;            /* Emerald for live operational uptime */

    /* Typography & Contrast System */
    --text-color-dark: #0f172a;           /* Slate 900: High-contrast headings */
    --text-color-medium: #334155;         /* Slate 700: Readable, accessible body */
    --text-color-muted: #64748b;          /* Slate 500: Subtitles, captions, metadata */
    --text-color-light: #ffffff;          /* Pure White */

    /* Surfaces & Elevating Backgrounds */
    --background-color-body: #f8fafc;     /* Slate 50 Canvas */
    --background-color-light: #ffffff;    /* Card Surface */
    --surface-glass: rgba(255, 255, 255, 0.95);
    --surface-dark: #0f172a;              /* Deep Solid Slate */
    --surface-dark-card: #0f172a;         /* Slate 900 Surface */
    --surface-dark-accent: #1e293b;       /* Slate 800 Surface */

    /* Hairline Concentric Borders */
    --border-color: #e2e8f0;              /* Hairline Card Border */
    --border-color-subtle: #cbd5e1;
    --border-dark: rgba(255, 255, 255, 0.12);
    --border-dark-hover: rgba(2, 132, 199, 0.5);

    /* Concentric Radii (Grounded & Modern, No Pills) */
    --border-radius-sm: 4px;
    --border-radius-btn: 6px;
    --border-radius-badge: 4px;
    --border-radius: 8px;                 /* Standard Card Radius */
    --border-radius-lg: 12px;             /* Section Containers */
    --border-radius-pill: 6px;            /* Replaced pill with clean modern 6px */

    /* Multi-Layered Soft Ambient Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.07), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-dark: 0 15px 30px -10px rgba(0, 0, 0, 0.4);
    --box-shadow-color: rgba(15, 23, 42, 0.06);

    /* Layout & Font Specs */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --container-padding: 32px;
    --max-content-width: 1240px;
    --physics-transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

/* --- 3. Global Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: var(--background-color-body);
    color: var(--text-color-medium);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--physics-transition);
}

/* --- 4. Section Headers & Eyebrows --- */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.section-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    padding: 4px 10px;
    border-radius: var(--border-radius-badge);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.85rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--text-color-dark);
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin: 0 0 12px;
}

.section-subtitle {
    font-size: 1.02rem;
    color: var(--text-color-muted);
    line-height: 1.6;
    margin: 0 auto;
}

.gradient-text {
    color: var(--primary-color);
    font-weight: 800;
}

/* --- 5. Backend Outage & Network Health Banner --- */
.status-banner {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: #fef3c7;
    border-bottom: 1px solid #fcd34d;
    padding: 10px 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.status-banner.hidden {
    display: none;
}

.status-banner-content {
    max-width: var(--max-content-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.88rem;
    color: #92400e;
    font-weight: 600;
    flex-wrap: wrap;
}

.status-banner-btn {
    background: #d97706;
    color: #ffffff;
    border: none;
    padding: 4px 12px;
    border-radius: var(--border-radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--physics-transition);
}

.status-banner-btn:hover {
    background: #b45309;
}

/* --- 6. Top Navigation Bar (Full-Width, Edge-to-Edge Sticky Header) --- */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    padding: 14px 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: var(--physics-transition);
}

header:hover {
    border-color: var(--border-color);
}

header .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    line-height: 1;
}

header .logo img,
header .header-logo-img {
    height: 38px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--text-color-dark);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 2px;
    position: relative;
    transition: color 0.15s ease;
}

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

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

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: var(--border-radius-btn);
    border: 1px solid var(--primary-color);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.btn-header-cta:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
    transform: translateY(-1px);
}

.btn-header-cta .btn-cta-svg {
    transition: transform 0.15s ease;
}

.btn-header-cta:hover .btn-cta-svg {
    transform: translateX(2px);
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
    display: none;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    padding: 8px 10px;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.mobile-menu-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.hamburger-bar {
    width: 20px;
    height: 2px;
    background-color: var(--text-color-dark);
    border-radius: 2px;
    transition: var(--physics-transition);
}

/* Stealth Portal Links in Footer ("Hidden where no one can see") */
.stealth-login-lock {
    color: #334155;
    opacity: 0.15;
    text-decoration: none;
    font-size: 0.72rem;
    margin-left: 8px;
    vertical-align: middle;
    transition: opacity 0.3s ease, color 0.3s ease;
    cursor: default;
    user-select: none;
}

.stealth-login-lock:hover {
    opacity: 0.95;
    color: #00e5ff;
    cursor: pointer;
}

.stealth-login-dot {
    color: inherit;
    text-decoration: none;
    cursor: default;
    transition: color 0.2s ease;
}

.stealth-login-dot:hover {
    color: var(--primary-color);
    cursor: pointer;
}

/* --- 7. Hero Section with Engineering CTAs --- */
.hero-section {
    padding: 72px 24px 48px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 6px 14px;
    border-radius: var(--border-radius-badge);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    background: #059669;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(5, 150, 105, 0.6);
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--text-color-dark);
    margin: 0 0 20px;
}

.hero-subtitle {
    font-size: clamp(1.02rem, 1.8vw, 1.18rem);
    color: var(--text-color-medium);
    max-width: 840px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.hero-subtitle strong {
    color: var(--text-color-dark);
}

/* Clean Engineering Buttons (Grounded Rectangular 6px Radius) */
.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.btn,
.btn-nested-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius-btn);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary,
.btn-primary.btn-nested-pill {
    background: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover,
.btn-primary.btn-nested-pill:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 6px 16px -2px rgba(2, 132, 199, 0.35);
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-secondary,
.btn-secondary.btn-nested-pill {
    background: #ffffff;
    color: var(--text-color-dark);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover,
.btn-secondary.btn-nested-pill:hover {
    border-color: #cbd5e1;
    color: var(--primary-color);
    background: #f8fafc;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.btn-arrow-svg {
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

.btn:hover .btn-arrow-svg,
.btn-primary:hover .btn-arrow-svg,
.btn-secondary:hover .btn-arrow-svg {
    transform: translateX(3px);
}

.btn-icon-circle {
    display: none;
}


/* --- 8. Bio & Categorized Skills Matrix (#bio) --- */
.bio-section {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 60px 48px;
    margin: 44px auto;
    max-width: var(--max-content-width);
    box-shadow: var(--shadow-md);
}

.bio-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: start;
}

/* Double-Bezel Hardware Profile Card with Sticky Pinned Scroll & 3D Depth */
.bio-profile-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
    position: sticky;
    top: 96px;
    z-index: 10;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bio-profile-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.09);
}

.bio-image-frame {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #0f172a;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.bio-image-frame img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
    display: block;
}

.bio-profile-card:hover .bio-image-frame img {
    transform: scale(1.02);
}

.bio-card-meta {
    padding: 20px 16px;
    text-align: center;
    background: #ffffff;
    border-radius: 10px;
    margin-top: 8px;
    border: 1px solid var(--border-color);
}

.bio-meta-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-color-dark);
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

.bio-meta-role {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 8px;
}

.bio-meta-location {
    font-size: 0.82rem;
    color: var(--text-color-muted);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Bio Content & Skills Matrix */
.bio-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--text-color-dark);
    letter-spacing: -0.025em;
    line-height: 1.25;
    margin: 8px 0 16px;
}

.bio-content p {
    font-size: 0.98rem;
    color: var(--text-color-medium);
    line-height: 1.7;
    margin-bottom: 16px;
}

.skills-matrix {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.skill-group {
    background: #f8fafc;
    border: 1px solid var(--border-color-subtle);
    border-radius: 14px;
    padding: 16px 20px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.skill-group:hover {
    background: #ffffff;
    border-color: rgba(2, 132, 199, 0.3);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.skill-group-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-color-dark);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

.skill-group-title .icon {
    font-size: 1.1rem;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-color-medium);
    transition: var(--physics-transition);
}

.skill-pill:hover {
    background: var(--primary-light);
    border-color: rgba(2, 132, 199, 0.3);
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* --- 9. Featured Flagship Systems Bento (#flagship-projects) --- */
.flagship-section {
    margin: 56px auto;
    max-width: var(--max-content-width);
    padding: 0 8px;
}

.flagship-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.flagship-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 34px 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--physics-transition);
    position: relative;
    overflow: hidden;
}

.flagship-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0284c7, #00e5ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flagship-card:hover {
    border-color: rgba(2, 132, 199, 0.35);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

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

.flagship-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.flagship-badge {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    background: var(--primary-light);
    border: 1px solid rgba(2, 132, 199, 0.2);
    padding: 4px 10px;
    border-radius: var(--border-radius-pill);
}

.flagship-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #059669;
}

.flagship-status-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.flagship-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-color-dark);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.flagship-desc {
    font-size: 0.92rem;
    color: var(--text-color-medium);
    line-height: 1.6;
    margin: 0 0 20px;
}

.flagship-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.flagship-tag {
    padding: 4px 10px;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-color-muted);
}

.flagship-actions {
    margin-top: auto;
}

.flagship-link-primary.btn-nested-pill {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px 10px 20px;
    background: #f8fafc;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-pill);
    color: var(--text-color-dark);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--physics-transition);
}

.flagship-link-primary.btn-nested-pill .btn-icon-circle {
    width: 32px;
    height: 32px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary-color);
    font-size: 1rem;
}

.flagship-link-primary.btn-nested-pill:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -3px rgba(2, 132, 199, 0.4);
}

.flagship-link-primary.btn-nested-pill:hover .btn-icon-circle {
    background: #ffffff;
    color: var(--primary-color);
    transform: translateX(2px);
}

/* Bento Bottom CTA Banner */
.flagship-bottom-cta {
    margin-top: 36px;
    background: linear-gradient(145deg, #090e1a 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 8px;
    box-shadow: var(--shadow-xl);
}

.cta-inner-shell {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: calc(var(--border-radius-lg) - 6px);
    padding: 36px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.cta-text-content h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.cta-text-content p {
    color: #94a3b8;
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.5;
}

.cta-link.btn-nested-pill {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border: none;
    white-space: nowrap;
    padding: 10px 12px 10px 24px;
    box-shadow: 0 8px 20px -3px rgba(2, 132, 199, 0.45);
    flex-shrink: 0;
}

.cta-link.btn-nested-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -3px rgba(2, 132, 199, 0.55);
}

/* --- 10. Engineering Standards & Service Commitments Section --- */
.standards-section {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 56px 40px;
    margin: 48px auto;
    max-width: var(--max-content-width);
    box-shadow: var(--shadow-sm);
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.standard-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.standard-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

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

.standard-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.standard-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 10px;
    border-radius: var(--border-radius-badge);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.standard-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-color-dark);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.standard-desc {
    font-size: 0.92rem;
    color: var(--text-color-medium);
    line-height: 1.6;
    margin: 0;
}

/* --- 11. Quick Contact & Office Strip (Redesigned Modern Hub) --- */
.quick-contact-section {
    padding: var(--container-padding);
    background-color: var(--background-color-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 56px auto;
    max-width: var(--max-content-width);
}

.quick-contact-layout {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 32px;
    align-items: stretch;
}

/* Left Card: Inquiry Form */
.contact-form-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-card-header {
    margin-bottom: 20px;
}

.form-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid rgba(2, 132, 199, 0.22);
    padding: 4px 12px;
    border-radius: var(--border-radius-pill);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.contact-form-container h3 {
    margin: 0 0 6px 0;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-color-dark);
    letter-spacing: -0.02em;
}

.contact-form-container p.form-subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color-muted);
    line-height: 1.5;
}

#inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 4px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.form-field label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-color-dark);
    letter-spacing: -0.01em;
    display: block;
}

.req-star {
    color: #ef4444;
    font-weight: 700;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.92rem;
    font-family: var(--font-family);
    color: #0f172a;
    line-height: 1.5;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-field input[type="text"]:hover,
.form-field input[type="email"]:hover,
.form-field select:hover,
.form-field textarea:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #94a3b8;
    font-size: 0.88rem;
}

/* Custom Select Dropdown Styling */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.form-field textarea {
    resize: vertical;
    min-height: 110px;
}

.btn-submit-inquiry {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    background: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-btn);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: all 0.15s ease;
    margin-top: 4px;
}

.btn-submit-inquiry:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -2px rgba(2, 132, 199, 0.35);
}

.btn-submit-inquiry:active {
    transform: translateY(0);
}

.btn-submit-inquiry .btn-arrow-svg {
    transition: transform 0.15s ease;
}

.btn-submit-inquiry:hover .btn-arrow-svg {
    transform: translateX(3px);
}

.form-trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.77rem;
    font-weight: 600;
    color: var(--text-color-muted);
}

.trust-dot {
    color: #cbd5e1;
}

.form-status-alert {
    animation: fadeInAlert 0.35s ease-out forwards;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

@keyframes fadeInAlert {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Right Card: Physical Headquarters */
.office-info-strip {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 34px 28px;
    color: #e2e8f0;
    box-shadow: var(--shadow-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.office-header-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.office-badge-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.office-title-icon {
    font-size: 1.3rem;
}

.office-header-bar h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.015em;
}

.office-sub {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 4px 0 0 0;
}

.office-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 5px 12px;
    border-radius: var(--border-radius-badge);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulseGlow 2s infinite ease-in-out;
}

.office-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.office-card-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 13px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: var(--physics-transition);
}

.office-card-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(2, 132, 199, 0.4);
    transform: translateX(2px);
}

.card-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(2, 132, 199, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-item-body {
    flex: 1;
    min-width: 0;
}

.card-item-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-cyan);
    margin-bottom: 3px;
}

.card-item-value {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.card-item-value strong {
    color: #ffffff;
    font-weight: 700;
}

.office-link {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.office-link:hover {
    color: var(--accent-cyan);
    text-decoration: underline;
}

.phone-div {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 4px;
}

/* Hours Schedule List */
.hours-schedule {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 2px;
}

.sched-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #94a3b8;
    padding-bottom: 3px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.sched-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sched-day {
    color: #cbd5e1;
}

.sched-time {
    color: #f1f5f9;
    font-weight: 600;
}

.sched-closed {
    color: #f87171;
    background: rgba(239, 68, 68, 0.15);
    padding: 1px 8px;
    border-radius: var(--border-radius-badge);
    font-size: 0.72rem;
    font-weight: 700;
}

/* Quick Actions in Office Card */
.office-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.office-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 10px 8px;
    border-radius: var(--border-radius-btn);
    text-decoration: none;
    transition: var(--physics-transition);
    white-space: nowrap;
    text-align: center;
}

.office-action-btn.call-btn {
    background: rgba(2, 132, 199, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(2, 132, 199, 0.45);
}

.office-action-btn.call-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.office-action-btn.wa-btn {
    background: rgba(37, 211, 102, 0.16);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.4);
}

.office-action-btn.wa-btn:hover {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.office-action-btn.map-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.office-action-btn.map-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* --- 12. Unified Modern 4-Column Footer (Edge-to-Edge Full Viewport Width) --- */
footer {
    background: var(--surface-dark);
    color: #94a3b8;
    border-top: 1px solid var(--border-dark);
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    margin: 64px 0 0;
    padding: 64px 40px 32px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.1fr 1fr;
    gap: 40px;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}

.footer-section p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 12px;
}

.footer-section a {
    color: #cbd5e1;
    transition: var(--physics-transition);
}

.footer-section a:hover {
    color: var(--accent-cyan);
}

/* Footer Brand Column */
.footer-brand-logo {
    display: inline-block;
    margin-bottom: 14px;
    line-height: 1;
}

.footer-logo-img {
    height: 38px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-brand-logo:hover .footer-logo-img {
    transform: scale(1.02);
}

.footer-brand-tagline {
    font-size: 0.86rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 16px;
}

.footer-social-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.footer-social-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.15s ease;
}

.footer-social-badge img {
    height: 16px;
    width: 16px;
    display: block;
}

.footer-social-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(2, 132, 199, 0.5);
    transform: translateY(-1px);
}

/* Footer Navigation Column with Returned Login Link */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list li a {
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.15s ease;
}

.footer-nav-list li a:hover {
    color: #38bdf8;
    transform: translateX(3px);
}


/* Footer Contact Column */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.5;
}

.footer-contact-icon,
.footer-contact-icon-img {
    flex-shrink: 0;
    margin-top: 3px;
    height: 16px;
    width: 16px;
}

.footer-contact-item a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-contact-item a:hover {
    color: #38bdf8;
}

.footer-schedule-pill {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 600;
    color: #34d399;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 3px 10px;
    border-radius: 4px;
    margin-top: 4px;
}

/* Footer Newsletter Form */
.footer-newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.footer-newsletter-form input[type="email"] {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-sm);
    color: #ffffff;
    font-size: 0.88rem;
    font-family: inherit;
}

.footer-newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.footer-newsletter-form button[type="submit"] {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--physics-transition);
}

.footer-newsletter-form button[type="submit"]:hover {
    background: var(--primary-color-darker);
}

.footer-privacy-note {
    font-size: 0.76rem;
    color: #64748b;
    margin: 6px 0 0;
}

/* Redesigned Footer Bottom Utility Bar */
.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.84rem;
    color: #64748b;
}

.footer-bottom-copy {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-legal-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.84rem;
    transition: color 0.15s ease;
}

.footer-legal-link:hover {
    color: #ffffff;
}

.footer-divider {
    color: #475569;
    font-size: 0.8rem;
    user-select: none;
}

/* Stealth Portal Links in Footer ("Hidden where no one can see") */
.stealth-login-lock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-left: 6px;
    color: #64748b;
    opacity: 0.15;
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
    cursor: default;
    user-select: none;
}

.stealth-login-lock:hover {
    opacity: 0.85;
    color: var(--primary-color);
    cursor: pointer;
}

.stealth-login-dot {
    color: #64748b;
    opacity: 0.25;
    text-decoration: none;
    margin-left: 6px;
    cursor: default;
    user-select: none;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.stealth-login-dot:hover {
    opacity: 0.85;
    color: var(--primary-color);
    cursor: pointer;
}

/* --- 13. Responsive Media Queries (Mobile & Tablet) --- */
@media screen and (max-width: 1024px) {
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .bio-profile-card {
        position: static;
        top: auto;
    }

    .bio-image-frame img {
        height: 340px;
    }

    .flagship-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .flagship-spec-strip,
    .hero-spec-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .standards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quick-contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cta-inner-shell {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        padding: 48px 28px 24px;
        border-radius: 0;
        margin: 48px 0 0;
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding: 0;
    }

    header {
        padding: 12px 20px;
        margin: 0;
        width: 100%;
        max-width: 100%;
        justify-content: space-between;
    }

    header .logo img,
    header .header-logo-img {
        height: 32px;
    }

    .nav-links {
        display: none !important;
    }

    .header-cta-wrapper .btn-header-cta {
        display: inline-flex;
        padding: 7px 14px;
        font-size: 0.82rem;
    }

    .mobile-menu-btn {
        display: none !important;
    }

    .hero-section {
        padding: 48px 16px 36px;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn,
    .btn-nested-pill {
        width: 100%;
    }

    .bio-section, .standards-section, .quick-contact-section {
        padding: 32px 18px;
        border-radius: var(--border-radius);
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .office-quick-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .office-action-btn {
        width: 100%;
        justify-content: center;
    }

    footer {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 20px 24px;
        border-radius: 0;
        margin: 40px 0 0;
        width: 100%;
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* --- 14. Subtle Transitions --- */
.reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: opacity 0.3s ease;
}

/* --- 15. Legal Pages (Privacy Policy & Terms of Service) --- */
.legal-page {
    background-color: var(--background-color-body);
}

.legal-container {
    max-width: 920px;
    margin: 40px auto;
    padding: 0 24px;
}

.legal-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.legal-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.legal-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-color-dark);
    margin: 0 0 12px;
    letter-spacing: -0.03em;
}

.legal-meta {
    font-size: 0.88rem;
    color: var(--text-color-muted);
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-color-dark);
    margin: 32px 0 12px;
    letter-spacing: -0.01em;
}

.legal-content p,
.legal-content li {
    font-size: 0.96rem;
    color: var(--text-color-medium);
    line-height: 1.7;
}

.legal-content ul {
    margin: 12px 0 20px 20px;
    padding: 0;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-page footer {
    display: block;
    padding: 28px 40px;
    margin-top: 48px;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
}

.legal-page .footer-bottom {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}



