/* ==========================================================================
   RAJ | IT SUPPORT & NETWORKING PORTFOLIO STYLESHEET
   Dark-Tech Aesthetic • Glassmorphism • CSS Grid/Flexbox • Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette - Dark Tech Theme */
    --bg-dark: #07090e;
    --bg-card: rgba(15, 23, 42, 0.65);
    --bg-card-hover: rgba(30, 41, 59, 0.75);
    --bg-glass: rgba(13, 19, 33, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(56, 189, 248, 0.3);
    
    /* Brand Accent Colors */
    --accent-cyan: #38bdf8;
    --accent-cyan-glow: rgba(56, 189, 248, 0.25);
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-green-glow: rgba(16, 185, 129, 0.25);
    --accent-amber: #f59e0b;

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #38bdf8;

    /* Fonts */
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Fira Code', 'JetBrains Mono', Consolas, monospace;

    /* Transitions & Shadows */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.15);
    
    /* Layout */
    --nav-height: 72px;
    --container-max-width: 1200px;
    --border-radius: 14px;
    --border-radius-sm: 8px;
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Faint Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.45;
}

/* Container */
.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Section Common Layout */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid var(--border-highlight);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Glassmorphism Card Utility */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

/* --------------------------------------------------------------------------
   3. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

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

.logo {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

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

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: var(--transition-fast);
}

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

.nav-cta {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: var(--border-radius-sm);
    color: var(--accent-cyan) !important;
}

.nav-cta:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark) !important;
    box-shadow: 0 0 15px var(--accent-cyan-glow);
}

/* Mobile Navigation Toggle */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   4. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
}

.status-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.hero-greeting {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #07090e;
    box-shadow: 0 4px 20px var(--accent-cyan-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(56, 189, 248, 0.4);
    color: #000000;
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    color: var(--accent-cyan);
}

/* Terminal Component */
.terminal-window {
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.terminal-header {
    background: #161b22;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
    display: flex;
    gap: 0.4rem;
}

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

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

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

.terminal-body {
    padding: 1.25rem;
    color: #c9d1d9;
    max-height: 280px;
    overflow-y: auto;
}

.terminal-line {
    margin-bottom: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.prompt {
    color: var(--accent-cyan);
}

.cmd {
    color: #f0f6fc;
}

.res {
    color: var(--text-secondary);
    width: 100%;
    padding-left: 1.2rem;
    margin-top: 0.15rem;
}

.res-highlight {
    color: #34d399;
}

.terminal-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Network Infrastructure Visualizer Graphic */
.network-graphic-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    position: relative;
    box-shadow: var(--shadow-card);
}

.net-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.net-diagram {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
}

.net-node-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.net-node {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-normal);
    z-index: 2;
    min-width: 130px;
}

.net-node:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan-glow);
    transform: scale(1.03);
}

.net-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

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

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

/* Animated Network Cable / Packet lines */
.net-connector {
    flex-grow: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    margin: 0 0.5rem;
    overflow: hidden;
}

.packet {
    position: absolute;
    top: 0;
    left: -20%;
    width: 25px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    animation: flow 2.5s infinite linear;
}

@keyframes flow {
    0% { left: -20%; }
    100% { left: 120%; }
}

/* --------------------------------------------------------------------------
   5. ABOUT ME SECTION
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-profile {
    display: grid;
    grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: 1.5rem;
}

.profile-portrait {
    margin: 0;
    width: 100%;
    max-width: 220px;
}

.profile-photo {
    display: block;
    width: 100%;
    max-width: 220px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border: 1px solid var(--border-highlight);
    border-radius: var(--border-radius);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.profile-name {
    margin-top: 0.8rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
}

.stat-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 0.75rem;
}

.stat-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

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

/* --------------------------------------------------------------------------
   6. TECHNICAL SKILLS SECTION
   -------------------------------------------------------------------------- */
.skills-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

.skill-category:hover {
    border-color: var(--border-highlight);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-color);
}

.category-icon {
    font-size: 1.4rem;
    color: var(--accent-cyan);
}

.category-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 0.45rem 0.95rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}

.skill-badge:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   7. MY TECHNICAL LAB / PRACTICAL EXPERIENCE SECTION
   -------------------------------------------------------------------------- */
.lab-intro {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid var(--border-highlight);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lab-intro-icon {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.lab-intro-text p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.labs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.lab-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.lab-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.lab-card-top {
    margin-bottom: 1.25rem;
}

.lab-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.lab-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.lab-items {
    list-style: none;
    margin-top: 1rem;
}

.lab-items li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lab-items li::before {
    content: '▹';
    color: var(--accent-cyan);
    font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   8. PROJECTS SECTION
   -------------------------------------------------------------------------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-normal);
    position: relative;
}

.project-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.project-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.project-tag-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #c084fc;
}

.project-tag-badge.lab-type {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    color: var(--accent-cyan);
}

.project-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;

}

.tech-item {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   9. EXPERIENCE / LEARNING JOURNEY (TIMELINE)
   -------------------------------------------------------------------------- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple), rgba(255, 255, 255, 0.05));
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan-glow);
    z-index: 2;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    transition: var(--transition-normal);
}

.timeline-content:hover {
    border-color: var(--border-highlight);
    transform: translateX(4px);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 0.4rem;
}

.timeline-role {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-org {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-details {
    list-style: none;
}

.timeline-details li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
    position: relative;
    padding-left: 1.2rem;
}

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

/* --------------------------------------------------------------------------
   10. CURRENTLY LEARNING SECTION
   -------------------------------------------------------------------------- */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.learning-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
}

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

.learning-icon {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.learning-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.learning-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.learning-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 2px;
    width: 60%;
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* --------------------------------------------------------------------------
   11. CERTIFICATIONS / LEARNING SECTION
   -------------------------------------------------------------------------- */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-normal);
}

.cert-card:hover {
    border-color: var(--border-highlight);
}

.cert-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cert-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.cert-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

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

.cert-status-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.cert-status-badge.certified {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

/* --------------------------------------------------------------------------
   12. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
}

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition-normal);
}

.contact-card:hover {
    border-color: var(--accent-cyan);
    transform: translateX(4px);
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.contact-val {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.opportunity-note {
    background: rgba(56, 189, 248, 0.05);
    border: 1px dashed var(--accent-cyan);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.opportunity-note i {
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(7, 9, 14, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan-glow);
}

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

.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
footer {
    background: #040609;
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

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

.footer-links a:hover {
    color: var(--accent-cyan);
}

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

/* --------------------------------------------------------------------------
   14. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .skills-category-grid,
    .labs-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .learning-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .profile-portrait {
        width: min(220px, 70%);
        margin: 0 auto 0.5rem;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: rgba(7, 9, 14, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition-normal);
    }

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

    .hero-title {
        font-size: 2.4rem;
    }

    .skills-category-grid,
    .labs-grid,
    .projects-grid,
    .certs-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 45px;
    }

    .timeline-dot {
        left: 6px;
    }

    .net-node-row {
        flex-direction: column;
        gap: 1rem;
    }

    .net-connector {
        width: 2px;
        height: 30px;
        margin: 0.5rem 0;
    }

    .packet {
        width: 100%;
        height: 25px;
        animation: flowVertical 2.5s infinite linear;
    }

    @keyframes flowVertical {
        0% { top: -20%; }
        100% { top: 120%; }
    }
}

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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