/* Profile Picture Styles */
.hero-profile-pic-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.75rem;
    margin-top: 0;
}

.hero-profile-pic {
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: 20px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    background: var(--bg-card);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}
.hero-profile-pic::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 97, 255, 0.15));
    z-index: -1;
}

/* Utility: centered cover for avatars/images */
.img-cover-center {
    object-fit: cover;
    object-position: 50% 20%;
    display: block;
    border-radius: 20px;
}
/* ============================================
   DevOps Portfolio - Advanced Styles
   ============================================ */

/* Variables */
:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --secondary: #7b61ff;
    --accent: #ff6b6b;
    --success: #00ff88;
    --warning: #ffbe0b;

    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(20, 20, 30, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);

    --border: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 212, 255, 0.5);

    --font-display: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
    font-family: var(--font-display);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

button {
    cursor: none;
}

/* Wave Canvas */
#wave-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6;
}

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
}

.cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.15s, width 0.3s, height 0.3s, border 0.3s;
    opacity: 0.5;
}

.cursor-dot.hover {
    width: 16px;
    height: 16px;
    background: var(--secondary);
}

.cursor-ring.hover {
    width: 60px;
    height: 60px;
    border-color: var(--secondary);
}

/* Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    transition: all 0.4s var(--ease);
}

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

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hire-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.4s var(--ease);
}

.hire-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: transparent;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 120px 60px 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.98) 0%, rgba(5, 5, 8, 1) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.floating-icons {
    position: absolute;
    inset: 0;
}

.float-icon {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.08;
    animation: floatIcon 12s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes floatIcon {

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

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

.hero-content {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--success);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.5);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 10px transparent;
    }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.title-line {
    display: block;
    overflow: hidden;
    margin-bottom: 0.1em;
}

.word {
    display: inline-block;
    margin-right: 0.3em;
    transition: transform 0.5s var(--ease);
}

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

.word.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 520px;
    line-height: 1.65;
    font-weight: 400;
}

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

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
    justify-content: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.35);
}

.btn-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: transform 0.3s;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease);
}

.btn-ghost:hover {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

/* Hero Terminal */
.hero-terminal {
    background: rgba(15, 15, 25, 0.9);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

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

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

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

.terminal-dots .red {
    background: #ff5f56;
}

.terminal-dots .yellow {
    background: #ffbd2e;
}

.terminal-dots .green {
    background: #27ca40;
}

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

.terminal-body {
    padding: 25px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    min-height: 300px;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.prompt {
    color: var(--success);
    font-weight: 600;
}

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

.cursor-blink {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.terminal-output {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.terminal-output .info {
    color: var(--primary);
}

.terminal-output .warning {
    color: var(--warning);
}

/* Hero Solar System */
.hero-solar-system {
    position: relative;
    width: 550px;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stars {
    position: absolute;
    inset: -50px;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 230px 80px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 400px 60px, rgba(255, 255, 255, 0.5), transparent);
    background-size: 600px 600px;
    animation: twinkle 4s ease-in-out infinite alternate;
}

.hero-sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Hero Orbits */
.hero-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.hero-orbit .orbit-path {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-orbit-1 {
    width: 140px;
    height: 140px;
    animation: orbitRotate 6s linear infinite;
}

.hero-orbit-2 {
    width: 220px;
    height: 220px;
    animation: orbitRotate 12s linear infinite;
}

.hero-orbit-3 {
    width: 320px;
    height: 320px;
    animation: orbitRotate 18s linear infinite reverse;
}

.hero-orbit-4 {
    width: 450px;
    height: 450px;
    animation: orbitRotate 28s linear infinite;
}

/* Hero Planets */
.hero-planet {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.hero-planet .planet-body {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-planet:hover .planet-body {
    transform: scale(1.4);
}

.hero-planet .planet-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-planet:hover .planet-glow {
    opacity: 1;
}

/* Smaller outer planets */
.hero-orbit-4 .hero-planet .planet-body {
    width: 35px;
    height: 35px;
    font-size: 1rem;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Section Styles */
section {
    padding: 90px 0;
}

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

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

.section-label {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Expertise Cards */
.expertise {
    background: var(--bg-darker);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
}

.expertise-card {
    position: relative;
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: all 0.4s var(--ease);
    overflow: hidden;
    backdrop-filter: blur(10px);
    will-change: transform;
    transform: translateZ(0);
}

.expertise-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
}

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

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 97, 255, 0.15));
    border-radius: 14px;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.expertise-card:hover .card-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: scale(1.1);
}

.expertise-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.expertise-card p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 18px;
}

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

.card-tags span {
    padding: 6px 14px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

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

.projects-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    backdrop-filter: blur(10px);
    will-change: transform;
    transform: translateZ(0);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.project-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    background: rgba(0, 0, 0, 0.15);
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, var(--bg-card));
}

.project-content {
    padding: 24px;
}

.project-type {
    display: inline-flex;
    padding: 6px 14px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.project-desc {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 18px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.project-tags span {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

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

.project-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.project-link:hover {
    color: var(--primary);
}

/* Tech Stack - Solar System */
.tech-stack {
    background: var(--bg-darker);
    overflow: hidden;
    position: relative;
}

.tech-stack .container {
    overflow: hidden;
}

.section-desc {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 1rem;
}

/* Solar System Container */
.solar-system {
    position: relative;
    width: 700px;
    height: 700px;
    margin: 60px auto 80px;
    max-width: 100%;
    overflow: hidden;
}

/* Twinkling Stars */
.stars {
    position: absolute;
    inset: -100px;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 230px 80px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 400px 60px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 500px 200px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 600px 100px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 700px 250px, rgba(255, 255, 255, 0.6), transparent);
    background-size: 800px 800px;
    animation: twinkle 4s ease-in-out infinite alternate;
}

.stars-2 {
    animation-delay: -2s;
    background-position: 100px 50px;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Sun (rendered as a compact black core) */
.sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.sun-core {
    /* reduced and fully dark for a black-hole / dark sun look */
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, #000 0%, #050505 70%);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 50%;
    font-size: 1.4rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    /* very subtle breathing to avoid motion sickness */
    animation: sunPulse 6s ease-in-out infinite;
    box-shadow: inset 0 0 18px rgba(255,255,255,0.02), 0 8px 30px rgba(0,0,0,0.6);
    overflow: hidden;
}

@keyframes sunPulse {
    0%, 100% { transform: scale(1); }
    50%     { transform: scale(1.02); }
}

.sun-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(0,0,0,0.9) 0%, rgba(123,97,255,0.04) 60%, transparent 72%);
    border-radius: 50%;
    animation: sunGlow 6s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes sunGlow {
    0%,100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
    50%     { opacity: 0.85; transform: translate(-50%, -50%) scale(1.03); }
}

.sun-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 0deg, transparent 0deg 40deg, rgba(123,97,255,0.04) 40deg 80deg, transparent 80deg 360deg);
    border-radius: 50%;
    animation: sunRays 30s linear infinite;
    opacity: 0.28;
}

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

/* Orbits */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.orbit-path {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

/* Orbit 1 - Mercury distance */
.orbit-1 {
    width: 180px;
    height: 180px;
    animation: orbitRotate 8s linear infinite;
}

/* Orbit 2 */
.orbit-2 {
    width: 300px;
    height: 300px;
    animation: orbitRotate 15s linear infinite;
}

/* Orbit 3 */
.orbit-3 {
    width: 440px;
    height: 440px;
    animation: orbitRotate 25s linear infinite reverse;
}

/* Orbit 4 - Outer */
.orbit-4 {
    width: 600px;
    height: 600px;
    animation: orbitRotate 40s linear infinite;
}

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

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Planets */
.planet {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.planet-body {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
}

.planet:hover .planet-body {
    transform: scale(1.3);
}

.planet-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s;
}

.planet:hover .planet-glow {
    opacity: 1;
}

.planet-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s;
}

.planet:hover .planet-label {
    opacity: 1;
    color: var(--text-primary);
}

/* Planet Ring (Saturn-like) */
.planet-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 20px;
    transform: translate(-50%, -50%) rotateX(70deg);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

/* Planet Colors */
.planet-docker .planet-body {
    background: linear-gradient(135deg, #0db7ed, #066da5);
    color: white;
    box-shadow: 0 0 20px rgba(13, 183, 237, 0.4);
}

.planet-docker .planet-glow {
    background: radial-gradient(circle, rgba(13, 183, 237, 0.3), transparent 70%);
}

.planet-docker .planet-ring {
    border-color: rgba(13, 183, 237, 0.5);
}

/* Move Docker slightly farther from the center without changing the whole orbit.
   Uses 'top' because planets are positioned at top:0 inside the orbit box —
   negative top moves them outward along the orbit radius. */
.hero-orbit-1 .hero-planet.planet-docker,
.orbit-1 .planet.planet-docker {
    /* noticeable outward nudge on desktop */
    top: -12%;
    /* keep horizontal centering from the base rule */
    left: 50%;
    transform: translateX(-50%);
}

/* Fallback for very large icons (some planets define custom sizes) */
.hero-orbit-1 .hero-planet.planet-docker .planet-body,
.orbit-1 .planet.planet-docker .planet-body {
    /* slightly smaller so the increased gap doesn't create visual overlap */
    width: 40px;
    height: 40px;
}

.planet-k8s .planet-body {
    background: linear-gradient(135deg, #326ce5, #1e4db7);
    color: white;
    box-shadow: 0 0 20px rgba(50, 108, 229, 0.4);
}

.planet-k8s .planet-glow {
    background: radial-gradient(circle, rgba(50, 108, 229, 0.3), transparent 70%);
}

.planet-jenkins .planet-body {
    background: linear-gradient(135deg, #d33833, #a02724);
    color: white;
    box-shadow: 0 0 20px rgba(211, 56, 51, 0.4);
}

.planet-jenkins .planet-glow {
    background: radial-gradient(circle, rgba(211, 56, 51, 0.3), transparent 70%);
}

.planet-aws .planet-body {
    background: linear-gradient(135deg, #ff9900, #cc7a00);
    color: white;
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.4);
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
}

.planet-aws .planet-glow {
    background: radial-gradient(circle, rgba(255, 153, 0, 0.3), transparent 70%);
    width: 90px;
    height: 90px;
}

/* Docker: responsive radial offsets so it stays further from center but doesn't overlap on small screens */
.hero-orbit-1 .hero-planet.planet-docker,
.orbit-1 .planet.planet-docker {
    transition: top 280ms var(--ease), transform 280ms var(--ease);
}

@media (min-width: 1025px) {
    /* desktop — more pronounced gap */
    .hero-orbit-1 .hero-planet.planet-docker,
    .orbit-1 .planet.planet-docker { top: -14%; }
}

@media (max-width: 1024px) and (min-width: 601px) {
    /* tablet */
    .hero-orbit-1 .hero-planet.planet-docker,
    .orbit-1 .planet.planet-docker { top: -9%; }
}

@media (max-width: 600px) {
    /* phones — reduce offset to avoid collisions */
    .hero-orbit-1 .hero-planet.planet-docker,
    .orbit-1 .planet.planet-docker { top: -6%; }
}

.planet-python .planet-body {
    background: linear-gradient(135deg, #3776ab, #ffd43b);
    color: white;
    box-shadow: 0 0 20px rgba(55, 118, 171, 0.4);
}

.planet-python .planet-glow {
    background: radial-gradient(circle, rgba(55, 118, 171, 0.3), transparent 70%);
}

.planet-terraform .planet-body {
    background: linear-gradient(135deg, #7b42bc, #5c32a1);
    color: white;
    box-shadow: 0 0 20px rgba(123, 66, 188, 0.4);
}

.planet-terraform .planet-glow {
    background: radial-gradient(circle, rgba(123, 66, 188, 0.3), transparent 70%);
}

.planet-terraform .planet-ring {
    border-color: rgba(123, 66, 188, 0.5);
}

.planet-git .planet-body {
    background: linear-gradient(135deg, #f05032, #c73e24);
    color: white;
    box-shadow: 0 0 20px rgba(240, 80, 50, 0.4);
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
}

.planet-git .planet-glow {
    background: radial-gradient(circle, rgba(240, 80, 50, 0.3), transparent 70%);
}

.planet-linux .planet-body {
    background: linear-gradient(135deg, #fcc624, #1a1a1a);
    color: white;
    box-shadow: 0 0 20px rgba(252, 198, 36, 0.4);
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
}

.planet-linux .planet-glow {
    background: radial-gradient(circle, rgba(252, 198, 36, 0.3), transparent 70%);
}

.planet-grafana .planet-body {
    background: linear-gradient(135deg, #f46800, #cc5500);
    color: white;
    box-shadow: 0 0 20px rgba(244, 104, 0, 0.4);
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
}

.planet-grafana .planet-glow {
    background: radial-gradient(circle, rgba(244, 104, 0, 0.3), transparent 70%);
}

.planet-ansible .planet-body {
    background: linear-gradient(135deg, #ee0000, #aa0000);
    color: white;
    box-shadow: 0 0 20px rgba(238, 0, 0, 0.4);
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
}

.planet-ansible .planet-glow {
    background: radial-gradient(circle, rgba(238, 0, 0, 0.3), transparent 70%);
}

/* Planet Positions on Orbits */
.orbit-2 .planet:nth-child(2) {
    top: 0;
    left: 50%;
}

.orbit-2 .planet:nth-child(3) {
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
}

.orbit-3 .planet:nth-child(2) {
    top: 0;
    left: 50%;
}

.orbit-3 .planet:nth-child(3) {
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
}

.orbit-3 .planet:nth-child(4) {
    top: 100%;
    left: 50%;
    transform: translate(-50%, -100%);
}

.orbit-4 .planet:nth-child(2) {
    top: 0;
    left: 50%;
}

.orbit-4 .planet:nth-child(3) {
    top: 25%;
    left: 93%;
}

.orbit-4 .planet:nth-child(4) {
    top: 75%;
    left: 93%;
}

.orbit-4 .planet:nth-child(5) {
    top: 100%;
    left: 50%;
    transform: translate(-50%, -100%);
}

/* Moons */
.moon {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #888, #444);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: white;
    animation: moonOrbit 3s linear infinite;
}

.moon-1 {
    top: -10px;
    right: -15px;
}

.moon-2 {
    bottom: -10px;
    left: -15px;
    animation-delay: -1.5s;
}

@keyframes moonOrbit {
    from {
        transform: rotate(0deg) translateX(10px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(10px) rotate(-360deg);
    }
}

/* Asteroid Belt */
.asteroid-belt {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 520px;
    height: 520px;
    transform: translate(-50%, -50%);
    border: 3px dotted rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: asteroidRotate 60s linear infinite;
}

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

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Tech Cards */
.tech-cards {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.tech-card {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s var(--ease);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media (hover: hover) {
    .tech-card:hover {
        border-color: var(--primary);
        transform: translateY(-5px);
    }
}

.tech-card i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.tech-card span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}



/* Contact */
.contact {
    background: var(--bg-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s var(--ease);
    backdrop-filter: blur(8px);
}

.contact-method:hover {
    border-color: var(--primary);
    transform: translateX(6px);
    background: rgba(0, 212, 255, 0.03);
}

.method-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 97, 255, 0.2));
    border-radius: 12px;
    font-size: 1.2rem;
    color: var(--primary);
}

.method-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

.method-value {
    font-weight: 600;
}

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

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

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-group textarea {
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.form-group label {
    position: absolute;
    left: 18px;
    top: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.3s var(--ease);
}

.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: -10px;
    left: 15px;
    font-size: 0.75rem;
    color: var(--primary);
    background: var(--bg-card);
    padding: 0 5px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 34px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 50px;
    color: white;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.15);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.35);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 10px;
    font-size: 0.9rem;
}

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

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 1.05rem;
    color: var(--text-secondary);
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    background: rgba(0, 212, 255, 0.05);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (min-width: 769px) {
    .solar-system {
        display: block;
    }

    .tech-cards {
        display: none;
    }
}

@media (max-width: 1200px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 100px 40px 60px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-solar-system {
        display: none;
    }

    .hero-terminal {
        display: none;
    }

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

    .solar-system {
        width: 600px;
        height: 600px;
        transform: scale(0.85);
        margin: 40px auto 60px;
    }

    section {
        padding: 70px 0;
    }
}

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

    .cursor-dot,
    .cursor-ring,
    #wave-canvas {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .hire-btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 28px 60px;
    }
    .hero-content {
        padding: 0;
    }

    .hero-title {
        font-size: 1.625rem;
        line-height: 1.15;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

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

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

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    section {
        padding: 60px 0;
    }
    .container {
        padding: 0 28px;
    }
    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 1.625rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .expertise-card {
        padding: 28px 24px;
    }

    .projects-showcase {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Solar System - Hide on mobile, show cards instead */
    .solar-system {
        display: none !important;
    }

    .tech-cards {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 40px;
    }

    .tech-card {
        padding: 24px 16px;
        min-height: 140px;
    }

    .tech-card i {
        font-size: 2.5rem;
    }

    .tech-card span {
        font-size: 0.9rem;
        font-weight: 500;
    }

    .contact-wrapper {
        gap: 50px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .contact-form {
        gap: 20px;
    }

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

@media (max-width: 480px) {
    .hero {
        padding: 90px 20px 50px;
    }

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

    .hero-desc {
        font-size: 0.95rem;
    }

    .tech-cards {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tech-card {
        padding: 28px 20px;
        min-height: 150px;
    }

    .tech-card i {
        font-size: 2.8rem;
    }

    .tech-card span {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .stat-value {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .solar-system {
        transform: scale(0.75);
        margin: 0 auto 40px;
        width: 700px;
        height: 700px;
    }

    .tech-cards {
        display: none;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-profile-pic {
        width: 120px;
        height: 120px;
    }

    .hero-profile-pic-container {
        margin-bottom: 1rem;
        margin-top: 0;
    }
}