/* ========================================
   CYBERPUNK PORTFOLIO — CSS
   Neon / Glitch / Scanline Aesthetic
   ======================================== */

/* ========================================
   Custom Properties
   ======================================== */
:root {
    --bg-void: #04060e;
    --bg-deep: #080c1a;
    --bg-panel: rgba(8, 12, 26, 0.85);
    --bg-glass: rgba(10, 15, 30, 0.7);
    --border-cyber: rgba(0, 255, 255, 0.12);
    --border-pink: rgba(255, 0, 100, 0.12);

    --neon-cyan: #00f0ff;
    --neon-pink: #ff0064;
    --neon-yellow: #ffe600;
    --neon-green: #39ff14;
    --neon-purple: #bf00ff;
    --neon-orange: #ff6600;

    --text-primary: #e0e6f0;
    --text-secondary: #7a8ba8;
    --text-muted: #4a5568;

    --gradient-cyber: linear-gradient(135deg, #00f0ff, #bf00ff);
    --gradient-hot: linear-gradient(135deg, #ff0064, #ff6600);
    --gradient-neon: linear-gradient(90deg, #00f0ff, #ff0064);

    --glow-cyan: 0 0 10px rgba(0, 240, 255, 0.4), 0 0 40px rgba(0, 240, 255, 0.1);
    --glow-pink: 0 0 10px rgba(255, 0, 100, 0.4), 0 0 40px rgba(255, 0, 100, 0.1);
    --glow-yellow: 0 0 10px rgba(255, 230, 0, 0.3);

    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;

    --nav-height: 70px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.6;
    overflow: hidden;
    /* completely hide scrollbars and native scroll */
    height: 100%;
    width: 100%;
}

/* Hide scrollbar for Chrome, Safari and Opera (redundant but safe) */
body::-webkit-scrollbar {
    display: none;
}

/* Full Page Wrapper */
#fullpage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 1000ms cubic-bezier(0.645, 0.045, 0.355, 1.000);
    /* Smooth cyber easing */
    will-change: transform;
}

/* ========================================
   Scanline + Grid Overlays
   ======================================== */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px);
}

.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ========================================
   Utility / Neon Classes
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.neon-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.neon-pink {
    color: var(--neon-pink);
    text-shadow: 0 0 8px rgba(255, 0, 100, 0.5);
}

.neon-yellow {
    color: var(--neon-yellow);
    text-shadow: 0 0 8px rgba(255, 230, 0, 0.4);
}

.neon-green {
    color: var(--neon-green);
}

.cyber-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-cyber);
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-neon);
    opacity: 0;
    transition: opacity 0.4s;
}

.cyber-card:hover {
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: var(--glow-cyan);
    transform: translateY(-3px);
}

.cyber-card:hover::before {
    opacity: 1;
}

/* Sections */
/* Sections */
section,
#hero,
footer,
.section {
    height: 100vh;
    min-height: 100vh;
    /* Prevent collapse */
    width: 100%;
    position: relative;
    overflow-y: auto;
    /* Allow internal scrolling */
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align to top for scrolling content */
    padding-top: 80px;
    /* Space for navbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
section::-webkit-scrollbar,
#hero::-webkit-scrollbar,
footer::-webkit-scrollbar,
.section::-webkit-scrollbar {
    display: none;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 40px 0 60px;
    /* Adjust margins */
    text-transform: uppercase;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    /* Prevent title from shrinking */
}

.section-number {
    color: var(--neon-cyan);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.title-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-cyber), transparent);
}

/* ========================================
   Reveal Animations
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========================================
   Neon Flicker Animation
   ======================================== */
@keyframes neonFlicker {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        text-shadow:
            0 0 4px var(--neon-cyan),
            0 0 11px var(--neon-cyan),
            0 0 19px var(--neon-cyan),
            0 0 40px var(--neon-cyan);
        color: var(--neon-cyan);
    }

    20%,
    24%,
    55% {
        text-shadow: none;
        color: rgba(0, 240, 255, 0.3);
    }
}

.neon-flicker {
    animation: neonFlicker 3s infinite alternate;
    color: var(--neon-cyan);
}

/* ========================================
   Glitch Effect
   ======================================== */
@keyframes glitch1 {
    0% {
        clip-path: inset(40% 0 61% 0);
        transform: translate(-2px, 2px);
    }

    20% {
        clip-path: inset(92% 0 1% 0);
        transform: translate(1px, -1px);
    }

    40% {
        clip-path: inset(43% 0 1% 0);
        transform: translate(-1px, 3px);
    }

    60% {
        clip-path: inset(25% 0 58% 0);
        transform: translate(3px, 1px);
    }

    80% {
        clip-path: inset(54% 0 7% 0);
        transform: translate(-3px, -2px);
    }

    100% {
        clip-path: inset(58% 0 43% 0);
        transform: translate(2px, -3px);
    }
}

@keyframes glitch2 {
    0% {
        clip-path: inset(65% 0 13% 0);
        transform: translate(2px, -1px);
    }

    20% {
        clip-path: inset(10% 0 85% 0);
        transform: translate(-1px, 2px);
    }

    40% {
        clip-path: inset(73% 0 1% 0);
        transform: translate(1px, -3px);
    }

    60% {
        clip-path: inset(30% 0 45% 0);
        transform: translate(-2px, 1px);
    }

    80% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(3px, 2px);
    }

    100% {
        clip-path: inset(5% 0 75% 0);
        transform: translate(-1px, -1px);
    }
}

/* ========================================
   Navigation
   ======================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: var(--transition);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(4, 6, 14, 0.92);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-cyber);
    box-shadow: 0 2px 30px rgba(0, 240, 255, 0.05);
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
    object-fit: cover;
}


.logo-dot {
    color: var(--neon-yellow);
    animation: blink 1s infinite;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    padding: 8px 14px;
    border-radius: 2px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.nav-cta {
    background: transparent !important;
    border: 1px solid var(--neon-pink) !important;
    color: var(--neon-pink) !important;
    text-shadow: 0 0 8px rgba(255, 0, 100, 0.3) !important;
}

.nav-cta:hover {
    background: rgba(255, 0, 100, 0.1) !important;
    box-shadow: var(--glow-pink) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neon-cyan);
    transition: var(--transition);
    box-shadow: 0 0 6px var(--neon-cyan);
}

.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);
}

/* ========================================
   Hero Section
   ======================================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Center vertically for Hero */
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 0 24px;
    scroll-snap-align: start;
    /* Redundant if using JS, but good backup */
    overflow-y: auto;
}

.hero-content {
    text-align: center;
    max-width: 850px;
}

.hero-glitch-badge {
    display: inline-block;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--border-cyber);
    padding: 8px 24px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--neon-green);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.badge-blink {
    animation: blink 1.5s infinite;
    color: var(--neon-green);
    font-size: 0.7rem;
    margin-right: 6px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-primary);
    position: relative;
}

/* Glitch effect on name */
.hero-name::before,
.hero-name::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-name::before {
    color: var(--neon-cyan);
    animation: glitch1 4s infinite linear alternate-reverse;
    z-index: -1;
}

.hero-name::after {
    color: var(--neon-pink);
    animation: glitch2 3s infinite linear alternate-reverse;
    z-index: -1;
}

.hero-title {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.typing-prefix {
    color: var(--neon-cyan);
}

.typing-text {
    color: var(--neon-yellow);
    font-weight: 600;
}

.typing-cursor {
    color: var(--neon-cyan);
    animation: blink 0.8s infinite;
    font-size: 0.9em;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

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

/* Cyberpunk Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-cyber {
    background: var(--gradient-cyber);
    color: var(--bg-void);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.btn-cyber:hover {
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.5), 0 0 80px rgba(191, 0, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline-cyber {
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-outline-cyber:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

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

.btn-glitch {
    position: relative;
}

/* Hero socials */
.hero-socials {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-socials a {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-cyber);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    background: var(--bg-glass);
}

.hero-socials a:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
    transform: scale(1.1);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.scroll-indicator span {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--neon-cyan);
    border-bottom: 2px solid var(--neon-cyan);
    transform: rotate(45deg);
    animation: scrollArrow 2s infinite;
    opacity: 0;
}

.scroll-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollArrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

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

/* Terminal Block */
.terminal-block {
    border: 1px solid var(--border-cyber);
    border-radius: 4px;
    overflow: hidden;
    background: rgba(4, 6, 14, 0.9);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 240, 255, 0.04);
    border-bottom: 1px solid var(--border-cyber);
}

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

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

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

.terminal-body {
    padding: 20px;
}

.terminal-body p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.cmd-prompt {
    color: var(--neon-cyan);
    font-family: var(--font-mono);
    margin-right: 8px;
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.4);
}

.about-info {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.info-item i {
    color: var(--neon-cyan);
    width: 18px;
    text-align: center;
}

/* Stats */
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.stat-card {
    padding: 24px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-icon {
    font-size: 1.2rem;
    color: var(--neon-cyan);
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--neon-cyan);
    display: inline;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--neon-cyan);
    display: inline;
}

.stat-label {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.72rem;
    margin-top: 4px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ========================================
   Experience Timeline
   ======================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-pink), transparent);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

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

.timeline-dot {
    position: absolute;
    left: -46px;
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 0;
    background: var(--neon-cyan);
    border: 2px solid var(--bg-void);
    box-shadow: 0 0 15px var(--neon-cyan), 0 0 30px rgba(0, 240, 255, 0.3);
    transform: rotate(45deg);
    z-index: 1;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--neon-cyan);
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

.timeline-card {
    padding: 28px;
}

.timeline-header h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-company {
    display: block;
    color: var(--neon-pink);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    text-shadow: 0 0 6px rgba(255, 0, 100, 0.3);
}

.timeline-location {
    display: block;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 16px;
}

.timeline-location i {
    margin-right: 4px;
}

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

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

.timeline-details li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-family: var(--font-mono);
    font-weight: 700;
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.5);
}

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

.tag {
    background: rgba(0, 240, 255, 0.06);
    color: var(--neon-cyan);
    padding: 3px 12px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(0, 240, 255, 0.15);
}

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

.skill-card {
    padding: 24px;
    text-align: center;
}

.skill-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--neon-cyan);
    border: 1px solid var(--border-cyber);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(0, 240, 255, 0.05);
}

.skill-card h3 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 14px;
}

.skill-tags span {
    background: rgba(191, 0, 255, 0.08);
    color: var(--neon-purple);
    padding: 2px 8px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(191, 0, 255, 0.12);
}

.skill-bar-wrapper {
    height: 3px;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.skill-bar {
    height: 100%;
    background: var(--gradient-neon);
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.skill-bar.animated {
    width: var(--bar-width);
}

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

.project-card {
    padding: 28px;
    position: relative;
    overflow: hidden;
}

/* Corner decorations */
.project-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--neon-cyan);
    border-style: solid;
    opacity: 0.4;
    transition: opacity 0.4s;
}

.project-card:hover .project-corner {
    opacity: 1;
}

.project-corner.tl {
    top: 6px;
    left: 6px;
    border-width: 2px 0 0 2px;
}

.project-corner.tr {
    top: 6px;
    right: 6px;
    border-width: 2px 2px 0 0;
}

.project-corner.bl {
    bottom: 6px;
    left: 6px;
    border-width: 0 0 2px 2px;
}

.project-corner.br {
    bottom: 6px;
    right: 6px;
    border-width: 0 2px 2px 0;
}

.project-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--neon-pink);
    margin-bottom: 16px;
    border: 1px solid var(--border-pink);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(255, 0, 100, 0.05);
}

.project-card h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 14px;
    line-height: 1.6;
}

.project-tags span {
    background: rgba(57, 255, 20, 0.06);
    color: var(--neon-green);
    padding: 2px 10px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(57, 255, 20, 0.12);
}

.project-links {
    margin-top: 14px;
    display: flex;
    gap: 16px;
}

.project-links a,
.project-status {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.project-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.project-status i {
    color: var(--neon-green);
    font-size: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 6px var(--neon-green);
    }

    50% {
        opacity: 0.3;
        box-shadow: none;
    }
}

/* ========================================
   Education Section
   ======================================== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.edu-card {
    padding: 28px;
    display: flex;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.edu-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--neon-purple);
    flex-shrink: 0;
    border: 1px solid rgba(191, 0, 255, 0.2);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(191, 0, 255, 0.06);
}

.edu-content h3 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.edu-institution {
    display: block;
    color: var(--neon-pink);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 0 5px rgba(255, 0, 100, 0.2);
}

.edu-date,
.edu-location {
    display: block;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    margin-bottom: 4px;
}

.edu-date i,
.edu-location i {
    margin-right: 6px;
    width: 14px;
}

.edu-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 10px;
    letter-spacing: 1px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.edu-badge.completed {
    background: rgba(57, 255, 20, 0.1);
    color: var(--neon-green);
    border-color: rgba(57, 255, 20, 0.2);
}

/* ========================================
   Certificates Section
   ======================================== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.cert-card {
    padding: 28px;
    text-align: center;
}

.cert-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
}

.cert-card:nth-child(1) .cert-icon,
.cert-card:nth-child(2) .cert-icon {
    background: rgba(255, 153, 0, 0.08);
    color: #ff9900;
    border: 1px solid rgba(255, 153, 0, 0.2);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.cert-card:nth-child(3) .cert-icon {
    background: rgba(66, 133, 244, 0.08);
    color: #4285f4;
    border: 1px solid rgba(66, 133, 244, 0.2);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.cert-card h3 {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cert-issuer {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-intro {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-card {
    padding: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-card i {
    font-size: 1.2rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.contact-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-value {
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    word-break: break-all;
}

.contact-card:hover .contact-value {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

/* Contact Form */
.contact-form {
    padding: 32px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 240, 255, 0.02);
    border: 1px solid var(--border-cyber);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
    border-radius: 0;
}

.form-group label {
    position: absolute;
    top: -10px;
    left: 12px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    background: var(--bg-void);
    padding: 0 6px;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    letter-spacing: 2px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.08), var(--glow-cyan);
}

.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:not(:placeholder-shown)+label {
    opacity: 1;
    color: var(--neon-cyan);
}

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

/* ========================================
   Footer
   ======================================== */
#footer {
    padding: 36px 0;
    border-top: 1px solid var(--border-cyber);
    position: relative;
    z-index: 1;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 14px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-cyber);
    color: var(--text-muted);
    transition: var(--transition);
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.footer-socials a:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.footer-copy {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 2px;
}

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

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

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

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(4, 6, 14, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border-cyber);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

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

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

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

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

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

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

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

    .timeline {
        padding-left: 28px;
    }

    .timeline-dot {
        left: -34px;
        width: 12px;
        height: 12px;
    }

    .hero-name {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 18px 12px;
    }

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

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

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

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

    .edu-card {
        flex-direction: column;
        text-align: center;
    }

    .edu-icon {
        margin: 0 auto;
    }

    .edu-badge {
        position: static;
        margin-top: 8px;
        display: inline-block;
    }
}

@media (max-height: 800px),
(max-width: 768px) {
    .section {
        justify-content: flex-start;
        padding-top: 120px;
        padding-bottom: 80px;
    }
}