:root {
    --primary-color: #dfb15b;
    --secondary-color: #3b82f6;
    --accent-color: #f97316;
    --bg-color: #030712;
    --bg-darker: #010206;
    --text-color: #e2e8f0;
    --text-muted: #8a99ad;
    --terminal-bg: #070e1b;
    --glass-border: rgba(223, 177, 91, 0.1);
    --font-main: 'Space Grotesk', sans-serif;
    --font-mono: 'Fira Code', monospace;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
}

/* Subtle High-tech Grid Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(223, 177, 91, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(223, 177, 91, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Interactive Background Canvas */
#net-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: all;
}

/* Glowing Background Orbs */
.bg-glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    opacity: 0.08; /* Very subtle and premium */
    pointer-events: none;
    animation: floatOrb 45s infinite alternate ease-in-out;
}

.orb-1 {
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary-color);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: var(--secondary-color);
    animation-delay: -10s;
}

.orb-3 {
    top: 40%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: var(--accent-color);
    animation-delay: -20s;
    opacity: 0.05;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, 80px) scale(1.15);
    }
    66% {
        transform: translate(-60px, 120px) scale(0.9);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Custom Cursor styles (hidden cursor logic is disabled or customized in JS) */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    display: none;
    /* Let main.js activate it if cursor-move is active */
}

@media(pointer: fine) {
    body {
        cursor: none;
    }

    .cursor-dot,
    .cursor-outline {
        display: block;
    }

    a,
    button,
    .btn,
    .hex-item,
    .project-card-cyber,
    .terminal-input {
        cursor: none;
    }
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.cursor-outline {
    width: 32px;
    height: 32px;
    border: 1px solid var(--primary-color);
    transition: width 0.15s, height 0.15s, border-color 0.15s, background-color 0.15s;
    box-shadow: 0 0 8px rgba(223, 177, 91, 0.2);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: -0.5px;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.section {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 15%;
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    border-radius: 2px;
}

.bg-darker {
    background-color: var(--bg-darker);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 2.2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-main);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #000000;
    border: none;
    box-shadow: 0 0 15px rgba(223, 177, 91, 0.25);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(223, 177, 91, 0.45);
}

.btn-outline {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(223, 177, 91, 0.05);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #000000;
    box-shadow: 0 0 20px rgba(223, 177, 91, 0.35);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(4, 4, 9, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(223, 177, 91, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(4, 4, 9, 0.9);
    border-bottom-color: rgba(223, 177, 91, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-mono);
    letter-spacing: -1px;
}

.logo .dot {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
    animation: blink 1.5s infinite;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-color);
    transition: var(--transition);
}

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

.mobile-number {
    font-family: var(--font-mono);
    color: var(--primary-color) !important;
    background: rgba(223, 177, 91, 0.05);
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid rgba(223, 177, 91, 0.15);
}

.mobile-number:hover {
    background: rgba(223, 177, 91, 0.15);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px auto;
    background-color: #ffffff;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 40px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 4rem;
}

.hero-text {
    flex: 1.2;
}

.cyber-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--primary-color);
    background: rgba(223, 177, 91, 0.06);
    border: 1px solid rgba(223, 177, 91, 0.2);
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(223, 177, 91, 0.4);
}

.glitch-title {
    font-size: 4.6rem;
    line-height: 1.05;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -2.5px;
    background: linear-gradient(135deg, #ffffff 30%, #a2b4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.45rem;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
}

.role-typewriter {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.cursor-blink {
    color: var(--primary-color);
    animation: blink 0.9s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Terminal Emulator Widget */
.terminal-widget {
    width: 100%;
    max-width: 600px;
    background: rgba(7, 14, 27, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(223, 177, 91, 0.15);
    border-radius: 6px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    font-family: var(--font-mono);
}

.terminal-header {
    background: rgba(11, 13, 26, 0.85);
    border-bottom: 1px solid rgba(223, 177, 91, 0.08);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-buttons {
    display: flex;
    gap: 6px;
}

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

.terminal-dot.red {
    background-color: #ff5f56;
}

.terminal-dot.yellow {
    background-color: #ffbd2e;
}

.terminal-dot.green {
    background-color: #27c93f;
}

.terminal-title {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.terminal-status {
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: bold;
    letter-spacing: 1px;
}

.terminal-body {
    padding: 12px;
    height: 200px;
    overflow-y: auto;
    font-size: 0.8rem;
    color: #93c5fd;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.term-prompt {
    color: var(--primary-color);
    margin-right: 6px;
}

.terminal-output {
    color: #e2e8f0;
    white-space: pre-wrap;
    padding-left: 10px;
    border-left: 2px solid rgba(59, 130, 246, 0.3);
}

.logs-container {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #94a3b8;
}

.log-row {
    font-size: 0.75rem;
}

.terminal-input-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.terminal-input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    flex: 1;
}

/* Hero Image & HUD Scan */
.hero-text {
    flex: 1.1;
}

.hero-image {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cyber Portrait Container */
.image-wrapper-cyber {
    width: 500px;
    height: 560px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    /* Allows head breakout! */
    max-width: 100%;
}

/* Cyber portal background glows */
.cyber-portal-bg {
    position: absolute;
    bottom: 20px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223, 177, 91, 0.14) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 70%);
    filter: blur(25px);
    z-index: 1;
}

/* Rotating dashboard/portal tech ring */
.cyber-portal-ring {
    position: absolute;
    bottom: 20px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 2px dashed rgba(223, 177, 91, 0.25);
    z-index: 2;
    animation: rotateRing 20s infinite linear;
}

.cyber-portal-ring::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Futuristic Grid behind portrait */
.cyber-portal-grid {
    position: absolute;
    bottom: 20px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background-image:
        radial-gradient(transparent 50%, var(--bg-color) 70%),
        linear-gradient(rgba(223, 177, 91, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(223, 177, 91, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px, 20px 20px;
    z-index: 2;
    opacity: 0.8;
}

/* The actual portrait cutout */
.cyber-portrait {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 4;
    position: relative;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 10px rgba(223, 177, 91, 0.1));
    transition: var(--transition);
}

.cyber-portrait:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 20px rgba(223, 177, 91, 0.25));
}

/* Scanner line that aligns to the portrait width */
.scanner-laser-body {
    position: absolute;
    width: 460px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    box-shadow: 0 0 8px var(--primary-color), 0 0 15px var(--primary-color);
    z-index: 5;
    animation: scanPort 4s infinite ease-in-out;
    bottom: 20px;
}

@keyframes scanPort {
    0% {
        transform: translateY(-480px);
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        transform: translateY(0px);
        opacity: 0;
    }
}

/* Cybernetic HUD overlay frame */
.cyber-hud-frame {
    position: absolute;
    top: 30px;
    left: -20px;
    right: -20px;
    bottom: 0px;
    border: 1px solid rgba(223, 177, 91, 0.08);
    pointer-events: none;
    z-index: 6;
}

.cyber-hud-frame .hud-tag {
    position: absolute;
    top: -18px;
    left: 8px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--primary-color);
    background: rgba(4, 4, 9, 0.8);
    padding: 0 5px;
    letter-spacing: 1px;
}

.cyber-hud-frame .hud-coords {
    position: absolute;
    bottom: -18px;
    right: 8px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    background: rgba(4, 4, 9, 0.8);
    padding: 0 5px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mouse-icon {
    width: 22px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.8s infinite;
}

@keyframes scroll-wheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 18px;
        opacity: 0;
    }
}

/* About / Core Architecture Section */
.bio-cyber {
    background: rgba(7, 14, 27, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(223, 177, 91, 0.08);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bio-header {
    background: rgba(11, 13, 26, 0.65);
    border-bottom: 1px solid rgba(223, 177, 91, 0.06);
    padding: 10px 15px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bio-body {
    padding: 1.5rem 2rem;
    font-size: 1.05rem;
    color: #cbd5e1;
    text-align: justify;
    line-height: 1.7;
}

/* Timeline Pipeline (Experience & Education) */
.timeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 5rem;
}

.timeline-pipeline {
    position: relative;
    padding-left: 2.2rem;
}

.timeline-pipeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--secondary-color) 60%, transparent 100%);
}

.timeline-pipeline.education::before {
    background: linear-gradient(to bottom, var(--secondary-color) 0%, rgba(59, 130, 246, 0.2) 80%, transparent 100%);
}

.timeline-node {
    position: relative;
    margin-bottom: 3.5rem;
}

.timeline-node:last-child {
    margin-bottom: 0;
}

.node-indicator {
    position: absolute;
    left: calc(-2.2rem - 14px);
    top: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    color: var(--primary-color);
    font-size: 0.75rem;
}

.edu-icon {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.node-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.node-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    animation: pulse 2.5s infinite;
    pointer-events: none;
}

.node-details {
    background: rgba(7, 14, 27, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    padding: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.timeline-node:hover .node-details {
    background: rgba(223, 177, 91, 0.03);
    border-color: rgba(223, 177, 91, 0.3);
    transform: translateX(4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.node-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.accent-glow {
    color: var(--accent-color) !important;
    text-shadow: 0 0 6px rgba(255, 0, 127, 0.4);
}

.node-role {
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 6px;
    margin-bottom: 3px;
    color: #ffffff;
}

.node-company {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.node-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.55;
}

/* Capability Matrix / Skills Hex Grid */
.hex-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    max-width: 1000px;
    margin: 0 auto;
}

.hex-item {
    position: relative;
    width: 160px;
    height: 180px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.hex-item::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--bg-darker);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -1;
}

.hex-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -2;
    opacity: 0.15;
    transition: opacity 0.3s;
}

.hex-item:hover {
    transform: translateY(-8px) scale(1.05);
}

.hex-item:hover::after {
    opacity: 0.8;
}

.hex-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: center;
}

.hex-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    transition: transform 0.3s;
}

.hex-item:hover .hex-icon {
    transform: scale(1.1);
    color: #ffffff;
}

.hex-info h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.hex-bar-container {
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 4px;
    overflow: hidden;
}

.hex-bar {
    height: 100%;
    background: var(--primary-color);
}

.hex-percent {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.hex-item:hover .hex-percent {
    color: #ffffff;
}

/* Project Cards Cyber */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 2.5rem;
}

.project-card-cyber {
    background: rgba(7, 14, 27, 0.35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.project-card-cyber:hover {
    transform: translateY(-6px);
    border-color: rgba(223, 177, 91, 0.25);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 15px rgba(223, 177, 91, 0.05);
}

.project-header {
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 10px 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-dots {
    display: flex;
    gap: 5px;
}

.c-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.project-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.project-image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #020204;
}

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

.project-card-cyber:hover img {
    transform: scale(1.03);
    opacity: 0.85;
}

.project-placeholder-cyber {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0e101f 0%, #030408 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: rgba(223, 177, 91, 0.2);
}

.project-cyber-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 9, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 10;
}

.project-image-wrapper:hover .project-cyber-overlay {
    opacity: 1;
}

.project-action-links {
    display: flex;
    gap: 12px;
}

.project-action-links a {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
    border: 1px solid rgba(223, 177, 91, 0.3);
    padding: 6px 14px;
    border-radius: 4px;
    background: rgba(223, 177, 91, 0.05);
}

.project-action-links a:hover {
    background: var(--primary-color);
    color: #000000;
    box-shadow: 0 0 15px var(--primary-color);
    border-color: var(--primary-color);
}

.project-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-details h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.project-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tech-tags {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.t-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--primary-color);
    background: rgba(223, 177, 91, 0.04);
    border: 1px solid rgba(223, 177, 91, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

/* Certifications Section */
.cert-grid-cyber {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.cert-card-cyber {
    background: rgba(7, 14, 27, 0.35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 6px;
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.cert-card-cyber:hover {
    border-color: rgba(59, 130, 246, 0.25);
    background: rgba(59, 130, 246, 0.03);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.cert-card-border-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--secondary-color);
    opacity: 0.6;
}

.cert-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.cert-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.cert-details h4 {
    font-size: 1.05rem;
    margin: 0;
    color: #ffffff;
}

.cert-details h5 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 4px 0 6px;
    font-weight: 400;
}

.cert-date-stamp {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    display: block;
    margin-bottom: 8px;
}

.cert-cyber-link {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cert-cyber-link:hover {
    color: #ffffff;
    text-shadow: 0 0 5px var(--secondary-color);
}

/* Contact Section Gateways */
.contact-card-cyber {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(223, 177, 91, 0.12);
    border-radius: 8px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.contact-card-cyber p {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    z-index: 10;
    position: relative;
}

.contact-gateways {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.contact-gate-btn {
    font-size: 0.88rem;
}

/* Footer */
footer {
    padding: 3rem 0;
    background: #020204;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

footer p {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.social-links {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.3rem;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(223, 177, 91, 0.05);
    box-shadow: 0 0 10px rgba(223, 177, 91, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column-reverse;
        gap: 3rem;
        text-align: center;
    }

    .hero-text {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .glitch-title {
        font-size: 3.5rem;
    }

    .terminal-widget {
        max-width: 100%;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .image-wrapper-cyber {
        width: 340px;
        height: 380px;
        margin: 0 auto;
    }

    .cyber-portal-bg,
    .cyber-portal-ring,
    .cyber-portal-grid {
        width: 280px;
        height: 280px;
        bottom: 10px;
    }

    .scanner-laser-body {
        width: 300px;
        bottom: 10px;
        animation: scanPortMobile 4s infinite ease-in-out;
    }

    @keyframes scanPortMobile {
        0% {
            transform: translateY(-300px);
            opacity: 0;
        }

        5% {
            opacity: 1;
        }

        95% {
            opacity: 1;
        }

        100% {
            transform: translateY(0px);
            opacity: 0;
        }
    }

    .cyber-hud-frame {
        top: 20px;
        left: -10px;
        right: -10px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 3.5rem;
    }

    .image-wrapper-cyber {
        width: 280px;
        height: 320px;
    }

    .cyber-portal-bg,
    .cyber-portal-ring,
    .cyber-portal-grid {
        width: 240px;
        height: 240px;
        bottom: 5px;
    }

    .scanner-laser-body {
        width: 260px;
        bottom: 5px;
        animation: scanPortTiny 4s infinite ease-in-out;
    }

    @keyframes scanPortTiny {
        0% {
            transform: translateY(-250px);
            opacity: 0;
        }

        5% {
            opacity: 1;
        }

        95% {
            opacity: 1;
        }

        100% {
            transform: translateY(0px);
            opacity: 0;
        }
    }

    .cyber-hud-frame {
        top: 15px;
        left: -5px;
        right: -5px;
    }

    .hex-grid {
        gap: 15px;
    }

    .hex-item {
        width: 120px;
        height: 140px;
    }

    .hex-icon {
        font-size: 1.8rem;
    }

    .hex-info h3 {
        font-size: 0.75rem;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(4, 4, 9, 0.96);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.5rem;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.15s;
    }

    /* Hamburger Animation */
    .hamburger.toggle .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 5px);
    }

    .hamburger.toggle .bar:nth-child(2) {
        opacity: 0;
    }

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