/* ============================================
   BHARGAV KOUSHAL — PORTFOLIO v2 INSANE EDITION
   Design: Dark Cyberpunk + Glassmorphism + CHAOS
   + Light Mode Theme Switcher
   ============================================ */

/* ========== DARK THEME (default) ========== */
:root,
[data-theme="dark"] {
    --bg-primary: #07020f;
    --bg-secondary: #0e0520;
    --bg-mesh: radial-gradient(ellipse at 15% 35%, rgba(120, 40, 255, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(0, 200, 255, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(236, 72, 153, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(59, 130, 246, 0.10) 0%, transparent 45%);
    --bg-card: rgba(18, 8, 40, 0.55);
    --bg-card-hover: rgba(28, 12, 60, 0.65);

    --text-primary: #ece8f5;
    --text-secondary: #a89ec4;
    --text-muted: #7267a0;

    --accent-cyan: #22d3ee;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-blue: #60a5fa;
    --accent-gold: #fbbf24;

    --gradient-main: linear-gradient(135deg, #22d3ee, #a855f7);
    --gradient-fire: linear-gradient(135deg, #ec4899, #f97316, #fbbf24);
    --gradient-hover: linear-gradient(135deg, #a855f7, #ec4899);
    --gradient-aurora: linear-gradient(135deg, #22d3ee, #a855f7, #ec4899, #60a5fa);

    --glass-bg: rgba(18, 8, 40, 0.55);
    --glass-border: rgba(160, 120, 255, 0.12);
    --glass-blur: 24px;
    --glass-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(180, 120, 255, 0.08);

    --nav-bg: rgba(7, 2, 15, 0.88);
    --scanline-color: rgba(162, 89, 255, 0.012);
    --navbar-border: rgba(162, 89, 255, 0.12);

    --theme-icon-content: '🌙';
    --theme-toggle-bg: rgba(162, 89, 255, 0.12);
    --theme-toggle-border: rgba(162, 89, 255, 0.3);
    --body-bg: var(--bg-primary);

    --aurora-hue: 200;
}

/* ========== LIGHT THEME ========== */
[data-theme="light"] {
    --bg-primary: #f0ecff;
    --bg-secondary: #e4ddf8;
    --bg-mesh: radial-gradient(ellipse at 15% 35%, rgba(139, 70, 255, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(0, 160, 220, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(59, 130, 246, 0.08) 0%, transparent 45%);
    --bg-card: rgba(255, 252, 255, 0.82);
    --bg-card-hover: rgba(255, 255, 255, 0.95);

    --text-primary: #1e1030;
    --text-secondary: #5a4880;
    --text-muted: #8b7aaa;

    --accent-cyan: #0891b2;
    --accent-purple: #7c3aed;
    --accent-pink: #be185d;
    --accent-blue: #1d4ed8;
    --accent-gold: #d97706;

    --gradient-main: linear-gradient(135deg, #0891b2, #7c3aed);
    --gradient-fire: linear-gradient(135deg, #be185d, #ea580c, #d97706);
    --gradient-hover: linear-gradient(135deg, #7c3aed, #be185d);
    --gradient-aurora: linear-gradient(135deg, #0891b2, #7c3aed, #be185d, #1d4ed8);

    --glass-bg: rgba(255, 252, 255, 0.78);
    --glass-border: rgba(124, 58, 237, 0.18);
    --glass-blur: 24px;
    --glass-shadow: 0 4px 30px rgba(100, 60, 200, 0.12), 0 1px 0 rgba(255, 255, 255, 0.9) inset;

    --nav-bg: rgba(240, 236, 255, 0.92);
    --scanline-color: rgba(0, 0, 0, 0);
    --navbar-border: rgba(124, 58, 237, 0.15);

    --theme-icon-content: '☀️';
    --theme-toggle-bg: rgba(124, 58, 237, 0.08);
    --theme-toggle-border: rgba(124, 58, 237, 0.25);
    --body-bg: var(--bg-primary);

    --aurora-hue: 260;
}

/* ========== SHARED NON-THEME PROPERTIES ========== */
:root {
    --nav-height: 70px;
    --section-padding: 130px;
    --container-width: 1200px;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-elastic: 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* ---- NEW Mesh Gradient Background ---- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--bg-mesh);
    animation: meshFloat 20s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
    transition: background 0.6s ease;
}

@keyframes meshFloat {
    0% {
        transform: scale(1) translateX(0%) translateY(0%);
    }

    33% {
        transform: scale(1.04) translateX(1.5%) translateY(-1%);
    }

    66% {
        transform: scale(1.02) translateX(-1%) translateY(1.5%);
    }

    100% {
        transform: scale(1.05) translateX(1%) translateY(1%);
    }
}

/* Scanlines overlay — hidden in light mode */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            var(--scanline-color) 2px,
            var(--scanline-color) 4px);
    pointer-events: none;
    z-index: 9997;
    animation: scanlineFlicker 8s linear infinite;
    transition: opacity 0.5s;
}

@keyframes scanlineFlicker {

    0%,
    100% {
        opacity: 1;
    }

    97% {
        opacity: 1;
    }

    97.5% {
        opacity: 0.6;
    }

    98% {
        opacity: 1;
    }
}

::selection {
    background: rgba(168, 85, 247, 0.4);
    color: #fff;
}

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

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

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-aurora);
    z-index: 10000;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.8), 0 0 20px rgba(168, 85, 247, 0.5);
}

/* ========== THREE.JS CANVAS ========== */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Ripple animation */
@keyframes rippleOut {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        width: 120px;
        height: 120px;
        margin: -60px;
        opacity: 0;
    }
}

/* ========== CUSTOM CURSOR ========== */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
    mix-blend-mode: normal;
    box-shadow: 0 0 10px var(--accent-cyan), 0 0 20px rgba(0, 245, 255, 0.5);
}

.cursor-outline {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 2px solid rgba(0, 245, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s, border-color 0.3s, border-width 0.3s;
    background: rgba(0, 245, 255, 0.03);
}

.cursor-trail {
    position: fixed;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    z-index: 1000;
    transition: background 0.4s, box-shadow 0.4s;
}

.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 1px 0 var(--navbar-border), 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: background 0.4s, box-shadow 0.4s, color 0.3s;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
}

.nav-logo:hover::after {
    transform: scaleX(1);
}

.logo-bracket {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 4px rgba(0, 245, 255, 0.8));
    }

    50% {
        filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.8));
    }
}

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

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-link::before {
    content: attr(data-section);
    position: absolute;
    top: 0;
    left: 0;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(4px);
    transition: all var(--transition-fast);
    pointer-events: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-main);
    transition: width var(--transition-smooth);
    box-shadow: 0 0 6px rgba(0, 245, 255, 0.6);
}

.nav-link:hover,
.nav-link.active {
    color: transparent;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
    transform: translateY(0);
}

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

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: none;
    z-index: 1001;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(5px) translateX(5px);
    background: var(--accent-cyan);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-5px) translateX(5px);
    background: var(--accent-cyan);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--nav-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    z-index: 999;
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.5s;
    border-left: 1px solid var(--navbar-border);
}

.mobile-menu.open {
    right: 0;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
    padding-left: 20px;
}

.mobile-link::before {
    content: '▸';
    position: absolute;
    left: 0;
    opacity: 0;
    color: var(--accent-cyan);
    transition: all var(--transition-fast);
}

.mobile-link:hover {
    color: var(--accent-cyan);
    transform: translateX(12px);
}

.mobile-link:hover::before {
    opacity: 1;
}

/* ========== THEME TOGGLE BUTTON ========== */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--theme-toggle-border);
    background: var(--theme-toggle-bg);
    backdrop-filter: blur(12px);
    cursor: none;
    transition: all var(--transition-bounce);
    font-size: 1.05rem;
    line-height: 1;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 12px;
}

.theme-toggle:hover {
    transform: scale(1.12) rotate(15deg);
    box-shadow: 0 0 20px rgba(162, 89, 255, 0.35);
    border-color: var(--accent-purple);
}

.theme-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    font-style: normal;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(20deg) scale(1.15);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    z-index: 1;
    overflow: hidden;
}

/* Vignette */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(2, 5, 16, 0.7) 100%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 860px;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 245, 255, 0.06);
    border: 1px solid rgba(0, 245, 255, 0.25);
    border-radius: 100px;
    padding: 10px 24px;
    margin-bottom: 36px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.08), inset 0 1px 0 rgba(0, 245, 255, 0.1);
    animation: tagFloat 4s ease-in-out infinite;
}

@keyframes tagFloat {

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

    50% {
        transform: translateY(-4px);
    }
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 8px var(--accent-cyan);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
        box-shadow: 0 0 20px var(--accent-cyan);
    }
}

.hero-line {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-name {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(0, 245, 255, 0.3));
    animation: nameGlow 4s ease-in-out infinite;
}

@keyframes nameGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.5));
    }
}

/* Glitch Effect — Double Layer */
.glitch {
    position: relative;
    user-select: none;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch::before {
    animation: glitch-1 2.5s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    transform: translate(-3px, -2px);
    opacity: 0.8;
    filter: hue-rotate(90deg);
}

.glitch::after {
    animation: glitch-2 2.5s infinite linear alternate-reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    transform: translate(3px, 2px);
    opacity: 0.8;
    filter: hue-rotate(-90deg);
}

.glitch-intense::before {
    animation: glitch-1 0.05s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
    transform: translate(-8px, 0);
    filter: none;
}

.glitch-intense::after {
    animation: glitch-2 0.05s infinite;
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
    transform: translate(8px, 0);
    filter: none;
}

@keyframes glitch-1 {

    0%,
    92%,
    100% {
        transform: translate(0);
        clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    }

    93% {
        transform: translate(-5px, 1px);
        clip-path: polygon(0 10%, 100% 10%, 100% 45%, 0 45%);
    }

    94% {
        transform: translate(5px, -1px);
    }

    95% {
        transform: translate(-2px, 2px);
    }

    96% {
        transform: translate(2px, -2px);
    }
}

@keyframes glitch-2 {

    0%,
    92%,
    100% {
        transform: translate(0);
        clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    }

    93% {
        transform: translate(5px, -2px);
        clip-path: polygon(0 55%, 100% 55%, 100% 90%, 0 90%);
    }

    94% {
        transform: translate(-5px, 2px);
    }

    95% {
        transform: translate(2px, 1px);
    }

    96% {
        transform: translate(-2px, -1px);
    }
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: var(--accent-cyan);
    margin-top: 24px;
    font-weight: 500;
    min-height: 2.2rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.typed-cursor {
    animation: blink 0.8s step-end infinite;
    color: var(--accent-purple);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 16px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-desc::before,
.hero-desc::after {
    content: '◆';
    color: rgba(0, 245, 255, 0.3);
    font-size: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 48px;
    flex-wrap: wrap;
}

.hero-socials {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 36px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(10, 18, 50, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.social-link svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

.social-link:hover {
    color: #050816;
    border-color: transparent;
    transform: translateY(-5px) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(0, 245, 255, 0.3);
}

.social-link:hover::before {
    opacity: 1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 64px;
    background: linear-gradient(to bottom, rgba(0, 245, 255, 0.8), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(0, 245, 255, 0.4);
}

@keyframes scrollBounce {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
    }

    30% {
        transform: scaleY(1);
        opacity: 1;
    }

    70% {
        transform: scaleY(1);
        opacity: 0.5;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
        opacity: 0;
    }
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    border-radius: 14px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: none;
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-main);
    color: #020510;
    box-shadow: 0 4px 20px rgba(0, 245, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 8px 40px rgba(0, 245, 255, 0.5), 0 0 60px rgba(168, 85, 247, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-glass {
    background: rgba(10, 18, 50, 0.5);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.btn-glass:hover {
    border-color: rgba(0, 245, 255, 0.4);
    background: rgba(0, 245, 255, 0.06);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.15);
    color: var(--accent-cyan);
}

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

/* ========== SECTIONS ========== */
.section {
    position: relative;
    padding: var(--section-padding) 0;
    z-index: 1;
}

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

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

.section-tag {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 4px;
    display: block;
    margin-bottom: 14px;
    text-transform: uppercase;
    opacity: 0.8;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: default;
    transition: background-image 0.2s;
}

.section-line {
    width: 70px;
    height: 2px;
    background: var(--gradient-main);
    margin: 18px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.section-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    animation: lineSweep 3s ease-in-out infinite;
}

@keyframes lineSweep {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

/* ========== GLASS CARD ========== */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Top shimmer line */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 245, 255, 0.3) 30%, rgba(168, 85, 247, 0.3) 70%, transparent 100%);
    animation: shimmerLine 4s linear infinite;
    background-size: 200% 100%;
}

@keyframes shimmerLine {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Corner glow accent */
.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at 0% 0%, rgba(0, 245, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    transition: all var(--transition-smooth);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--glass-border);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(160, 120, 255, 0.08);
}

.glass-card:hover::after {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 0% 0%, rgba(0, 245, 255, 0.12) 0%, transparent 70%);
}

/* Shine overlay for tilt cards */
.card-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 24px;
    z-index: 5;
}

/* ========== ABOUT ========== */
.about-card {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    max-width: 950px;
    margin: 0 auto;
    padding: 52px;
}

.about-avatar {
    flex-shrink: 0;
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: var(--gradient-main) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spin 5s linear infinite;
}

.avatar-ring::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: var(--gradient-hover) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spin 8s linear infinite reverse;
    opacity: 0.5;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.avatar-text {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 12px rgba(0, 245, 255, 0.5));
    animation: avatarGlow 3s ease-in-out infinite;
}

@keyframes avatarGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 12px rgba(0, 245, 255, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.7));
    }
}

.about-info h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-tagline {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.about-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 14px;
}

.about-bio strong {
    color: var(--text-primary);
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.stat-item {
    text-align: center;
    padding: 18px 8px;
    border-radius: 16px;
    background: rgba(0, 245, 255, 0.04);
    border: 1px solid rgba(0, 245, 255, 0.12);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
}

.stat-item:hover {
    background: rgba(0, 245, 255, 0.08);
    border-color: rgba(0, 245, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.1);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.4));
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
    display: block;
}

/* ========== SKILLS ========== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.skill-card {
    padding: 36px;
    transition: all var(--transition-smooth);
}

.skill-card:hover {
    border-color: rgba(0, 245, 255, 0.2);
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.06), var(--glass-shadow);
}

.skill-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: all var(--transition-bounce);
    position: relative;
}

.skill-icon::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: -1;
}

.skill-card:hover .skill-icon {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

.skill-card:hover .skill-icon::before {
    opacity: 0.15;
}

.skill-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-cyan);
}

.skill-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 22px;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.skill-bar-header span:first-child {
    color: var(--text-secondary);
}

.skill-bar-header span:last-child {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 0.8rem;
}

.skill-bar-track {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
    overflow: visible;
    position: relative;
}

.skill-bar-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-main);
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-shadow: 0 0 8px rgba(0, 245, 255, 0.4);
}

.skill-bar-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: barShine 2s linear infinite;
}

@keyframes barShine {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(400%);
    }
}

.skill-bar-fill::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px var(--accent-cyan), 0 0 20px var(--accent-cyan);
    opacity: 0;
    transition: opacity 0.3s 1.5s;
}

.skill-bar-fill.filled::after {
    opacity: 1;
}

/* ========== PROJECTS ========== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    padding: 36px;
    cursor: none;
}

.project-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    position: absolute;
    top: 20px;
    right: 28px;
    line-height: 1;
    transition: opacity var(--transition-smooth);
}

.project-card:hover .project-number {
    opacity: 0.4;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-bounce);
}

.project-card:hover .project-icon {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.project-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-purple);
}

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

.project-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    transition: all var(--transition-smooth);
}

.project-link-icon:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: rgba(0, 245, 255, 0.3);
    color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 245, 255, 0.15);
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    transition: all var(--transition-fast);
}

.project-card:hover .project-title {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.07);
    border: 1px solid rgba(0, 245, 255, 0.15);
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

.tag:hover {
    background: rgba(0, 245, 255, 0.15);
    border-color: rgba(0, 245, 255, 0.4);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.15);
}

.project-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.5px;
}

/* ========== EDUCATION TIMELINE ========== */
.timeline {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple), transparent);
    box-shadow: 0 0 8px rgba(0, 245, 255, 0.3);
}

.timeline-item {
    position: relative;
    padding-left: 64px;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: 12px;
    top: 32px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient-main);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.6), 0 0 30px rgba(0, 245, 255, 0.2);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(0, 245, 255, 0.6), 0 0 30px rgba(0, 245, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(168, 85, 247, 0.8), 0 0 50px rgba(168, 85, 247, 0.3);
    }
}

.timeline-card {
    padding: 28px 32px;
}

.timeline-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 0.2);
    padding: 3px 12px;
    border-radius: 100px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.1);
}

.timeline-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.timeline-school {
    color: var(--accent-purple);
    font-size: 0.88rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.timeline-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.timeline-detail strong {
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 4px rgba(0, 245, 255, 0.4));
}

.timeline-year {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ========== ACHIEVEMENTS ========== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.achievement-card {
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition-smooth);
}

.achievement-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.08), var(--glass-shadow);
    transform: translateY(-6px) scale(1.02);
}

.achievement-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
    animation: iconBounce 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

@keyframes iconBounce {

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

    25% {
        transform: translateY(-6px) rotate(5deg);
    }

    75% {
        transform: translateY(-3px) rotate(-3deg);
    }
}

.achievement-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.3));
}

.achievement-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.achievement-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-card {
    padding: 44px 40px;
}

.contact-info-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
}

.contact-info-card>p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

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

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all var(--transition-smooth);
}

.contact-detail-item:hover {
    color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.05);
    border-color: rgba(0, 245, 255, 0.15);
    transform: translateX(5px);
}

.contact-detail-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.contact-socials {
    display: flex;
    gap: 12px;
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-bounce);
}

.contact-social svg {
    width: 18px;
    height: 18px;
}

.contact-social:hover {
    background: rgba(0, 245, 255, 0.08);
    border-color: rgba(0, 245, 255, 0.25);
    color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.1);
}

.contact-form-card {
    padding: 40px;
}

.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 rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.93rem;
    outline: none;
    transition: all var(--transition-smooth);
    resize: vertical;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(0, 245, 255, 0.4);
    background: rgba(0, 245, 255, 0.03);
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.08), 0 0 20px rgba(0, 245, 255, 0.1);
}

.form-group.focused::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 13px;
    background: var(--gradient-main);
    z-index: -1;
    opacity: 0.3;
    animation: formGlow 1.5s ease-in-out infinite;
}

@keyframes formGlow {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.4;
    }
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--gradient-main);
    transition: width var(--transition-smooth);
    border-radius: 1px;
}

.form-group:focus-within .input-line {
    width: 100%;
}

/* ========== FOOTER ========== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 48px 0;
    position: relative;
    z-index: 1;
    background: rgba(2, 5, 16, 0.6);
    backdrop-filter: blur(20px);
}

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

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.footer-tech {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .navbar {
        padding: 0 24px;
    }

    .container {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero {
        padding: 0 24px;
    }

    .about-card {
        flex-direction: column;
        padding: 32px;
        align-items: center;
        text-align: center;
    }

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

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

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

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

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

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

@media (max-width: 480px) {
    .navbar {
        padding: 0 20px;
    }

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

    .hero-name {
        font-size: 2.5rem;
    }
}
