/* ============================================
   HAMZA OMER — PORTFOLIO STYLESHEET
   Dark theme with neon accents & glassmorphism
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --bg-glass: rgba(22, 22, 31, 0.7);

    --text-primary: #e8e8f0;
    --text-secondary: #8888a0;
    --text-muted: #55556a;

    --accent-primary: #6c63ff;
    --accent-secondary: #00d4ff;
    --accent-tertiary: #ff6b9d;
    --accent-green: #00e676;
    --accent-yellow: #ffd740;
    --accent-orange: #ff9100;

    --redhat-red: #ee0000;
    --kubernetes-blue: #326ce5;
    --cisco-blue: #049fd9;

    --gradient-primary: linear-gradient(135deg, #6c63ff, #00d4ff);
    --gradient-card: linear-gradient(135deg, rgba(108, 99, 255, 0.05), rgba(0, 212, 255, 0.05));
    --gradient-glow: radial-gradient(circle, rgba(108, 99, 255, 0.15), transparent 70%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(108, 99, 255, 0.2);

    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(108, 99, 255, 0.3);

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --nav-height: 72px;
    --container-max: 1200px;
    --border-radius: 16px;
    --border-radius-sm: 8px;

    --transition-fast: 0.2s ease;
    --transition-med: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

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

@media (max-width: 768px) {
    body { cursor: auto; }
}

::selection {
    background: rgba(108, 99, 255, 0.3);
    color: #fff;
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ---- Custom Cursor ---- */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(108, 99, 255, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.15s ease-out;
    transform: translate(-50%, -50%);
}

.cursor-ring.hover {
    width: 56px;
    height: 56px;
    border-color: var(--accent-secondary);
    background: rgba(0, 212, 255, 0.05);
}

@media (max-width: 768px) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ---- Particle Canvas ---- */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition-med);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 1px;
}

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

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-med);
    border-radius: 2px;
}

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    z-index: 999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-med);
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--accent-primary);
}

@media (max-width: 900px) {
    .nav-links, .btn-nav { display: none; }
    .hamburger { display: flex; }
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition-med);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-hover);
}

.btn-outline:hover {
    background: rgba(108, 99, 255, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--gradient-primary);
    color: #fff;
    padding: 10px 24px;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.25);
}

.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.35);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.8rem;
    border-radius: 50px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.btn-small:hover {
    background: rgba(108, 99, 255, 0.2);
    transform: translateY(-1px);
}

.btn-outline-small {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline-small:hover {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}

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

/* ---- Section Base ---- */
.section {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

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

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 0 auto;
}

/* ---- Hero Section ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 24px;
    min-height: 100vh;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-green);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-greeting {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.hero-name {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-roles {
    font-size: 1.3rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
    min-height: 2em;
}

.role-static {
    color: var(--text-secondary);
}

.role-dynamic {
    color: var(--accent-secondary);
    font-weight: 600;
}

.cursor-blink {
    color: var(--accent-primary);
    animation: blink 1s step-end infinite;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.8s ease 0.5s forwards;
    opacity: 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Terminal Animation */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.4s forwards;
    opacity: 0;
}

.terminal-window {
    width: 100%;
    max-width: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.terminal-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
}

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

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

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

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

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.8;
    min-height: 280px;
}

.terminal-line {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}

.prompt {
    color: var(--accent-green);
    user-select: none;
}

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

.output {
    color: var(--text-secondary);
    padding-left: 20px;
}

.output .highlight {
    color: var(--accent-secondary);
}

.output .success {
    color: var(--accent-green);
}

.output .warn {
    color: var(--accent-yellow);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s ease-in-out infinite;
}

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

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

/* ---- About Section ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-intro {
    font-size: 1.1rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.highlight {
    color: var(--accent-secondary);
    font-weight: 500;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.detail i {
    color: var(--accent-primary);
    width: 20px;
    text-align: center;
}

/* Code Card */
.about-visual {
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}

.code-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.code-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }

.code-filename {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.code-content {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.7;
    overflow-x: auto;
}

.yaml-key { color: var(--accent-secondary); }
.yaml-value { color: var(--accent-green); }

/* ---- Certifications Section (FEATURED) ---- */
.certifications {
    background: var(--bg-secondary);
    position: relative;
}

.certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(108, 99, 255, 0.06), transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(0, 212, 255, 0.04), transparent 50%);
    pointer-events: none;
}

.cert-category {
    margin-bottom: 64px;
}

.cert-category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.cert-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cert-icon.redhat {
    background: rgba(238, 0, 0, 0.1);
    color: var(--redhat-red);
    border: 1px solid rgba(238, 0, 0, 0.2);
}

.cert-icon.kubernetes {
    background: rgba(50, 108, 229, 0.1);
    color: var(--kubernetes-blue);
    border: 1px solid rgba(50, 108, 229, 0.2);
}

.cert-icon.cisco {
    background: rgba(4, 159, 217, 0.1);
    color: var(--cisco-blue);
    border: 1px solid rgba(4, 159, 217, 0.2);
}

.cert-category-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

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

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

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-med);
    cursor: default;
}

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

.cert-card.featured {
    border-color: rgba(108, 99, 255, 0.15);
}

.cert-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.cert-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(108, 99, 255, 0.03), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-med);
    pointer-events: none;
}

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

.cert-card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.cert-card:hover .cert-card-shine {
    left: 100%;
}

.cert-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    background: rgba(238, 0, 0, 0.1);
    color: var(--redhat-red);
    border: 1px solid rgba(238, 0, 0, 0.15);
}

.cert-badge.kubernetes-badge {
    background: rgba(50, 108, 229, 0.1);
    color: var(--kubernetes-blue);
    border-color: rgba(50, 108, 229, 0.15);
}

.cert-badge.cisco-badge {
    background: rgba(4, 159, 217, 0.1);
    color: var(--cisco-blue);
    border-color: rgba(4, 159, 217, 0.15);
}

.cert-level {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.cert-level.expert {
    color: var(--accent-green);
}

.cert-level.specialist {
    color: var(--accent-yellow);
}

.cert-card-content h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.cert-card-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cert-skills span {
    padding: 4px 10px;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-muted);
}

/* Certification Summary */
.cert-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.cert-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
    transition: all var(--transition-med);
}

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

.cert-summary-card.total {
    border-color: rgba(108, 99, 255, 0.2);
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.08), rgba(0, 212, 255, 0.05));
}

.summary-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--accent-primary);
}

.summary-count {
    display: block;
    font-size: 2rem;
    font-weight: 800;
}

.summary-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Skills Section ---- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

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

.skill-cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: rgba(108, 99, 255, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(108, 99, 255, 0.15);
    margin-bottom: 20px;
}

.skill-category-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skill-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
}

.skill-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Projects Section ---- */
.projects {
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: all var(--transition-med);
}

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

.project-card.large {
    grid-column: 1 / -1;
}

.project-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: var(--gradient-card);
    position: relative;
    overflow: hidden;
}

.project-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Kubernetes Visual */
.kubernetes-visual {
    position: relative;
}

.k8s-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--kubernetes-blue);
    animation: spin 20s linear infinite;
}

.k8s-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.k8s-node i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.k8s-node:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.k8s-node:nth-child(2) { bottom: 0; left: 15%; }
.k8s-node:nth-child(3) { bottom: 0; right: 15%; }

/* AI Visual */
.ai-visual {
    position: relative;
}

.ai-brain {
    font-size: 3rem;
    color: var(--accent-tertiary);
    animation: pulse 3s ease-in-out infinite;
    z-index: 1;
}

.ai-connections {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
}

.ai-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-secondary);
    border-radius: 50%;
    animation: orbit 4s linear infinite;
}

.ai-dot:nth-child(1) { top: 0; left: 50%; animation-delay: 0s; }
.ai-dot:nth-child(2) { top: 25%; right: 0; animation-delay: 0.7s; }
.ai-dot:nth-child(3) { bottom: 25%; right: 0; animation-delay: 1.4s; }
.ai-dot:nth-child(4) { bottom: 0; left: 50%; animation-delay: 2.1s; }
.ai-dot:nth-child(5) { bottom: 25%; left: 0; animation-delay: 2.8s; }
.ai-dot:nth-child(6) { top: 25%; left: 0; animation-delay: 3.5s; }

/* Infra Visual */
.infra-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.infra-icons i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    opacity: 0.6;
    transition: all var(--transition-med);
}

.project-card:hover .infra-icons i {
    opacity: 1;
    color: var(--accent-secondary);
}

.project-content {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50px;
    background: rgba(108, 99, 255, 0.08);
    color: var(--accent-primary);
    border: 1px solid rgba(108, 99, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag.kubernetes-tag {
    background: rgba(50, 108, 229, 0.08);
    color: var(--kubernetes-blue);
    border-color: rgba(50, 108, 229, 0.15);
}

.tag.ai-tag {
    background: rgba(255, 107, 157, 0.08);
    color: var(--accent-tertiary);
    border-color: rgba(255, 107, 157, 0.15);
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
}

.project-highlights .highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    -webkit-text-fill-color: initial;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.project-highlights .highlight i {
    color: var(--accent-green);
    font-size: 0.75rem;
}

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

/* ---- Experience / Timeline ---- */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--border-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

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

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 4px;
}

.marker-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    background: var(--text-muted);
    position: relative;
}

.marker-dot.active {
    background: var(--accent-primary);
    box-shadow: 0 0 12px rgba(108, 99, 255, 0.4);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: all var(--transition-med);
}

.timeline-content:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.timeline-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.company {
    font-size: 0.9rem;
    color: var(--accent-secondary);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 4px 12px;
    background: rgba(108, 99, 255, 0.06);
    border-radius: 50px;
    white-space: nowrap;
}

.timeline-details {
    list-style: none;
    margin-bottom: 16px;
}

.timeline-details li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-tags span {
    padding: 4px 12px;
    font-size: 0.7rem;
    background: rgba(108, 99, 255, 0.06);
    border: 1px solid rgba(108, 99, 255, 0.1);
    border-radius: 50px;
    color: var(--text-muted);
}

/* ---- Contact Section ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-med);
}

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

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 0.9rem;
    color: var(--text-primary);
}

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

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: all var(--transition-med);
}

.social-link:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.2);
}

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

.form-group {
    position: relative;
    margin-bottom: 28px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 0;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    outline: none;
    transition: border-color var(--transition-fast);
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--accent-primary);
}

.form-group label {
    position: absolute;
    top: 14px;
    left: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    font-size: 0.7rem;
    color: var(--accent-primary);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-med);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

/* ---- Footer ---- */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

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

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
}

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

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

/* ---- Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes blink {
    50% { opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 1; }
    100% { transform: scale(1); opacity: 0.3; }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding-top: 120px;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

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

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

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

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

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

    .project-card {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

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

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

    .scroll-indicator {
        display: none;
    }
}

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

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

    .cert-summary {
        grid-template-columns: 1fr 1fr;
    }

    .timeline {
        padding-left: 30px;
    }

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

    .timeline-marker {
        left: -30px;
    }

    .marker-dot {
        width: 18px;
        height: 18px;
    }

    .timeline-header {
        flex-direction: column;
    }
}
