/* =========================================================================
   INNOVATION LABORATORY DESIGN SYSTEM
   Theme: Futuristic Luxury Technology
   Palette: Dark Graphite Base, Cyber Blue Accent, Subtle Gold Highlights
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- Theme Tokens --- */
:root {
    --bg-base: #030213;
    --bg-surface: #070622;
    --bg-surface-elevated: #0d0b30;
    --bg-card: rgba(11, 8, 38, 0.65);
    
    --border-color: rgba(168, 85, 247, 0.15);
    --border-color-glow: rgba(189, 0, 255, 0.4);
    
    --text-primary: #ffffff;
    --text-secondary: #b4b2cd;
    --text-tertiary: #787796;
    
    --accent-blue: #2563eb;
    --accent-blue-glow: rgba(37, 99, 235, 0.4);
    --accent-gold: #b026ff;
    --accent-gold-glow: rgba(176, 38, 255, 0.35);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    --shadow-main: 0 10px 40px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 25px rgba(176, 38, 255, 0.25);
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important; /* Forces custom cursor usage */
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-base);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px var(--accent-blue-glow);
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--bg-surface-elevated) 0%, var(--accent-blue) 100%);
    border-radius: 4px;
    border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* --- Layout Containers --- */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 10;
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

/* --- Visual Foundations --- */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                                rgba(176, 38, 255, 0.08) 0%, 
                                rgba(37, 99, 235, 0.02) 60%, 
                                transparent 100%);
    transition: background 0.1s ease;
}

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

.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.03;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, #ffffff 1px, transparent 1px),
        linear-gradient(to bottom, #ffffff 1px, transparent 1px);
}

.glassmorphic {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-main);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glassmorphic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
    pointer-events: none;
}

.glassmorphic:hover {
    border-color: var(--border-color-glow);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(176, 38, 255, 0.15);
    transform: translateY(-5px);
}

/* --- Custom Cursor --- */
.custom-cursor {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--accent-blue);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99999;
    transition: width 0.2s, height 0.2s, border-color 0.2s;
    transition-timing-function: cubic-bezier(0.1, 0.8, 0.3, 1);
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.05s ease;
}

.custom-cursor.hovered {
    width: 50px;
    height: 50px;
    border-color: var(--accent-gold);
    background-color: rgba(176, 38, 255, 0.05);
}

/* --- Animations & Keyframes --- */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(176, 38, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(176, 38, 255, 0.3);
    }
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressLoad {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --- Interactive Elements --- */
.btn-cyber {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: transparent;
    border: 1.5px solid var(--accent-blue);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.btn-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.15), transparent);
    transition: 0.5s;
}

.btn-cyber:hover::before {
    left: 100%;
}

.btn-cyber:hover {
    box-shadow: var(--shadow-glow);
    background-color: rgba(37, 99, 235, 0.05);
    border-color: var(--accent-blue);
}

.btn-cyber.gold {
    border-color: var(--accent-gold);
}

.btn-cyber.gold:hover {
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.25);
    background-color: rgba(176, 38, 255, 0.05);
}

/* Magnetic attraction visual helpers */
.magnetic-wrap {
    display: inline-block;
    position: relative;
}

/* --- Section Dividers / Cinematic Lines --- */
.line-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent);
}

.accent-glow-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
    margin: 0 auto;
}

/* --- 1. Loading Screen --- */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-base);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-container {
    max-width: 400px;
    width: 80%;
    text-align: center;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-primary);
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.loader-logo span {
    color: var(--accent-blue);
    text-shadow: 0 0 10px var(--accent-blue-glow);
}

.loader-progress-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1px;
    overflow: hidden;
    margin-bottom: 12px;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
}

.loader-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* --- 2. Header & Navigation --- */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 9999;
    transition: var(--transition-smooth);
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.logo span {
    color: var(--accent-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent-blue);
    box-shadow: 0 0 8px var(--accent-blue);
    transition: var(--transition-fast);
}

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: none;
}

/* --- 3. Hero Section (Laboratory Entrance) --- */
.hero-laboratory {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    overflow: hidden;
    position: relative;
    /* High-tech blueprint grid background */
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.015) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(0, 240, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center center;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.hero-subtitle {
    font-family: var(--font-mono);
    color: #00f0ff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 240, 255, 0.18);
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(0, 240, 255, 0.03);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-subtitle:hover {
    border-color: rgba(0, 240, 255, 0.5);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.25);
    background: rgba(0, 240, 255, 0.08);
    transform: translateY(-2px);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #00f0ff;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #00f0ff;
    animation: pulseDot 2s infinite;
}

.pulse-dot-green {
    width: 6px;
    height: 6px;
    background-color: #00ffaa;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #00ffaa;
    animation: pulseDotGreen 2s infinite;
    margin-right: 6px;
}

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #00f0ff; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

@keyframes pulseDotGreen {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #00ffaa; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
    font-size: 4.8rem;
    line-height: 1.05;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.hero-title .part-top {
    font-weight: 300;
    color: var(--text-secondary);
    font-size: 3.2rem;
    display: block;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.hero-title .part-bottom {
    font-weight: 800;
    background: linear-gradient(135deg, #00f0ff 0%, #2563eb 50%, #b026ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.25));
    display: inline-block;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Cyber Terminal Graphic & Combined Layout */
.hero-graphic {
    position: relative;
    animation: floatElement 6s ease-in-out infinite;
}

/* --- Hero Profile Image & Terminal Combined Layout --- */
.hero-graphic-combined {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.hero-spotlight {
    position: absolute;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(176, 38, 255, 0.12) 0%, rgba(37, 99, 235, 0.04) 50%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.profile-image-card {
    position: absolute;
    width: 290px;
    height: 390px;
    border-radius: 16px;
    border: 1px solid rgba(168, 85, 247, 0.25);
    background: rgba(7, 6, 34, 0.45);
    backdrop-filter: blur(15px);
    overflow: hidden;
    left: 15px;
    top: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(168, 85, 247, 0.1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s ease, box-shadow 0.6s ease;
    z-index: 1;
}

.profile-image-card:hover {
    border-color: rgba(0, 240, 255, 0.6);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 240, 255, 0.25);
}

.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 240, 255, 0.35);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.7);
    z-index: 5;
    pointer-events: none;
    animation: scanAnimation 4s linear infinite;
}

@keyframes scanAnimation {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

.corner-decor {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: rgba(0, 240, 255, 0.5);
    border-style: solid;
    z-index: 5;
    pointer-events: none;
}
.corner-decor.top-left {
    top: 12px;
    left: 12px;
    border-width: 2px 0 0 2px;
}
.corner-decor.top-right {
    top: 12px;
    right: 12px;
    border-width: 2px 2px 0 0;
}
.corner-decor.bottom-left {
    bottom: 12px;
    left: 12px;
    border-width: 0 0 2px 2px;
}
.corner-decor.bottom-right {
    bottom: 12px;
    right: 12px;
    border-width: 0 2px 2px 0;
}

.card-status-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #00ffaa;
    background: rgba(0, 255, 170, 0.1);
    border: 1px solid rgba(0, 255, 170, 0.25);
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 5;
    letter-spacing: 0.12em;
    display: inline-flex;
    align-items: center;
}

.profile-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.profile-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(110%);
    transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-image-card:hover .profile-image-wrapper img {
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.05);
}

.profile-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(7, 6, 34, 0) 70%, rgba(7, 6, 34, 0.9) 100%);
    pointer-events: none;
}

.floating-terminal {
    position: absolute;
    width: 330px;
    right: 10px;
    bottom: 15px;
    z-index: 2;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 240, 255, 0.05);
    animation: floatElement 5s ease-in-out infinite;
}

.terminal-mockup {
    width: 100%;
    background: rgba(7, 6, 34, 0.65);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.terminal-mockup:hover {
    border-color: rgba(176, 38, 255, 0.5);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.9), 0 0 40px rgba(176, 38, 255, 0.15);
}

.terminal-header {
    background: rgba(13, 11, 48, 0.85);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-left: auto;
}

.terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #00ffaa;
}

.terminal-line {
    margin-bottom: 12px;
}

.terminal-line span.comment {
    color: var(--text-tertiary);
}

.terminal-line span.variable {
    color: #00f0ff;
}

.terminal-line span.value {
    color: #ffb800;
}

.terminal-input::before {
    content: '> ';
    color: var(--accent-blue);
}

.terminal-input::after {
    content: '_';
    color: #00f0ff;
    animation: blinkCursor 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* HUD Circle Wrap & Orbit animations */
.hud-circle-wrap {
    position: absolute;
    width: 440px;
    height: 440px;
    pointer-events: none;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.25;
    transition: opacity 0.5s ease;
}

.hud-ring-slow {
    transform-origin: center;
    animation: rotateCW 35s linear infinite;
}

.hud-ring-medium {
    transform-origin: center;
    animation: rotateCCW 20s linear infinite;
}

.hud-ring-fast {
    transform-origin: center;
    animation: rotateCW 12s linear infinite;
}

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

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

/* Telemetry Logs in Hero Section */
.hero-tech-logs {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}

.tech-log-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.tech-log-item i {
    color: var(--accent-blue);
}

.tech-log-item:hover {
    color: var(--text-primary);
}

.tech-log-divider {
    color: rgba(0, 240, 255, 0.25);
    font-weight: bold;
}

/* --- 4. Innovation Overview --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-mono);
    color: var(--accent-blue);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
}

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

.overview-card {
    padding: 40px;
    text-align: center;
}

.overview-icon {
    font-size: 2.2rem;
    color: var(--accent-blue);
    margin-bottom: 25px;
}

.overview-card.gold-card .overview-icon {
    color: var(--accent-gold);
}

.overview-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.overview-card p {
    color: var(--text-secondary);
}

/* --- 5. Research Capabilities (Skills) --- */
.capabilities-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skill-bar-wrapper {
    width: 100%;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.skill-header i {
    margin-right: 8px;
    color: var(--accent-blue);
}

.skill-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bg-surface-elevated), var(--accent-blue));
    box-shadow: 0 0 8px var(--accent-blue);
    width: 0;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-fill.loaded {
    /* Triggered by JS */
}

/* Capabilities list - Left side grid */
.capabilities-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.capability-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.capability-card i {
    font-size: 1.8rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.capability-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.capability-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- 6. Active Experiments (Projects) --- */
.projects-filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-fast);
    cursor: none;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent-blue);
    color: var(--text-primary);
    background-color: rgba(37, 99, 235, 0.03);
}

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

.project-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    position: relative;
}

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

.project-card:hover .project-image-container img {
    transform: scale(1.08);
}

.project-experiment-num {
    font-family: var(--font-mono);
    color: var(--accent-gold);
    font-size: 0.75rem;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.project-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.project-card p.desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 3px 8px;
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--accent-blue);
}

.project-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.project-link-icon {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.project-link-icon:hover {
    color: var(--accent-blue);
}

.project-more-btn {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-primary);
}

/* --- 7. Research Timeline --- */
.timeline-outer {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline-outer::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--border-color) 10%, var(--border-color) 90%, transparent);
}

.timeline-item {
    width: 100%;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) {
    left: 0;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--bg-base);
    border: 2px solid var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue-glow);
    z-index: 10;
}

.timeline-item.certification .timeline-dot {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold-glow);
}

.timeline-card {
    width: 45%;
    padding: 30px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-card {
    left: 55%;
}

.timeline-item:nth-child(odd) .timeline-card {
    left: 5%;
    text-align: right;
}

.timeline-date {
    font-family: var(--font-mono);
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline-item.certification .timeline-date {
    color: var(--accent-gold);
}

.timeline-card h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.timeline-card h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-tertiary);
    margin-bottom: 15px;
}

.timeline-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- 8. Laboratory Statistics --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    padding: 40px 30px;
    text-align: center;
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
}

/* --- 9. Client Testimonials --- */
.testimonials-slider-container {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonials-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 40px;
    text-align: center;
    box-sizing: border-box;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    margin: 0 auto 25px;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.testimonial-client {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    text-transform: uppercase;
}

.testimonial-company {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Testimonial Navs */
.testimonial-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12;
    transition: var(--transition-fast);
}

.testimonial-nav-btn:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
}

.testimonial-nav-btn.prev { left: 10px; }
.testimonial-nav-btn.next { right: 10px; }

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
    transition: var(--transition-fast);
}

.indicator-dot.active {
    background-color: var(--accent-blue);
    box-shadow: 0 0 8px var(--accent-blue);
}

/* --- 10. Research Journal (Blog) --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.06);
}

.blog-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-bottom: 15px;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.3;
    text-transform: uppercase;
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

.blog-read-more {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-blue);
    align-self: flex-start;
}

/* --- 11. Future Innovations --- */
.innovations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.innovation-card {
    padding: 40px;
    border-left: 3px solid var(--accent-gold);
}

.innovation-status {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    display: inline-block;
}

.innovation-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.innovation-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- 12. Contact Laboratory --- */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: var(--accent-blue);
    width: 50px;
    height: 50px;
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-text h4 {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.contact-info-text p {
    font-size: 0.95rem;
}

.contact-socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-circle:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
}

/* Form Styles */
.contact-form-panel {
    padding: 40px;
}

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

.form-group {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

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

.form-label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--text-tertiary);
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-input:valid {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.1);
    background-color: rgba(37, 99, 235, 0.01);
}

/* Float label on focus/input */
.form-input:focus ~ .form-label,
.form-input:valid ~ .form-label {
    top: -10px;
    left: 12px;
    font-size: 0.8rem;
    color: var(--accent-blue);
    background-color: var(--bg-surface);
    padding: 0 6px;
}

/* Map Integration & Booking */
.map-booking-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    margin-top: 60px;
}

.map-wrapper {
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.booking-wrapper {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.booking-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.booking-wrapper p {
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.booking-wrapper .btn-cyber {
    align-self: center;
}

/* --- 13. Footer --- */
.footer-base {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 50px 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-logo span {
    color: var(--accent-blue);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* --- 14. Responsive Layouts --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    .overview-grid,
    .projects-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .capabilities-layout,
    .contact-layout,
    .map-booking-grid {
        grid-template-columns: 1fr;
    }
    .timeline-outer::before {
        left: 20px;
    }
    .timeline-dot {
        left: 20px;
    }
    .timeline-card {
        width: calc(100% - 40px);
        margin-left: 40px;
    }
    .timeline-item:nth-child(even) .timeline-card,
    .timeline-item:nth-child(odd) .timeline-card {
        left: 0;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Mobile menu logic handled in JS */
    }
    .nav-toggle {
        display: block;
    }
    .hero-layout {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .overview-grid,
    .projects-grid,
    .blog-grid,
    .stats-grid,
    .innovations-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        gap: 20px;
    }
    section {
        padding: 60px 0;
    }
}

/* Responsive fixes for combined graphic */
@media (max-width: 1024px) {
    .hero-graphic-combined {
        height: 440px;
    }
    .profile-image-card {
        width: 240px;
        height: 330px;
        left: 10px;
        top: 20px;
    }
    .floating-terminal {
        width: 280px;
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 768px) {
    .hero-graphic-combined {
        height: 400px;
        margin-top: 40px;
    }
    .profile-image-card {
        width: 220px;
        height: 300px;
        left: calc(50% - 150px);
        top: 10px;
    }
    .floating-terminal {
        width: 260px;
        right: calc(50% - 140px);
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero-graphic-combined {
        height: 380px;
    }
    .profile-image-card {
        width: 180px;
        height: 250px;
        left: calc(50% - 110px);
        top: 10px;
    }
    .floating-terminal {
        width: 220px;
        right: calc(50% - 110px);
        bottom: 10px;
    }
}
