/* ==========================================================================
   Yogesh E S - Professional Aeronautical & UAV Autonomy Portfolio Style Sheet
   ========================================================================== */

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

:root {
    /* Pure Aeronautical Blueprint & Flight Instrumentation Color Palette */
    --bg-base: #061121; /* Classic Engineering Blueprint Drafting Table Blue */
    --bg-surface: rgba(10, 25, 45, 0.75); /* Engineering acrylic overlay */
    --bg-panel: rgba(15, 32, 58, 0.7);
    --bg-console: #040c18; /* Black-box flight telemetry console */
    
    /* Aeronautical Vector Telemetry Colors */
    --primary: #00d2ff; /* Laser flight path cyan */
    --primary-rgb: 0, 210, 255;
    
    /* CFD Pressure / Low-Velocity Aerodynamic Flow Colors */
    --secondary: #6366f1; /* CFD Transition Indigo */
    
    /* CFD High-Pressure / Stagnation Point Flow Indicator */
    --accent: #ff4757; /* Aerodynamic drag alert red */
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    
    /* Drafting Board Borders & Guidelines */
    --border-light: rgba(0, 210, 255, 0.18);
    --border-glow: rgba(0, 210, 255, 0.45);
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'Fira Code', monospace;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    scroll-behavior: smooth; 
}

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

/* Custom Telemetry Scrollbar */
::-webkit-scrollbar { 
    width: 8px; 
}
::-webkit-scrollbar-track { 
    background: var(--bg-base); 
}
::-webkit-scrollbar-thumb { 
    background: rgba(0, 210, 255, 0.2); 
    border-radius: 10px;
    border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover { 
    background: var(--primary); 
    box-shadow: 0 0 12px var(--primary);
}

/* --- High-fidelity Aeronautical Drafting Background System --- */
.space-background {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh;
    z-index: -3;
    /* Soft blueprint gradient paper background */
    background: 
        radial-gradient(circle at 50% 50%, #0a1e38 0%, #050f1d 100%);
}

/* Technical Engineering Grid Overlay */
.grid-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh;
    z-index: -2;
    background-size: 40px 40px, 200px 200px;
    background-image: 
        /* Minor grid lines (1mm spacing equivalent) */
        linear-gradient(to right, rgba(0, 210, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 210, 255, 0.04) 1px, transparent 1px),
        /* Major grid lines (10mm spacing equivalent) */
        linear-gradient(to right, rgba(0, 210, 255, 0.1) 1.5px, transparent 1.5px),
        linear-gradient(to bottom, rgba(0, 210, 255, 0.1) 1.5px, transparent 1.5px);
    pointer-events: none;
    opacity: 0.85;
}

/* CFD Aerodynamic Pressure Gradients (Simulating Thermal/Velocity Flight Maps) */
.ambient-glow {
    position: fixed; 
    width: 650px; 
    height: 650px; 
    border-radius: 50%;
    filter: blur(150px); 
    z-index: -1; 
    pointer-events: none; 
    opacity: 0.2;
    mix-blend-mode: screen;
}
/* Cool Airflow Stream low pressure */
.primary-glow { 
    background: radial-gradient(circle, rgba(0,210,255,0.25) 0%, transparent 70%); 
}
/* Hot Wing Stagnation CFD High pressure */
.accent-glow { 
    background: radial-gradient(circle, rgba(255,71,87,0.18) 0%, transparent 70%); 
}

/* High-tech Aeronautical Compass / HUD Gauge Ring Watermark */
.space-background::after {
    content: '';
    position: fixed;
    bottom: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    border: 1px dashed rgba(0, 210, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
    z-index: -2;
    background-image: 
        radial-gradient(circle, transparent 40%, rgba(0, 210, 255, 0.02) 40%, transparent 41%),
        repeating-conic-gradient(from 0deg, rgba(0, 210, 255, 0.08) 0deg 1deg, transparent 1deg 10deg);
    animation: HUDspin 60s linear infinite;
}

@keyframes HUDspin {
    100% { transform: rotate(360deg); }
}

/* --- Aeronautical SOP Navigation Bar --- */
.glass-header {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 85px;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 0 8%; 
    z-index: 100;
    background: rgba(6, 17, 33, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 2px solid rgba(0, 210, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.logo-text { 
    font-family: var(--font-heading); 
    font-size: 1.55rem; 
    font-weight: 900; 
    letter-spacing: 4px; 
    color: var(--text-main);
    text-shadow: 0 0 12px rgba(0, 210, 255, 0.4);
}
.logo-dot { 
    color: var(--primary); 
    animation: flash 1.5s infinite;
}

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

nav { 
    display: flex; 
    gap: 40px; 
}
.nav-link {
    color: var(--text-muted); 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 0.85rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition); 
    position: relative;
    padding: 5px 0;
}
.nav-link::after {
    content: ''; 
    position: absolute; 
    bottom: -3px; 
    left: 0; 
    width: 0; 
    height: 2px;
    background: var(--primary); 
    transition: var(--transition);
    box-shadow: 0 0 8px var(--primary);
}
.nav-link:hover, .nav-link.active { 
    color: var(--primary); 
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}
.nav-link:hover::after, .nav-link.active::after { 
    width: 100%; 
}

/* --- Layout System --- */
main { 
    max-width: 1300px; 
    margin: 0 auto; 
    padding: 140px 30px 60px; 
    display: flex; 
    flex-direction: column; 
    gap: 140px; 
}

/* --- Reveal Matrices --- */
.reveal { 
    opacity: 0; 
    transform: translateY(25px); 
    transition: 0.9s cubic-bezier(0.16, 1, 0.3, 1); 
}
.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}
.reveal-delay { 
    opacity: 0; 
    transform: translateY(25px); 
    transition: 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s; 
}
.reveal-delay.active { 
    opacity: 1; 
    transform: translateY(0); 
}

/* --- Premium Flight Control Call-to-Actions --- */
.btn {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    gap: 12px; 
    padding: 15px 32px;
    border-radius: 4px; 
    font-weight: 700; 
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none; 
    transition: var(--transition);
    cursor: pointer; 
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}
.primary-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff; 
    box-shadow: 0 8px 20px rgba(0, 210, 255, 0.25);
    border: 1px solid rgba(0, 210, 255, 0.3);
}
.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: 0.6s;
}
.primary-btn:hover::before {
    left: 100%;
}
.primary-btn:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 12px 25px rgba(0, 210, 255, 0.45); 
    border-color: var(--primary);
}

.secondary-btn { 
    background: rgba(0, 210, 255, 0.04); 
    color: var(--text-main); 
    border-color: rgba(0, 210, 255, 0.25); 
    backdrop-filter: blur(10px);
}
.secondary-btn:hover { 
    background: rgba(0, 210, 255, 0.12); 
    border-color: var(--primary); 
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
    transform: translateY(-3px); 
}

/* --- Section Formatting & Badging --- */
.section-header { 
    margin-bottom: 50px; 
    position: relative;
}
.section-badge {
    display: inline-block; 
    font-family: var(--font-heading); 
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary); 
    letter-spacing: 3px; 
    margin-bottom: 12px;
    padding: 4px 12px;
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 2px;
    background: rgba(0, 210, 255, 0.06);
}
.section-header h2 { 
    font-family: var(--font-heading); 
    font-size: 2.3rem; 
    font-weight: 900; 
    color: var(--text-main); 
    letter-spacing: 1.5px;
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.1);
}
.section-subtitle { 
    color: var(--text-muted); 
    font-size: 1.05rem; 
    margin-top: 12px; 
    max-width: 650px; 
}

.glass-section {
    background: var(--bg-surface); 
    backdrop-filter: blur(25px);
    border: 2px solid rgba(0, 210, 255, 0.15); 
    border-radius: 12px; 
    padding: 60px;
    box-shadow: 
        0 24px 50px rgba(0,0,0,0.5),
        inset 0 1px 1px rgba(255,255,255,0.05);
}

.glass-panel {
    background: var(--bg-panel); 
    border: 1px solid rgba(0, 210, 255, 0.15);
    border-radius: 8px; 
    padding: 35px;
    backdrop-filter: blur(15px);
    transition: var(--transition);
}
.glass-panel:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0, 210, 255, 0.1);
}

/* --- Hero Section - Flight Control Hub --- */
#hero { 
    display: grid; 
    grid-template-columns: 1.2fr 0.8fr; 
    align-items: center; 
    gap: 60px; 
    min-height: 80vh; 
}
.status-badge {
    display: inline-flex; 
    align-items: center; 
    gap: 12px; 
    background: rgba(0, 210, 255, 0.08);
    border: 1.5px solid var(--border-glow); 
    color: var(--primary); 
    font-family: var(--font-heading);
    font-size: 0.8rem; 
    font-weight: 800;
    padding: 8px 18px; 
    border-radius: 4px; 
    margin-bottom: 35px; 
    letter-spacing: 2.5px;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}
.status-pulse { 
    width: 8px; 
    height: 8px; 
    background-color: var(--primary); 
    border-radius: 50%; 
    animation: pulse 1.5s infinite; 
}
.hero-title { 
    font-family: var(--font-heading); 
    font-size: 4.8rem; 
    font-weight: 900; 
    line-height: 1.05; 
    margin-bottom: 20px; 
    letter-spacing: -1px; 
    background: linear-gradient(135deg, #fff 50%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle { 
    font-family: var(--font-heading); 
    font-size: 1.5rem; 
    color: var(--primary); 
    margin-bottom: 30px; 
    height: 38px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}
.cursor { 
    color: var(--primary); 
    animation: blink 0.9s step-end infinite; 
}
.hero-tagline { 
    font-size: 1.15rem; 
    color: var(--text-muted); 
    margin-bottom: 45px; 
    max-width: 580px; 
    line-height: 1.75; 
}
.hero-actions { 
    display: flex; 
    gap: 25px; 
    margin-bottom: 60px; 
}

.hero-stats { 
    display: flex; 
    gap: 50px; 
}
.stat-card { 
    border-left: 3px solid var(--primary); 
    padding-left: 20px; 
    transition: var(--transition);
}
.stat-card:hover {
    transform: translateX(4px);
}
.stat-num { 
    font-family: var(--font-heading); 
    font-size: 2.1rem; 
    font-weight: 900; 
    color: var(--text-main); 
}
.stat-lbl { 
    font-size: 0.75rem; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-top: 4px;
}

/* CAD Drone Blueprint Vector Animation */
.drone-container { 
    position: relative; 
    width: 100%; 
    height: 450px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    animation: float 5s ease-in-out infinite; 
}
.drone-glow { 
    position: absolute; 
    width: 320px; 
    height: 320px; 
    background: radial-gradient(circle, rgba(0,210,255,0.15) 0%, transparent 70%); 
    filter: blur(40px); 
}
.drone-svg { 
    width: 100%; 
    height: 100%; 
    max-width: 480px; 
    z-index: 2; 
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
.propeller-spin { 
    animation: spin 0.12s linear infinite; 
    transform-origin: 0px 0px; 
}
@keyframes spin { 100% { transform: rotate(360deg); } }
.spin-slow { 
    animation: spin 24s linear infinite; 
    transform-origin: 250px 250px; 
}
.spin-reverse { 
    animation: spinReverse 18s linear infinite; 
    transform-origin: 250px 250px; 
}
@keyframes spinReverse { 100% { transform: rotate(-360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 
    0% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.4); } 
    70% { box-shadow: 0 0 0 10px rgba(0, 210, 255, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0); } 
}

/* --- About Section & Technical Profile --- */
.about-grid { 
    display: grid; 
    grid-template-columns: 1.4fr 1fr; 
    gap: 60px; 
}
.about-text h3 { 
    font-size: 1.7rem; 
    font-family: var(--font-heading);
    color: var(--text-main); 
    margin-bottom: 25px; 
    font-weight: 800; 
}
.about-text p { 
    color: var(--text-muted); 
    font-size: 1.1rem; 
    margin-bottom: 22px; 
    line-height: 1.8;
}
.about-text strong { 
    color: var(--primary); 
    font-weight: 600; 
}
.highlight-quote { 
    background: linear-gradient(90deg, rgba(0, 210, 255, 0.08), transparent); 
    border-left: 4px solid var(--primary); 
    padding: 30px; 
    border-radius: 0 4px 4px 0; 
    margin-top: 45px; 
    font-style: italic; 
    color: var(--text-main); 
    font-size: 1.1rem; 
    position: relative;
}
.quote-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 2rem;
    color: rgba(0, 210, 255, 0.15);
}

.about-card { 
    display: flex; 
    flex-direction: column; 
    gap: 22px; 
    justify-content: center; 
}
.card-line { 
    display: flex; 
    flex-direction: column; 
    border-bottom: 1px dashed rgba(0, 210, 255, 0.2); 
    padding-bottom: 15px; 
}
.card-line span { 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 5px;
}
.card-line strong { 
    font-family: var(--font-heading); 
    color: var(--text-main); 
    font-size: 1.15rem; 
    font-weight: 600; 
}

.github-btn { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 12px; 
    background: rgba(0, 210, 255, 0.04); 
    color: var(--text-main); 
    padding: 18px; 
    border-radius: 4px; 
    text-decoration: none; 
    font-weight: 700; 
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-top: 15px; 
    transition: var(--transition); 
    border: 1px solid rgba(0, 210, 255, 0.25); 
}
.github-btn:hover { 
    background: var(--primary); 
    color: #061121; 
    border-color: var(--primary); 
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
    transform: translateY(-3px); 
}

/* --- Professional Aeronautical Project Cards Deck --- */
.projects-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 35px; 
}
.project-card {
    position: relative; 
    background: rgba(10, 25, 45, 0.7); 
    border-radius: 12px; 
    overflow: hidden;
    text-decoration: none; 
    display: flex; 
    flex-direction: column; 
    transition: var(--transition);
    border: 1.5px solid rgba(0, 210, 255, 0.15); 
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.card-gradient-border { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 4px; 
    background: var(--primary); 
    opacity: 0; 
    transition: var(--transition); 
}
.project-card:hover { 
    transform: translateY(-8px); 
    background: rgba(15, 35, 65, 0.95); 
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.5),
        0 0 25px rgba(0, 210, 255, 0.2); 
    border-color: var(--primary); 
}
.project-card:hover .card-gradient-border { 
    opacity: 1; 
}

.project-icon { 
    font-size: 2.2rem; 
    color: var(--primary); 
    margin-bottom: 25px; 
    transition: var(--transition);
}
.project-card:hover .project-icon {
    transform: scale(1.1);
    text-shadow: 0 0 15px var(--primary);
}
.project-title { 
    font-family: var(--font-heading); 
    font-size: 1.45rem; 
    color: var(--text-main); 
    margin-bottom: 10px; 
}
.project-subtitle { 
    font-size: 0.95rem; 
    color: var(--primary); 
    margin-bottom: 22px; 
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}
.project-desc { 
    color: var(--text-muted); 
    font-size: 1rem; 
    flex-grow: 1; 
    margin-bottom: 35px; 
    line-height: 1.7;
}
.tech-tags { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
}
.tech-tags span { 
    font-size: 0.75rem; 
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(0, 210, 255, 0.08); 
    color: var(--primary); 
    padding: 6px 14px; 
    border-radius: 2px; 
    border: 1px solid rgba(0, 210, 255, 0.25);
}

/* --- Tech Competencies Progress Indicators --- */
.skills-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 45px; 
}
.skill-category h4 { 
    font-family: var(--font-heading); 
    font-size: 1.1rem; 
    color: var(--text-main); 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 30px; 
    border-bottom: 1.5px solid rgba(0, 210, 255, 0.25);
    padding-bottom: 10px;
    letter-spacing: 1px;
}
.skill-category h4 i { 
    color: var(--primary); 
}
.skill-category ul { 
    list-style: none; 
    display: flex; 
    flex-direction: column; 
    gap: 22px; 
}
.skill-info { 
    display: flex; 
    justify-content: space-between; 
    font-size: 0.9rem; 
    color: var(--text-muted); 
    margin-bottom: 8px; 
    font-weight: 500;
}
.skill-info span:first-child {
    color: var(--text-main);
}
.skill-bar { 
    width: 100%; 
    height: 6px; 
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 2px; 
    overflow: hidden; 
    border: 1px solid rgba(0, 210, 255, 0.1);
}
.skill-fill { 
    height: 100%; 
    background: linear-gradient(90deg, var(--primary), var(--secondary)); 
    border-radius: 2px; 
    position: relative; 
    transition: width 1.5s ease-in-out;
}

/* --- High-Aesthetic Telemetry Contact Terminal --- */
.contact-grid { 
    display: grid; 
    grid-template-columns: 1.3fr 0.7fr; 
    gap: 50px; 
}
.console-box { 
    background: var(--bg-console); 
    border: 1.5px solid rgba(0, 210, 255, 0.2); 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.console-header { 
    background: #061121; 
    padding: 16px 24px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    border-bottom: 1.5px solid rgba(0, 210, 255, 0.2); 
}
.window-controls { 
    display: flex; 
    gap: 8px; 
}
.dot { 
    width: 12px; 
    height: 12px; 
    border-radius: 50%; 
}
.red-dot { background: #ff4757; } 
.yellow-dot { background: #ffa502; } 
.green-dot { background: #2ed573; }
.console-title { 
    font-family: var(--font-mono); 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    letter-spacing: 1px;
}

.console-body { 
    padding: 35px; 
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
}
.console-body p { 
    font-family: var(--font-mono); 
    font-size: 0.95rem; 
    color: #a5b4fc; 
    line-height: 1.8; 
}
.console-body p strong {
    color: var(--primary);
}
.copy-btn { 
    align-self: flex-start; 
    padding: 14px 28px; 
    background: rgba(0, 210, 255, 0.04); 
    border: 1px solid var(--primary); 
    color: var(--primary); 
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.copy-btn:hover { 
    background: var(--primary); 
    color: #061121; 
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.contact-links { 
    display: flex; 
    flex-direction: column; 
    gap: 25px; 
    justify-content: center; 
}
.contact-links h3 { 
    font-family: var(--font-heading); 
    font-size: 1.35rem; 
    margin-bottom: 10px; 
    letter-spacing: 1.5px;
}
.contact-item { 
    display: flex; 
    align-items: center; 
    gap: 22px; 
    padding: 18px 0; 
    border-bottom: 1px dashed rgba(0, 210, 255, 0.25); 
}
.icon-wrap { 
    width: 50px; 
    height: 50px; 
    border-radius: 4px; 
    background: rgba(0, 210, 255, 0.06); 
    color: var(--primary); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 1.3rem; 
    border: 1.5px solid rgba(0, 210, 255, 0.25);
    transition: var(--transition);
}
.contact-item:hover .icon-wrap {
    background: var(--primary);
    color: #061121;
    box-shadow: 0 0 15px var(--primary);
    transform: scale(1.08);
}
.contact-data { 
    display: flex; 
    flex-direction: column; 
    gap: 5px; 
}
.contact-data span { 
    font-size: 0.75rem; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
}
.contact-data a { 
    color: var(--text-main); 
    text-decoration: none; 
    font-size: 1.15rem; 
    font-weight: 600; 
    transition: var(--transition); 
}
.contact-data a:hover { 
    color: var(--primary); 
}

/* --- Footer --- */
footer { 
    padding: 60px 0; 
    border-top: 2px solid rgba(0, 210, 255, 0.2); 
    margin-top: 80px; 
    text-align: center; 
    background: rgba(4, 12, 24, 0.9);
}
.footer-content { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 18px; 
}
.footer-content p { 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    letter-spacing: 0.5px;
}

/* --- Responsive Formatting --- */
@media (max-width: 1024px) {
    main {
        padding-top: 110px;
    }
    #hero { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 40px;
    }
    .hero-actions { 
        justify-content: center; 
    }
    .hero-stats { 
        justify-content: center; 
    }
    .about-grid, .contact-grid { 
        grid-template-columns: 1fr; 
        gap: 50px;
    }
    .drone-container { 
        height: 350px; 
    }
}

@media (max-width: 768px) {
    .glass-header {
        padding: 0 4%;
    }
    .hero-title { 
        font-size: 3.5rem; 
    }
    nav { 
        display: none; 
    } 
    .glass-section { 
        padding: 35px; 
    }
    .console-body {
        padding: 20px;
    }
    .btn {
        width: 100%;
    }
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .stat-card {
        border-left: none;
        border-top: 2px solid var(--primary);
        padding-left: 0;
        padding-top: 10px;
        text-align: center;
        width: 100%;
        max-width: 200px;
    }
}

/* --- CFD Wind Tunnel Telemetry Console CSS --- */
.wind-tunnel-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

.panel-header-hud, .panel-footer-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.panel-footer-hud {
    border-bottom: none;
    border-top: 1px solid var(--border-light);
    padding-bottom: 0;
    padding-top: 12px;
    margin-bottom: 0;
    margin-top: 15px;
}

.hud-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary);
}

.canvas-container {
    position: relative;
    width: 100%;
    height: 360px;
    background: rgba(4, 12, 24, 0.6);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    overflow: hidden;
}

#windTunnelCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Stalling Alert red flashing HUD overlay */
.stall-alert {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 71, 87, 0.15);
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 15px 30px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(255, 71, 87, 0.4);
    pointer-events: none;
    text-align: center;
    z-index: 10;
}

.animate-flash {
    animation: flash 1s infinite;
}

.hud-gauges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.gauge-card {
    background: rgba(6, 17, 33, 0.5);
    border: 1px dashed rgba(0, 210, 255, 0.18);
    border-radius: 4px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: var(--transition);
}

.gauge-card:hover {
    border-style: solid;
    border-color: var(--primary);
    background: rgba(0, 210, 255, 0.04);
}

.gauge-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.gauge-value {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.controls-deck {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

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

.control-group label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-val {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.hud-select {
    background: #061121;
    border: 1.5px solid rgba(0, 210, 255, 0.25);
    border-radius: 4px;
    color: var(--text-main);
    padding: 10px 15px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.hud-select:focus, .hud-select:hover {
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.2);
}

.hud-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    outline: none;
    border: 1px solid rgba(0, 210, 255, 0.1);
}

.hud-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary);
    transition: 0.2s;
}

.hud-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.plot-container {
    width: 100%;
    height: 140px;
    background: rgba(4, 12, 24, 0.5);
    border: 1px solid rgba(0, 210, 255, 0.12);
    border-radius: 4px;
    padding: 10px;
}

#clCurveCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- Featured Flagship Project: Project ICARUS CSS --- */
.featured-project-container {
    margin-bottom: 50px;
    background: rgba(10, 25, 45, 0.85);
    border: 2px solid var(--primary);
    box-shadow: 0 15px 40px rgba(0, 210, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.featured-project-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 210, 255, 0.3);
}

.featured-project-badge {
    position: absolute;
    top: 0;
    left: 40px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 6px 20px;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.featured-project-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    margin-top: 15px;
}

.featured-project-icon-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.featured-project-icon-title .project-icon {
    font-size: 2.8rem;
    margin-bottom: 0;
}

.featured-project-phases {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.phase-box {
    border-left: 2px solid var(--primary);
    padding-left: 15px;
}

.phase-box strong {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--primary);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.phase-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.featured-project-schematic {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(4, 12, 24, 0.6);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 15px;
}

.schematic-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(0, 210, 255, 0.4);
    margin-bottom: 10px;
    border-bottom: 1px dashed rgba(0, 210, 255, 0.15);
    padding-bottom: 6px;
}

.schematic-view {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.schematic-view svg {
    max-width: 100%;
    max-height: 250px;
}

.hidden {
    display: none !important;
}

/* Responsive tweaks for new elements */
@media (max-width: 1024px) {
    .wind-tunnel-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .featured-project-content {
        grid-template-columns: 1fr;
    }
}

