/* ========================================
   PORTFOLIO - Avinash Jha
   Premium Dark Theme with Defence-Tech HUD
   V4 - Tactical Defence Aesthetic
======================================== */

:root {
    /* Base Colors - Deep Military Dark */
    --bg-primary: #030508;
    --bg-secondary: #0a0d12;
    --bg-card: rgba(16, 42, 66, 0.15);
    --bg-card-hover: rgba(16, 42, 66, 0.25);
    --border-color: rgba(34, 211, 238, 0.15);
    --border-hover: rgba(34, 211, 238, 0.35);

    /* Text Colors */
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Tactical Defense Colors */
    --tactical-green: #22c55e;
    --tactical-cyan: #22d3ee;
    --tactical-amber: #f59e0b;
    --tactical-red: #ef4444;
    --radar-glow: rgba(34, 211, 238, 0.6);

    /* Accent Colors - Defense Tech */
    --accent-primary: #22d3ee;
    --accent-secondary: #06b6d4;
    --accent-tertiary: #22c55e;
    --accent-gradient: linear-gradient(135deg, #22d3ee 0%, #06b6d4 35%, #22c55e 70%, #86efac 100%);
    --accent-gradient-reverse: linear-gradient(-135deg, #86efac 0%, #22c55e 35%, #06b6d4 70%, #22d3ee 100%);
    --accent-glow: rgba(34, 211, 238, 0.5);
    --accent-glow-green: rgba(34, 197, 94, 0.4);

    /* HUD Colors */
    --hud-border: rgba(34, 211, 238, 0.3);
    --hud-bg: rgba(3, 5, 8, 0.85);
    --scan-line: rgba(34, 211, 238, 0.1);

    /* Social Colors */
    --linkedin: #0a66c2;
    --github: #e2e8f0;

    /* Status Colors */
    --success: #22c55e;
    --warning: #f59e0b;
    --live: #ef4444;

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;

    /* Effects */
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-slow: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 50px var(--accent-glow);
    --shadow-glow-intense: 0 0 80px var(--accent-glow), 0 0 120px var(--accent-glow-green);
}

/* ========================================
   RESET & BASE
======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-logo .accent {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
}

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

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

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.nav-social:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 80% at 50% -30%, rgba(129, 140, 248, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 85% 50%, rgba(167, 139, 250, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 15% 70%, rgba(244, 114, 182, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 70% 90%, rgba(34, 211, 238, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: heroGradientShift 15s ease-in-out infinite alternate;
}

/* Animated Grid Overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(129, 140, 248, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 140, 248, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 20%, transparent 70%);
    pointer-events: none;
}

/* Floating Orbs */
.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.15) 0%, transparent 70%);
    top: 20%;
    right: 10%;
    filter: blur(60px);
    animation: floatOrb 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGradientShift {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(-30px, 30px) scale(1.1);
    }

    50% {
        transform: translate(20px, -20px) scale(0.95);
    }

    75% {
        transform: translate(-20px, -30px) scale(1.05);
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.4);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-mono);
    color: var(--tactical-cyan);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 25%, #22c55e 50%, #06b6d4 75%, #22d3ee 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShimmer 3s linear infinite;
    text-shadow: 0 0 40px rgba(34, 211, 238, 0.3);
}

@keyframes gradientShimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-subtitle .highlight {
    color: var(--accent-primary);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px var(--accent-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Hero Social Links */
.hero-social {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--text-primary);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
}

/* ========================================
   SECTIONS - COMMON
======================================== */
.section {
    padding: var(--section-padding);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 16px auto 0;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.about-text strong {
    color: var(--text-primary);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.highlight-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.highlight-icon {
    font-size: 1.25rem;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(10px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 1.5rem;
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.card-body .college {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.card-body .degree {
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.card-body .year {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.card-body .location {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.quick-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.quick-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.qs-number {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 60px;
}

.qs-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========================================
   SKILLS SECTION
======================================== */
.skills {
    background: var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition);
}

.skill-category:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.skill-category.consulting {
    grid-column: span 2;
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.skill-icon {
    font-size: 1.5rem;
}

.skill-category-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.skill-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-category.consulting .skill-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.skill-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.skill-category.consulting .skill-list li {
    padding-bottom: 0;
    border-bottom: none;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.skill-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.skill-name {
    font-weight: 500;
    color: var(--text-primary);
}

.skill-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.skill-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.skill-tag.primary {
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-primary);
}

/* ========================================
   PROJECTS SECTION
======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Animated gradient border */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #818cf8, #a78bfa, #f472b6, #fb7185, #818cf8);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderGlow 4s ease infinite;
    pointer-events: none;
}

@keyframes borderGlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.project-card:hover {
    border-color: transparent;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(129, 140, 248, 0.15), 0 10px 20px rgba(244, 114, 182, 0.1);
}

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

.project-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.08) 0%, rgba(167, 139, 250, 0.05) 50%, rgba(244, 114, 182, 0.03) 100%);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.project-year {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

.project-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
    border-radius: 20px;
    font-weight: 600;
}

.project-badge.live {
    background: rgba(239, 68, 68, 0.2);
    color: var(--live);
    animation: pulse 2s infinite;
}

.project-badge.security {
    background: rgba(6, 182, 212, 0.2);
    color: #06b6d4;
}

.project-badge.climate {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.project-badge.ongoing {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    animation: pulse 2s infinite;
}

.project-badge.confidential {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.project-badge.simulation {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.project-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 4px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-role {
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.project-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.project-features {
    list-style: none;
    margin-bottom: 24px;
}

.project-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.project-features li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

.project-features li strong {
    color: var(--success);
}

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

.project-tech span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
}

.project-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 20;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-left: -36px;
    margin-right: -36px;
    margin-bottom: -36px;
    padding: 20px 36px;
    background: rgba(10, 13, 18, 0.8);
    border-radius: 0 0 24px 24px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    z-index: 30;
}

.project-link:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.15);
}

.project-link.primary {
    background: var(--accent-gradient);
    border: none;
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.project-link.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

/* ========================================
   JATAYU DATA SHOWCASE (Jellyfish Style)
======================================== */
.jatayu-showcase {
    margin: 24px 0;
    padding: 24px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(34, 211, 238, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.jatayu-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    animation: jellyPulse 8s ease-in-out infinite;
}

@keyframes jellyPulse {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(10%, 10%) scale(1.1);
        opacity: 0.3;
    }
}

.showcase-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.showcase-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.showcase-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* Jellyfish Floating Cards */
.jellyfish-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.jelly-card {
    background: rgba(10, 15, 20, 0.8);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: jellyFloat 6s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    transition: all 0.3s ease;
}

.jelly-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(34, 197, 94, 0.5);
}

.jelly-card.featured {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 211, 238, 0.1));
    border-color: rgba(34, 197, 94, 0.4);
}

.jelly-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.3), transparent 70%);
    transform: translate(-50%, -50%);
    animation: glowPulse 4s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes jellyFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.jelly-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #22c55e, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.jelly-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 4px;
    position: relative;
    z-index: 2;
}

.jelly-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-top: 4px;
    position: relative;
    z-index: 2;
}

/* Reverse Engineering Flow */
.reverse-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px;
    background: rgba(10, 15, 20, 0.6);
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    overflow-x: auto;
}

.flow-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.15);
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.flow-item:hover {
    background: rgba(34, 211, 238, 0.15);
    transform: scale(1.05);
}

.flow-item.featured {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
}

.flow-icon {
    font-size: 1.5rem;
}

.flow-text {
    display: flex;
    flex-direction: column;
}

.flow-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.flow-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.flow-arrow {
    font-size: 1.2rem;
    color: #22c55e;
    flex-shrink: 0;
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(3px);
    }
}

/* Hotspot Table */
.hotspot-table {
    position: relative;
    z-index: 2;
    background: rgba(10, 15, 20, 0.6);
    border-radius: 12px;
    overflow: hidden;
}

.table-header {
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(245, 158, 11, 0.15));
    border-bottom: 1px solid rgba(239, 68, 68, 0.3);
    font-weight: 600;
    font-size: 0.9rem;
    color: #ef4444;
}

.hotspot-row {
    display: grid;
    grid-template-columns: 30px 1fr 1fr 100px 80px;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}

.hotspot-row:hover {
    background: rgba(239, 68, 68, 0.08);
}

.hotspot-row:last-child {
    border-bottom: none;
}

.hotspot-row .rank {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.75rem;
}

.hotspot-row .district {
    font-weight: 600;
    color: var(--text-primary);
}

.hotspot-row .state {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.hotspot-row .incidents {
    font-family: var(--font-mono);
    color: #f59e0b;
    font-size: 0.8rem;
}

.hotspot-row .casualties {
    font-family: var(--font-mono);
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .jellyfish-grid {
        grid-template-columns: 1fr;
    }

    .reverse-flow {
        flex-wrap: wrap;
        justify-content: center;
    }

    .flow-arrow {
        display: none;
    }

    .hotspot-row {
        grid-template-columns: 25px 1fr 80px;
    }

    .hotspot-row .state {
        display: none;
    }
}

/* ========================================
   NETRA RADAR THEME
======================================== */
.netra-showcase {
    margin: 24px 0;
    padding: 24px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.showcase-tag.radar {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.jelly-card.radar-theme {
    border-color: rgba(59, 130, 246, 0.3);
}

.jelly-card.radar-theme.featured {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.1));
    border-color: rgba(59, 130, 246, 0.4);
}

.jelly-glow.radar {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
}

.capabilities-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    background: rgba(10, 15, 20, 0.6);
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

.cap-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.cap-item:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.cap-icon {
    font-size: 1.1rem;
}

.cap-text {
    color: var(--text-primary);
    font-weight: 500;
}

/* ========================================
   BITTACHON SHIELD THEME
======================================== */
.bittachon-showcase {
    margin: 24px 0;
    padding: 24px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.showcase-tag.shield {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
}

.showcase-pulse.shield {
    background: #a855f7;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.pillar-card {
    background: rgba(10, 15, 20, 0.8);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    animation: jellyFloat 6s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(168, 85, 247, 0.1);
}

.pillar-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.pillar-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pillar-desc {
    font-size: 0.8rem;
    color: #a855f7;
    font-family: var(--font-mono);
}

.pillar-detail {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Trust Timeline */
.trust-timeline {
    background: rgba(10, 15, 20, 0.6);
    border-radius: 12px;
    padding: 16px;
    position: relative;
    z-index: 2;
}

.timeline-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.timeline-bar {
    display: flex;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.timeline-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.timeline-segment.verified {
    background: linear-gradient(90deg, #22c55e, #16a34a);
    color: white;
}

.timeline-segment.warning {
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: white;
}

.timeline-segment.unknown {
    background: linear-gradient(90deg, #6b7280, #4b5563);
    color: white;
}

.timeline-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ========================================
   YAROK GREEN THEME
======================================== */
.yarok-showcase {
    margin: 24px 0;
    padding: 24px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.showcase-tag.green {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.showcase-pulse.green {
    background: #22c55e;
}

.jelly-card.green-theme {
    border-color: rgba(34, 197, 94, 0.3);
}

.jelly-card.green-theme.featured {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.1));
    border-color: rgba(34, 197, 94, 0.4);
}

.jelly-glow.green {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.3), transparent 70%);
}

/* Buffer Layers */
.buffer-layers {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(10, 15, 20, 0.6);
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

.layer {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--layer-color, #22c55e);
    border-left: 4px solid var(--layer-color, #22c55e);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.layer:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.layer-icon {
    font-size: 1.3rem;
}

.layer-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .buffer-layers {
        flex-direction: column;
    }

    .capabilities-row {
        justify-content: center;
    }
}

/* ========================================
   ACHIEVEMENTS SECTION
======================================== */
.achievements {
    background: var(--bg-secondary);
}

.achievements-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.achievement-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    position: relative;
}

.achievement-item::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: -40px;
    width: 1px;
    background: var(--border-color);
}

.achievement-item:last-child::before {
    display: none;
}

.achievement-year {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-primary);
    position: relative;
}

.achievement-year::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--accent-gradient);
    border-radius: 50%;
}

.achievement-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
}

.achievement-badge {
    display: inline-block;
    font-size: 0.875rem;
    padding: 6px 14px;
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.achievement-badge.hackathon {
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-primary);
}

.achievement-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.achievement-subtitle {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.achievement-content ul {
    list-style: none;
}

.achievement-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.achievement-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* ========================================
   LEADERSHIP SECTION
======================================== */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.leadership-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition);
}

.leadership-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.leadership-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.leadership-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.leadership-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact {
    background: var(--bg-secondary);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    flex-shrink: 0;
}

.contact-icon.linkedin {
    color: var(--linkedin);
}

.contact-icon.github {
    color: var(--github);
}

.contact-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .about-card {
        flex: 1;
        min-width: 280px;
    }

    .skill-category.consulting {
        grid-column: span 1;
    }

    .skill-category.consulting .skill-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.25rem;
    }

    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-social {
        flex-wrap: wrap;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-sidebar {
        flex-direction: column;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card.featured {
        grid-column: 1;
    }

    .achievement-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .achievement-item::before {
        display: none;
    }

    .achievement-year::after {
        display: none;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

    .hero-cta {
        flex-direction: column;
    }

    .project-links {
        flex-direction: column;
    }

    .project-link {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   DEFENCE HUD ELEMENTS
======================================== */

/* HUD Corner Brackets for Cards */
.project-card::after,
.skill-category::after,
.leadership-card::after,
.about-card::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 16px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover::after,
.skill-category:hover::after,
.leadership-card:hover::after,
.about-card:hover::after {
    opacity: 1;
}

/* Tactical Status Indicator */
.project-badge.live::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--tactical-red);
    border-radius: 50%;
    margin-right: 6px;
    animation: statusBlink 1s infinite;
}

@keyframes statusBlink {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px var(--tactical-red);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 4px var(--tactical-red);
    }
}

/* Scan Line Effect */
.hero::before {
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

/* Section Tags with Tactical Style */
.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--tactical-cyan);
    margin-bottom: 16px;
    padding: 4px 12px;
    background: rgba(34, 211, 238, 0.1);
    border-left: 3px solid var(--tactical-cyan);
    letter-spacing: 0.05em;
}

/* Tactical Border Glow on Project Cards */
.project-card.featured::before {
    background: linear-gradient(135deg, #22d3ee, #06b6d4, #22c55e, #86efac, #22d3ee);
}

/* ========================================
   AUDIO TOGGLE BUTTON
======================================== */
.audio-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(3, 5, 8, 0.9);
    border: 1px solid rgba(34, 211, 238, 0.4);
    color: var(--tactical-cyan);
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.audio-toggle:hover {
    border-color: var(--tactical-cyan);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
    transform: scale(1.1);
}

.audio-toggle.playing {
    border-color: var(--tactical-green);
    color: var(--tactical-green);
    animation: audioPulse 2s infinite;
}

@keyframes audioPulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(34, 197, 94, 0.5);
    }
}