/* =============================================
   PORTFOLIO WEBSITE — PANGA ANJAN
   Dark Cyberpunk Theme with Neon Accents
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f1a;
    --bg-card: rgba(15, 15, 30, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.06);
    --text-primary: #e8e8f0;
    --text-secondary: #8888aa;
    --text-muted: #555570;
    --accent-1: #00d4ff;
    --accent-2: #7b2fff;
    --accent-3: #ff2d95;
    --accent-gradient: linear-gradient(135deg, #00d4ff, #7b2fff, #ff2d95);
    --accent-glow: 0 0 20px rgba(0, 212, 255, 0.3), 0 0 40px rgba(123, 47, 255, 0.15);
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & General ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
    line-height: 1.7;
}

::selection {
    background: rgba(0, 212, 255, 0.3);
    color: #fff;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
    border-radius: 3px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Custom Cursor ---------- */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-1);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.1s, background 0.3s;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(0, 212, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor.hover {
    transform: scale(3);
    background: var(--accent-3);
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: rgba(255, 45, 149, 0.4);
}

/* ---------- Particle Canvas ---------- */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---------- Loader ---------- */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-glitch {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    position: relative;
    animation: glitch-loader 2s infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 24px auto 16px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    border-radius: 3px;
    transition: width 0.1s;
}

.loader-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

@keyframes glitch-loader {

    0%,
    100% {
        text-shadow: 2px 0 var(--accent-1), -2px 0 var(--accent-3);
    }

    25% {
        text-shadow: -2px -1px var(--accent-3), 2px 1px var(--accent-1);
    }

    50% {
        text-shadow: 1px 2px var(--accent-1), -1px -2px var(--accent-2);
    }

    75% {
        text-shadow: -1px 1px var(--accent-2), 1px -1px var(--accent-3);
    }
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border-glass);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition);
}

.nav-logo-bracket {
    color: var(--accent-1);
    font-weight: 400;
}

.nav-logo:hover {
    text-shadow: var(--accent-glow);
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-1);
    background: rgba(0, 212, 255, 0.06);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-1);
    transform: translateX(-50%);
    transition: width 0.3s;
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(30px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-link:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu.active .mobile-link:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-link:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu.active .mobile-link:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu.active .mobile-link:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-menu.active .mobile-link:nth-child(7) {
    transition-delay: 0.4s;
}

.mobile-link:hover {
    color: var(--accent-1);
    text-shadow: var(--accent-glow);
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 40px 60px;
    overflow: hidden;
}

.hero-bg-grid {
    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%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    animation: gridFloat 20s linear infinite;
}

@keyframes gridFloat {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-greeting {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent-1);
    margin-bottom: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

/* Glitch Effect */
.glitch {
    position: relative;
    animation: glitch-skew 4s infinite linear alternate-reverse;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.glitch::before {
    color: var(--accent-1);
    animation: glitch-before 3s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    text-shadow: -2px 0 var(--accent-3);
}

.glitch::after {
    color: var(--accent-3);
    animation: glitch-after 2s infinite linear alternate-reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    text-shadow: 2px 0 var(--accent-1);
}

@keyframes glitch-before {

    0%,
    100% {
        transform: translate(0);
    }

    20% {
        transform: translate(-3px, 2px);
    }

    40% {
        transform: translate(3px, -1px);
    }

    60% {
        transform: translate(-1px, 1px);
    }

    80% {
        transform: translate(2px, -2px);
    }
}

@keyframes glitch-after {

    0%,
    100% {
        transform: translate(0);
    }

    20% {
        transform: translate(2px, -1px);
    }

    40% {
        transform: translate(-2px, 2px);
    }

    60% {
        transform: translate(1px, -2px);
    }

    80% {
        transform: translate(-3px, 1px);
    }
}

@keyframes glitch-skew {

    0%,
    100% {
        transform: skew(0deg);
    }

    30% {
        transform: skew(0.4deg);
    }

    60% {
        transform: skew(-0.3deg);
    }

    90% {
        transform: skew(0.2deg);
    }
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 24px;
    font-weight: 500;
    min-height: 40px;
}

.hero-title-prefix {
    color: var(--text-secondary);
}

.hero-typed {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-cursor {
    color: var(--accent-1);
    animation: blink 1s infinite;
    font-weight: 300;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-glass);
}

.btn-outline:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-plus,
.hero-stat-decimal {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

/* Hero Image */
.hero-image-wrapper {
    flex-shrink: 0;
    position: relative;
}

.hero-image-container {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 40% 50%;
    position: relative;
    z-index: 2;
    border: 3px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.15);
    transition: var(--transition);
}

.hero-image:hover {
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.25), 0 0 120px rgba(123, 47, 255, 0.1);
    transform: scale(1.03);
}

.hero-image-ring {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.15);
    animation: ring-rotate 12s linear infinite;
}

.hero-image-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-1);
    box-shadow: 0 0 15px var(--accent-1);
}

.ring-2 {
    width: 360px;
    height: 360px;
    border-color: rgba(123, 47, 255, 0.1);
    animation-direction: reverse;
    animation-duration: 18s;
}

.ring-2::before {
    background: var(--accent-2);
    box-shadow: 0 0 15px var(--accent-2);
}

@keyframes ring-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-image-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent 70%);
    z-index: 1;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }
}

.hero-image-dots {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(0, 212, 255, 0.2) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.5;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-1);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0;
    }
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-1);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 16px auto 0;
    border-radius: 3px;
}

/* ---------- About Section ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
}

.about-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.about-info-value {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Code Block */
.about-code-block {
    background: rgba(10, 10, 20, 0.9);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.about-code-block:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 212, 255, 0.05);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-glass);
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dot.red {
    background: #ff5f57;
}

.code-dot.yellow {
    background: #febc2e;
}

.code-dot.green {
    background: #28c840;
}

.code-filename {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.code-content {
    padding: 20px;
    line-height: 1.9;
    overflow-x: auto;
}

.code-keyword {
    color: #c678dd;
}

.code-class {
    color: #e5c07b;
}

.code-func {
    color: #61afef;
}

.code-param {
    color: #e06c75;
}

.code-string {
    color: #98c379;
}

/* ---------- Glass Card ---------- */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(0, 212, 255, 0.15);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2), 0 0 30px rgba(0, 212, 255, 0.03);
    transform: translateY(-4px);
}

/* ---------- Skills Section ---------- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.skill-category:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.skill-category-header h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
}

.skill-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    flex-shrink: 0;
}

/* Skill Bars */
.skill-bar-item {
    margin-bottom: 18px;
}

.skill-bar-item:last-child {
    margin-bottom: 0;
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.skill-bar-header span:last-child {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-1);
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    width: 0;
    background: var(--accent-gradient);
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.skill-bar-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    filter: blur(4px);
    animation: skill-shimmer 2s infinite;
}

@keyframes skill-shimmer {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Skill Tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: default;
}

.skill-tag:hover {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--accent-1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.1);
}

/* ---------- Timeline ---------- */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-1), var(--accent-2), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -47px;
    top: 28px;
    z-index: 2;
}

.timeline-marker-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(0, 212, 255, 0);
    }
}

.timeline-content {
    padding: 28px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.timeline-subtitle {
    font-size: 0.9rem;
    color: var(--accent-1);
    margin-top: 4px;
}

.timeline-meta {
    text-align: right;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-1);
    display: block;
}

.timeline-tools {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

.timeline-list {
    list-style: none;
}

.timeline-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.timeline-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-1);
}

.timeline-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ---------- Projects ---------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-card {
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.project-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.03), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.project-card:hover .project-card-glow {
    opacity: 1;
}

.project-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    position: absolute;
    top: 16px;
    right: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.project-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 212, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    margin-bottom: 20px;
    transition: var(--transition);
}

.project-card:hover .project-icon {
    background: rgba(0, 212, 255, 0.15);
    transform: scale(1.08);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.project-tech span {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    background: rgba(123, 47, 255, 0.08);
    border: 1px solid rgba(123, 47, 255, 0.15);
    color: var(--accent-2);
    letter-spacing: 0.3px;
}

.project-meta {
    margin-bottom: 16px;
}

.project-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.project-highlights {
    list-style: none;
}

.project-highlights li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.project-highlights li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-1);
}

/* ---------- Awards ---------- */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.award-card {
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.award-card:hover::before {
    transform: scaleX(1);
}

.award-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    margin: 0 auto 20px;
    transition: var(--transition-bounce);
}

.award-card:hover .award-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(0, 212, 255, 0.12);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
}

.award-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.award-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.award-issuer {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent-1);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

/* ---------- Education ---------- */
.education-card {
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.education-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    flex-shrink: 0;
    position: relative;
}

.education-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px dashed rgba(0, 212, 255, 0.15);
    animation: ring-rotate 20s linear infinite;
}

.education-details {
    flex: 1;
}

.education-details h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.education-school {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.education-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.education-year {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-1);
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.education-cgpa {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.education-cgpa strong {
    color: var(--accent-1);
    font-weight: 700;
}

.education-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.education-bar-fill {
    height: 100%;
    width: 0;
    background: var(--accent-gradient);
    border-radius: 4px;
    transition: width 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.education-bar-label {
    position: absolute;
    right: 0;
    top: -22px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-intro {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    cursor: pointer;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-card:hover .contact-card-icon {
    background: rgba(0, 212, 255, 0.15);
    transform: scale(1.08);
}

.contact-card h4 {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
    font-weight: 500;
}

.contact-card span {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    padding: 36px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 16px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
    pointer-events: none;
    font-weight: 400;
}

.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;
    left: 12px;
    font-size: 0.72rem;
    color: var(--accent-1);
    background: var(--bg-card);
    padding: 0 6px;
    letter-spacing: 1px;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 1px;
    transition: width 0.4s;
}

.form-group input:focus~.form-line,
.form-group textarea:focus~.form-line {
    width: 100%;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-secondary);
    padding: 40px 0 24px;
    border-top: 1px solid var(--border-glass);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-text strong {
    color: var(--text-secondary);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-socials a:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
    background: rgba(0, 212, 255, 0.06);
    transform: translateY(-3px);
}

.footer-copyright {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
}

/* ---------- Reveal Animations ---------- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .awards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content {
        gap: 40px;
    }

    .hero-image-container {
        width: 280px;
        height: 280px;
    }

    .hero-image {
        width: 230px;
        height: 230px;
    }

    .hero-image-ring {
        width: 260px;
        height: 260px;
    }

    .ring-2 {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav {
        padding: 0 20px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title-wrapper {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-container {
        width: 220px;
        height: 220px;
    }

    .hero-image {
        width: 180px;
        height: 180px;
    }

    .hero-image-ring {
        width: 200px;
        height: 200px;
    }

    .ring-2 {
        width: 240px;
        height: 240px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .education-card {
        flex-direction: column;
        text-align: center;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-marker {
        left: -37px;
    }

    .timeline-header {
        flex-direction: column;
    }

    .timeline-meta {
        text-align: left;
    }

    .section {
        padding: 70px 0;
    }

    /* Hide custom cursor on mobile */
    .cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat-number {
        font-size: 1.6rem;
    }

    .about-info-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        padding: 24px;
    }

    .award-card {
        padding: 24px;
    }

    .education-card {
        padding: 28px;
    }

    .contact-form {
        padding: 24px;
    }
}