/* ====== CSS VARIABLES ====== */
:root {
    --cyan: #00ffff;
    --cyan-dim: rgba(0,255,255,0.15);
    --cyan-glow: rgba(0,255,255,0.3);
    --purple: #9d4edd;
    --purple-dim: rgba(157,78,221,0.15);
    --bg-dark: #060610;
    --bg-mid: #0e0e1e;
    --text-primary: #f0f0f8;
    --text-secondary: #9090a8;
    --text-muted: #5a5a70;
    --border: rgba(0,255,255,0.12);
    --border-hover: rgba(0,255,255,0.35);
    --card-bg: rgba(10,15,35,0.7);
    --font-display: 'Syne', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --font-body: 'DM Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.65;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(0, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(rgba(0, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 25s linear infinite;
    z-index: 0;
    pointer-events: none;
}

html {
    scroll-behavior: smooth;
}

/* ====== GLOBAL BACKGROUND CANVAS ====== */
.bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
}

/* ====== CONTAINER WIDTHS ====== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-family: var(--font-display);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 12px;
    text-align: center;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    margin: 14px auto 0;
    border-radius: 2px;
}

.section-sublte {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* ====== NAVBAR STYLES ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(6, 6, 16, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,255,255,0.06);
    padding: 14px 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(6, 6, 16, 0.92);
    border-bottom-color: rgba(0,255,255,0.12);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    padding: 10px 0;
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Logo */
.nav-logo {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.5px;
    flex-shrink: 0;
    transition: color 0.3s;
}
.nav-logo:hover { color: var(--cyan); }
.nav-logo-bracket { color: var(--text-muted); }
.nav-logo-accent { color: var(--cyan); }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    flex-wrap: nowrap;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--cyan);
    background: var(--cyan-dim);
}

.nav-menu a.active {
    color: var(--cyan);
    background: var(--cyan-dim);
}

/* ====== HAMBURGER MENU ====== */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
    transition: border-color 0.3s;
}

.hamburger-menu:hover { border-color: var(--border-hover); }

.hamburger-menu span {
    width: 22px;
    height: 2px;
    background: var(--cyan);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

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

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
}

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

.btn-resume {
    background: transparent;
    color: var(--cyan);
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1.5px solid var(--cyan);
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
}

.btn-resume-icon { font-size: 1rem; }

.btn-resume:hover {
    background: var(--cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--cyan-glow);
    transform: translateY(-1px);
}

/* ====== LOADING SCREEN ====== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a15 0%, #1a1a2e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    display: none;
}

.loading-content {
    text-align: center;
    color: #00ffff;
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 10;
    position: relative;
}

.loading-title {
    font-size: 2.2rem;
    margin-bottom: 50px;
    animation: pulse 1.5s ease-in-out infinite;
    color: #00d4d4;
    font-weight: 300;
    letter-spacing: 1px;
    width: 100%;
}

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

.loading-graphs {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 50px;
}

.graph-box {
    background: linear-gradient(135deg, rgba(10, 60, 80, 0.4) 0%, rgba(5, 40, 60, 0.2) 100%);
    border: 1px solid rgba(0, 200, 180, 0.3);
    padding: 25px;
    border-radius: 12px;
    min-width: 280px;
    text-align: left;
}

.graph-box p {
    color: #888;
    margin-bottom: 15px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.graph-placeholder {
    width: 230px;
    height: 150px;
    background: linear-gradient(180deg, rgba(0, 20, 40, 0.6) 0%, rgba(0, 10, 30, 0.4) 100%);
    border-radius: 6px;
    position: relative;
    border: 1px solid rgba(0, 150, 150, 0.2);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
}

.graph-placeholder::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(0deg, rgba(0, 150, 150, 0.1) 0px, rgba(0, 150, 150, 0.1) 1px, transparent 1px, transparent 30px),
        repeating-linear-gradient(90deg, rgba(0, 150, 150, 0.1) 0px, rgba(0, 150, 150, 0.1) 1px, transparent 1px, transparent 30px);
    z-index: 1;
}

.graph-placeholder::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 60%;
    bottom: 10px;
    left: 10px;
    background: linear-gradient(180deg, rgba(0, 255, 100, 0.3) 0%, rgba(0, 150, 200, 0.1) 100%);
    clip-path: polygon(0 100%, 5% 85%, 10% 75%, 15% 65%, 20% 55%, 25% 48%, 30% 42%, 35% 38%, 40% 35%, 45% 33%, 50% 32%, 55% 32%, 60% 33%, 65% 35%, 70% 38%, 75% 42%, 80% 48%, 85% 55%, 90% 65%, 95% 75%, 100% 85%, 100% 100%);
    z-index: 2;
    animation: graphWave 3s ease-in-out infinite;
}

.graph-box:nth-child(1) .graph-placeholder::after {
    background: linear-gradient(180deg, rgba(200, 100, 100, 0.3) 0%, rgba(255, 100, 0, 0.1) 100%);
    clip-path: polygon(0 20%, 5% 25%, 10% 28%, 15% 32%, 20% 35%, 25% 40%, 30% 45%, 35% 50%, 40% 55%, 45% 60%, 50% 65%, 55% 68%, 60% 72%, 65% 75%, 70% 78%, 75% 80%, 80% 82%, 85% 84%, 90% 86%, 95% 88%, 100% 90%, 100% 100%, 0 100%);
}

.graph-value {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 3;
}

.graph-box:nth-child(2) .graph-value {
    color: #00ff00;
}

.graph-box:nth-child(1) .graph-value {
    color: #ff6464;
}

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

.epoch {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-container {
    width: 500px;
    height: 6px;
    background: rgba(0, 150, 150, 0.15);
    border-radius: 3px;
    margin: 25px auto;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00d4d4, #0088ff);
    width: 0;
    transition: width 0.1s ease;
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(0, 200, 180, 0.5);
}

.progress-text {
    color: #00d4d4;
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.8rem;
    text-shadow: 0 0 20px rgba(0, 212, 212, 0.3);
}

.success-mess {
    margin-top: 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.success-mess.show {
    opacity: 1;
}

.success-mess h3 {
    color: #00ff00;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.success-mess p {
    color: #aaa;
    font-size: 0.95rem;
}

.training-status {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 25px;
    font-size: 0.85rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: statusGlow 2s ease-in-out infinite;
}

.status-dot.green {
    background: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
}

.status-dot.cyan {
    background: #00d4d4;
    box-shadow: 0 0 10px rgba(0, 212, 212, 0.6);
}

.status-dot.orange {
    background: #ff8c00;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.6);
}

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

/* ====== HERO SECTION ====== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 90px;
    padding-bottom: 60px;
    z-index: 1;
    overflow: hidden;
}

/* Canvas for particles */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

/* Glowing orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.hero-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,255,255,0.08) 0%, transparent 70%);
    top: -100px; left: -100px;
    animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(157,78,221,0.1) 0%, transparent 70%);
    bottom: -50px; right: -100px;
    animation: orbFloat 15s ease-in-out infinite reverse;
}
.hero-orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0,150,255,0.07) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat 10s ease-in-out infinite 3s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.97); }
}

.hero-container {
    position: relative;
    z-index: 1;
    width: min(100%, 860px);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Availability badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,255,255,0.06);
    border: 1px solid rgba(0,255,255,0.2);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-family: var(--font-mono);
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 36px;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}
.hero-badge-dot {
    width: 7px; height: 7px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0,255,136,0.8);
    animation: pulse 2s ease infinite;
}

/* Hero title */
.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3.5rem, 10vw, 7rem);
    line-height: 0.95;
    letter-spacing: -1px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-title-line {
    display: block;
    color: var(--text-primary);
    animation: fadeInUp 0.7s ease 0.2s backwards;
}

.hero-title-accent {
    color: transparent;
    -webkit-text-stroke: 2px var(--cyan);
    text-stroke: 2px var(--cyan);
    animation: fadeInUp 0.7s ease 0.35s backwards;
    position: relative;
}

.hero-title-accent::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: var(--cyan);
    -webkit-text-stroke: 0;
    text-stroke: 0;
    background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s ease-in-out infinite 1s;
}

@keyframes shimmer {
    0%, 100% { background-position: -200% 0; }
    50% { background-position: 200% 0; }
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-mono);
    animation: fadeInUp 0.7s ease 0.45s backwards;
}

.hero-intro {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 28px;
    animation: fadeInUp 0.7s ease 0.55s backwards;
}

/* Specialty chips */
.hero-specialties {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 36px;
    animation: fadeInUp 0.7s ease 0.65s backwards;
}
.specialty-chip {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--cyan);
    background: var(--cyan-dim);
    border: 1px solid rgba(0,255,255,0.2);
    padding: 5px 14px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.specialty-sep { color: var(--text-muted); font-size: 1rem; }

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
    animation: fadeInUp 0.7s ease 0.75s backwards;
}

.btn-primary, .btn-secondary {
    padding: 13px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 0 rgba(0,255,255,0);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--cyan-glow), 0 0 0 1px var(--cyan);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: var(--cyan-dim);
    transform: translateY(-3px);
}

/* Social icons */
.hero-socials {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    animation: fadeInUp 0.7s ease 0.85s backwards;
}

.hero-social-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.03);
}

.hero-social-link:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    background: var(--cyan-dim);
    transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.7s ease 0.95s backwards;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--cyan), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

/* ====== SCROLL REVEAL ANIMATIONS ====== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ====== SECTIONS PADDING ====== */
.about-section,
.system-section,
.metrics-section,
.pipeline-section,
.experience-section,
.certifications-section,
.contact-section,
.education-section,
.achievements-section,
.training-section {
    padding: 110px 0;
    position: relative;
    z-index: 1;
}

/* Section divider line */
.about-section,
.system-section,
.metrics-section,
.pipeline-section,
.experience-section,
.certifications-section,
.achievements-section,
.education-section,
.training-section {
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* ====== SYSTEM CARDS SECTION ====== */
.system-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.system-card {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.system-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.5);
}

/* ===== UNIQUE PREVIEWS FOR EACH PROJECT ===== */

/* Card 1: Carbon Emission Forecasting - Time Series Chart */
.system-card:nth-child(1) .mini-graph {
    background: linear-gradient(180deg, #1a1a3e 0%, #0d3a2a 100%);
}

.system-card:nth-child(1) .mini-graph::before {
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 3px,
            rgba(0, 255, 0, 0.15) 3px,
            rgba(0, 255, 0, 0.15) 5px
        );
}

.system-card:nth-child(1) .mini-graph::after {
    width: 85%;
    height: 50%;
    background: linear-gradient(90deg, 
        rgba(205, 92, 92, 0.3) 0%,
        rgba(255, 165, 0, 0.25) 30%,
        rgba(0, 255, 0, 0.3) 100%);
    clip-path: polygon(0 100%, 10% 60%, 20% 50%, 30% 40%, 40% 35%, 50% 30%, 60% 25%, 70% 20%, 80% 15%, 90% 10%, 100% 5%, 100% 100%);
    border: none;
    box-shadow: none;
}

/* Card 2: Energy Forecasting Dashboard - Bar Chart */
.system-card:nth-child(2) .mini-graph {
    background: linear-gradient(180deg, #1a3a3e 0%, #0a2a3e 100%);
}

.system-card:nth-child(2) .mini-graph::before {
    background-image: 
        repeating-linear-gradient(
            90deg,
            rgba(100, 200, 255, 0.15) 0px,
            rgba(100, 200, 255, 0.15) 6px,
            transparent 6px,
            transparent 12px
        );
}

.system-card:nth-child(2) .mini-graph::after {
    width: 70%;
    height: 60%;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 4px,
        rgba(0, 200, 255, 0.25) 4px,
        rgba(0, 200, 255, 0.25) 6px
    );
    border: none;
    box-shadow: none;
}

/* Card 3: Air Pollution Analysis - Heatmap */
.system-card:nth-child(3) .mini-graph {
    background: linear-gradient(180deg, #3a1a1a 0%, #2a1a0a 100%);
}

.system-card:nth-child(3) .mini-graph::before {
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 8px,
            rgba(255, 100, 0, 0.1) 8px,
            rgba(255, 100, 0, 0.1) 10px
        ),
        repeating-linear-gradient(
            180deg,
            transparent 0px,
            transparent 8px,
            rgba(255, 100, 0, 0.1) 8px,
            rgba(255, 100, 0, 0.1) 10px
        );
}

.system-card:nth-child(3) .mini-graph::after {
    width: 70%;
    height: 60%;
    background: linear-gradient(135deg, 
        rgba(0, 255, 0, 0.2) 0%,
        rgba(255, 255, 0, 0.2) 30%,
        rgba(255, 165, 0, 0.2) 60%,
        rgba(255, 0, 0, 0.2) 100%);
    border-radius: 4px;
}

/* Card 4: NavSecure - Route/Map Visualization */
.system-card:nth-child(4) .mini-graph {
    background: linear-gradient(180deg, #1a2a3e 0%, #0a1a3e 100%);
}

.system-card:nth-child(4) .mini-graph::before {
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 50% 60%, rgba(0, 200, 255, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 80% 40%, rgba(100, 200, 255, 0.15) 2px, transparent 2px),
        linear-gradient(45deg, transparent 48%, rgba(0, 255, 100, 0.1) 49%, rgba(0, 255, 100, 0.1) 51%, transparent 52%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}

.system-card:nth-child(4) .mini-graph::after {
    width: 80%;
    height: 55%;
    background: transparent;
    border: 2px solid rgba(0, 255, 100, 0.3);
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0, 255, 100, 0.1);
}

/* Card 5: Employee Salary EDA - Box Plot/Distribution */
.system-card:nth-child(5) .mini-graph {
    background: linear-gradient(180deg, #2a1a3e 0%, #1a0a2e 100%);
}

.system-card:nth-child(5) .mini-graph::before {
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 10px,
            rgba(200, 100, 255, 0.1) 10px,
            rgba(200, 100, 255, 0.1) 12px
        );
}

.system-card:nth-child(5) .mini-graph::after {
    width: 75%;
    height: 50%;
    background: 
        linear-gradient(180deg, 
            rgba(200, 100, 255, 0.15) 0%,
            rgba(200, 100, 255, 0.15) 30%,
            transparent 30%,
            transparent 70%,
            rgba(100, 200, 255, 0.15) 70%,
            rgba(100, 200, 255, 0.15) 100%);
    border: 1px solid rgba(200, 100, 255, 0.3);
    border-radius: 2px;
}

.card-graph-preview {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #1a3a3a 0%, #0a2a3a 100%);
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(0, 255, 255, 0.1);
}

.card-graph-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: rgba(0, 255, 255, 0.05);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    z-index: 10;
}

.mini-graph {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(0, 128, 255, 0.05));
    border-radius: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 20px;
}

/* Chart/Graph visualization for different projects */
.mini-graph::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            90deg,
            rgba(0, 255, 255, 0.1) 0px,
            rgba(0, 255, 255, 0.1) 2px,
            transparent 2px,
            transparent 8px
        ),
        repeating-linear-gradient(
            180deg,
            transparent 0px,
            transparent 30%,
            rgba(0, 255, 255, 0.15) 30px,
            rgba(0, 255, 255, 0.15) 32px
        );
    border-radius: 0;
}

.mini-graph::after {
    content: '';
    position: absolute;
    width: 90%;
    height: 60%;
    background: linear-gradient(180deg, 
        rgba(0, 255, 0, 0.2) 0%,
        rgba(0, 255, 200, 0.15) 50%,
        rgba(0, 150, 255, 0.1) 100%);
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    margin-top: 5px;
    color: #00ffff;
    font-weight: 600;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.tag {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.card-impact {
    color: #888;
    font-size: 0.9rem;
    margin: 15px 0;
}

.card-link {
    color: #00ffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #00ff00;
    text-decoration: underline;
}

/* ====== METRICS SECTION ====== */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 70px;
}

.metric-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 36px 24px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.35s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}

.metric-card:hover {
    background: rgba(0,255,255,0.06);
    border-color: var(--border-hover);
    box-shadow: 0 8px 40px rgba(0,255,255,0.1);
    transform: translateY(-6px);
}

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

.metric-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--cyan);
    margin-bottom: 10px;
    line-height: 1;
    text-shadow: 0 0 30px rgba(0,255,255,0.3);
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ====== SKILLS SECTION ====== */
.skills-container {
    margin-top: 70px;
}

/* Filter Button Styles */
.skills-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 9px 22px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.05);
}

.filter-btn.active {
    background: var(--cyan-dim);
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 12px rgba(0,255,255,0.15);
}

/* Skills Grid Layout */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Individual Skill Card */
.skill-card {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 12px;
    transition: transform 0.3s ease;
    opacity: 1;
    transform: scale(1);
    animation: fadeIn 0.3s ease;
    perspective: 1100px;
    min-height: 170px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.skill-card.hidden {
    display: none;
    animation: none;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card-inner {
    position: relative;
    width: 100%;
    min-height: 170px;
    transform-style: preserve-3d;
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-card:hover .skill-card-inner {
    transform: rotateY(180deg);
}

.skill-card-face {
    position: absolute;
    inset: 0;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.08);
}

.skill-card-front {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8px;
    padding: 22px;
}

.skill-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
}

.skill-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(0, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.9);
    padding: 6px;
    flex-shrink: 0;
    justify-self: center;
}

.skill-card-title {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 0;
    font-weight: 600;
    text-align: left;
}

.skill-card-back-title {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 600;
}

.skill-card-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 12px;
}

.skill-card-progress {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.skill-card-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--skill-level, 0%);
    background: linear-gradient(90deg, #9d4edd 0%, #7209b7 50%, #5a189a 100%);
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(157, 78, 221, 0.5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-card:hover .skill-card-progress::before {
    transform: scaleX(1);
}

.skill-card-percent {
    color: #888;
    font-size: 0.9rem;
    text-align: right;
    font-weight: 500;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .skills-filter {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* ====== PIPELINE SECTION ====== */
.pipleline-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    position: relative;
    padding: 80px 30px 30px;
    background: rgba(0, 255, 255, 0.02);
    border-radius: 10px;
    overflow: visible;
    gap: 0;
}

.pipeline-stage {
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stage-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00ffff, #0099ff);
    color: #0a0a15;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.pipeline-stage:hover .stage-circle {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
}

.stage-label {
    color: #00ffff;
    font-size: 0.95rem;
    margin-bottom: 0;
    font-weight: bold;
    line-height: 1.3;
    max-width: 100px;
}

.stage-tooltip {
    background: rgba(0, 20, 40, 0.95);
    color: #e0e0e0;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 50%;
    white-space: normal;
    width: max-content;
    max-width: 180px;
    border: 2px solid rgba(0, 255, 255, 0.4);
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.pipeline-stage:hover .stage-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-150px);
    pointer-events: auto;
}

.stage-tooltip p {
    margin: 6px 0;
    color: #00ffff;
    line-height: 1.4;
}

.stage-tooltip p:first-child {
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    padding-bottom: 8px;
}

.pipeline-line {
    flex: 0 0 40px;
    height: 4px;
    background: linear-gradient(90deg, #00ffff 0%, #0099ff 50%, rgba(0, 200, 255, 0.3) 100%);
    margin: 0;
    position: relative;
    top: -30px;
}

/* ====== TIMELINE SECTION ====== */
.timeline-container {
    position: relative;
    margin-top: 60px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--cyan), rgba(157,78,221,0.3), transparent);
}

.timeline-item {
    position: relative;
    margin-left: 70px;
    margin-bottom: 32px;
    padding: 28px 32px;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    border-color: rgba(0,255,255,0.2);
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
    transform: translateX(4px);
}

.timeline-dot {
    position: absolute;
    left: -59px;
    top: 32px;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 2px solid var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0,255,255,0.4);
}

.timeline-dot::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--cyan);
}

.timeline-date {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.timeline-title {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-role {
    color: var(--purple);
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.timeline-details {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-details li {
    line-height: 1.65;
    position: relative;
}

.timeline-details li::marker {
    color: var(--cyan);
    font-size: 0.7em;
}

/* ====== CERTIFICATIONS SECTION ====== */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.cert-card {
    background: linear-gradient(135deg, rgba(0,255,255,0.04) 0%, rgba(157,78,221,0.06) 100%);
    border: 1px solid rgba(0, 255, 255, 0.18);
    border-radius: 16px;
    padding: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cert-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    border-bottom: 1px solid rgba(0,255,255,0.12);
}

.cert-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.cert-card:hover .cert-image {
    transform: scale(1.05);
}

.cert-card-body {
    flex: 1;
    padding: 18px 24px 0;
}

.cert-footer {
    margin: 16px 24px 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

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

.cert-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(135deg, rgba(0,255,255,0.08) 0%, rgba(157,78,221,0.1) 100%);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 12px 36px rgba(0, 255, 255, 0.12), 0 4px 16px rgba(157,78,221,0.1);
}

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

.cert-icon-badge {
    font-size: 2.2rem;
    width: 56px;
    height: 56px;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: background 0.3s;
}

.cert-card:hover .cert-icon-badge {
    background: rgba(0, 255, 255, 0.14);
}

.cert-card-body {
    flex: 1;
}

.cert-title {
    color: #e0f7ff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.cert-org {
    color: #00ffff;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 4px;
    opacity: 0.85;
}

.cert-date {
    color: #6a6a80;
    font-size: 0.82rem;
    margin-bottom: 0;
}

.cert-footer {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.cert-click-hint {
    color: #9d4edd;
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.cert-card:hover .cert-click-hint {
    color: #c77dff;
}

/* ====== CONTACT SECTION ====== */
.contact-wrapper {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 860px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

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

.contact-subtitle {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-description {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 36px;
    font-size: 0.95rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 14px 18px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.25s ease;
}

.contact-item:hover {
    border-color: var(--border-hover);
    background: rgba(0,255,255,0.04);
    transform: translateX(4px);
}

.contact-icon {
    font-size: 1.3rem;
    min-width: 28px;
    text-align: center;
}

.contact-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.contact-value {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.25s;
}

.contact-value:hover {
    color: var(--cyan);
}

/* ====== CONTACT FORM ====== */
.contact-form-container {
    background: var(--card-bg);
    padding: 36px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    padding: 13px 16px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(0,255,255,0.04);
    border-color: rgba(0,255,255,0.35);
    box-shadow: 0 0 0 3px rgba(0,255,255,0.07);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.btn-submit {
    background: var(--cyan);
    color: var(--bg-dark);
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    letter-spacing: 0.3px;
    align-self: flex-start;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--cyan-glow);
}

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

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.thankyou-toast {
    margin-top: 12px;
    display: inline-block;
    background: rgba(0,255,136,0.1);
    border: 1px solid rgba(0,255,136,0.3);
    color: #00ff88;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.thankyou-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ====== FOOTER ====== */
.footer {
    background: rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 48px 0 32px;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-left { display: flex; flex-direction: column; gap: 4px; }

.footer-text {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-logo:hover { color: var(--cyan); }

.footer-center {
    text-align: center;
}

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

.footer-right {
    display: flex;
    gap: 6px;
    align-items: center;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.25s;
    padding: 4px 8px;
    border-radius: 4px;
}

.footer-link:hover {
    color: var(--cyan);
    background: var(--cyan-dim);
}

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

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 900px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(6,6,16,0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        z-index: 998;
        padding: 80px 24px 40px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 12px 24px;
        width: 100%;
        text-align: center;
        border: 1px solid transparent;
        border-radius: 10px;
    }

    .nav-menu a:hover, .nav-menu a.active {
        border-color: var(--border);
        background: var(--cyan-dim);
        color: var(--cyan);
    }

    .hamburger-menu {
        display: flex;
        z-index: 1001;
    }

    .nav-button {
        z-index: 1001;
    }

    .hero-title {
        font-size: clamp(2.8rem, 12vw, 5rem);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 220px;
        justify-content: center;
    }

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

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* Additional mobile breakpoint — pipeline, loading screen */
@media (max-width: 768px) {
    .pipleline-container {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }
    .pipeline-stage { min-width: auto; margin-bottom: 20px; }
    .pipeline-line { width: 4px; height: 40px; margin: 0; }
    .timeline-container::before { left: 15px; }
    .timeline-dot { left: -44px; }
    .timeline-item { margin-left: 60px; }
    .loading-graphs { flex-direction: column; gap: 20px; align-items: center; }
    .graph-box { min-width: auto; width: 90%; max-width: 320px; }
    .graph-placeholder { width: 100%; height: 130px; }
    .loading-title { font-size: 1.6rem; white-space: normal; }
    .progress-container { width: 90%; max-width: 400px; }
    .training-status { flex-wrap: wrap; gap: 15px; }
    .about-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .about-photo-side { position: static; }
    .about-photo-wrapper { max-width: 260px; aspect-ratio: 1; margin: 0 auto; }
    .projects-list { grid-template-columns: 1fr; }
    .edu-list { grid-template-columns: 1fr; }
    .achievements-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ABOUT ME SECTION
   ============================================ */
.about-section {
    padding: 110px 0;
    position: relative;
    z-index: 1;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 70px;
    align-items: start;
    margin-top: 60px;
}

@media (max-width: 960px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.about-photo-side {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: sticky;
    top: 100px;
}

.about-photo-wrapper {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3/4;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

.about-photo-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(6,6,16,0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.about-photo-wrapper::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.about-photo-wrapper:hover::after { opacity: 0.5; }
.about-photo-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,255,255,0.15);
}

.about-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
}

.about-content-side {
    display: flex;
    flex-direction: column;
    padding-top: 8px;
}

.about-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
}

.about-highlight-text {
    color: var(--cyan);
    font-weight: 600;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.about-highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.25s ease;
}

.about-highlight-item:hover {
    border-color: var(--border-hover);
    background: var(--cyan-dim);
    color: var(--text-primary);
}

.highlight-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ============================================
   EDUCATION SECTION
   ============================================ */
.education-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}


/* ============================================
   HERO — Photo, Badge, Intro, Socials
   ============================================ */
.hero-photo-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4), 0 0 40px rgba(0, 255, 255, 0.15);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.hero-badge {
    display: inline-block;
    border: 1px solid rgba(0, 255, 255, 0.5);
    color: #00ffff;
    font-size: 0.85rem;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
    background: rgba(0, 255, 255, 0.06);
}

.hero-intro {
    font-size: 1.05rem;
    color: #b0b0c0;
    max-width: 550px;
    margin: 12px auto 10px;
    line-height: 1.7;
    text-align: center;
}

.hero-highlight {
    color: #00ffff;
    font-weight: 600;
}

.hero-socials {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
}

.hero-social-link {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    color: #b0b0c0;
    background: rgba(255,255,255,0.05);
    transition: border-color 0.3s, color 0.3s, background 0.3s;
    text-decoration: none;
    padding: 8px 14px;
    font-size: 0.85rem;
}

.hero-social-link:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: var(--cyan-dim);
}

.hero-social-icon:hover {
    border-color: #00ffff;
    color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
}

/* ============================================
   ABOUT — card format
   ============================================ */
.about-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 36px 40px;
    max-width: 900px;
    margin: 0 auto 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-highlight-text {
    color: #9d4edd;
    font-weight: 600;
}

/* ============================================
   PROJECTS — full card with Problem/Solution etc.
   ============================================ */
.projects-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 28px;
    margin-top: 50px;
}

@media (max-width: 820px) {
    .projects-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.project-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    opacity: 0;
    transition: opacity 0.35s;
    z-index: 2;
}

.project-card:hover {
    border-color: rgba(157,78,221,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(157,78,221,0.15);
    transform: translateY(-6px);
}

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

.project-image {
    width: 100%;
    height: 210px;
    overflow: hidden;
    position: relative;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(10,15,35,0.9) 100%);
    z-index: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.project-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.project-label {
    color: var(--purple);
    font-weight: 600;
}

.project-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.project-btn-live, .project-btn-github {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    font-family: var(--font-body);
}

.project-btn-live {
    background: var(--purple);
    color: #fff;
}

.project-btn-live:hover {
    background: #b06ef5;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(157,78,221,0.35);
}

.project-btn-github {
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-secondary);
    background: rgba(255,255,255,0.04);
}

.project-btn-github:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: var(--cyan-dim);
    transform: translateY(-1px);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 4px 0;
}

.tag {
    background: rgba(0,255,255,0.07);
    color: var(--cyan);
    padding: 4px 11px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    border: 1px solid rgba(0,255,255,0.2);
    letter-spacing: 0.3px;
}

/* ============================================
   EDUCATION — card format with badges
   ============================================ */
.edu-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}

@media (max-width: 1024px) {
    .edu-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .edu-list {
        grid-template-columns: 1fr;
    }
}

.edu-card {
    background: linear-gradient(135deg, rgba(10,20,50,0.6) 0%, rgba(30,40,80,0.4) 100%);
    border: 1.5px solid rgba(0, 255, 255, 0.25);
    border-radius: 18px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 255, 255, 0), #00ffff, rgba(0, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.4s;
}

.edu-card:hover {
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.15), inset 0 0 30px rgba(0, 255, 255, 0.05);
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(10,20,50,0.8) 0%, rgba(30,40,100,0.5) 100%);
}

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

.edu-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.edu-badge {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2) 0%, rgba(0, 255, 255, 0.1) 100%);
    color: #00ffff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1.2px solid rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.08);
    text-transform: uppercase;
}

.edu-date-pill {
    font-size: 0.78rem;
    color: #7a8a9f;
    background: rgba(255,255,255,0.08);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.15);
    font-weight: 500;
}

.edu-institution {
    font-size: 1.1rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.edu-degree {
    font-size: 0.88rem;
    color: #a8a8c0;
    margin-bottom: 0;
    font-weight: 500;
}

.edu-divider {
    border: none;
    border-top: 1.5px solid rgba(0, 255, 255, 0.15);
    margin: 16px 0 18px;
}

.edu-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.edu-metric {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.edu-metric-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #5a6a80;
    text-transform: uppercase;
}

.edu-metric-value {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.edu-metric-value.cyan {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.edu-metric-value.green {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* ============================================
   TRAINING SECTION
   ============================================ */
.training-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.training-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.training-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 28px 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: border-color 0.3s;
}

.training-card:hover {
    border-color: rgba(157, 78, 221, 0.35);
}

.training-icon {
    font-size: 1.8rem;
    background: rgba(157, 78, 221, 0.1);
    border-radius: 10px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.training-body {
    flex: 1;
}

.training-title {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.training-link-title {
    color: #00ffff;
    text-decoration: none;
}

.training-link-title:hover {
    text-decoration: underline;
}

.training-org {
    font-size: 0.9rem;
    color: #808090;
    margin-bottom: 12px;
}

.training-cert-link {
    color: #9d4edd;
    text-decoration: none;
    font-size: 0.88rem;
}

.training-cert-link:hover {
    text-decoration: underline;
}

.training-btn-wrapper {
    margin-top: 16px;
}

.training-view-cert-btn {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    border: 1px solid #9d4edd;
    color: #9d4edd;
    border-radius: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.training-view-cert-btn:hover {
    background: #9d4edd;
    color: #ffffff;
}

.training-details {
    padding-left: 18px;
    font-size: 0.93rem;
    color: #a0a0b0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}

/* ============================================
   ACHIEVEMENTS SECTION
   ============================================ */
.achievements-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.achievement-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 26px 28px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.achievement-card:hover {
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.06);
}

.achievement-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.achievement-title {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.achievement-org {
    font-size: 0.88rem;
    color: #9d4edd;
    margin-bottom: 10px;
}

.achievement-desc {
    font-size: 0.93rem;
    color: #a0a0b0;
    line-height: 1.6;
    margin-bottom: 10px;
}

.achievement-link {
    font-size: 0.88rem;
    color: #00ffff;
    text-decoration: none;
}

.achievement-link:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */
@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    .projects-list {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .project-body {
        padding: 20px;
    }
    .edu-card, .training-card {
        flex-direction: column;
    }
    .edu-header {
        flex-direction: column;
    }
    .about-card {
        padding: 24px 20px;
    }
}