/* ================================
   DESIGN SYSTEM & VARIABLES
   ================================ */
:root {
    /* Colors */
    --bg-primary: #050510;
    --bg-secondary: #0a0a1a;
    --bg-tertiary: #0f0f2a;
    --bg-card: rgba(15, 15, 42, 0.6);
    --bg-card-hover: rgba(20, 20, 55, 0.8);
    --glass: rgba(15, 15, 42, 0.4);
    --glass-border: rgba(0, 240, 255, 0.08);

    --text-primary: #e8e8f0;
    --text-secondary: #8888aa;
    --text-muted: #555577;

    --accent-cyan: #00f0ff;
    --accent-green: #00ff88;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;

    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 40px rgba(0, 240, 255, 0.1);
    --glow-green: 0 0 20px rgba(0, 255, 136, 0.3), 0 0 40px rgba(0, 255, 136, 0.1);
    --glow-purple: 0 0 20px rgba(168, 85, 247, 0.3), 0 0 40px rgba(168, 85, 247, 0.1);

    /* Typography */
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --border-radius: 16px;
    --border-radius-sm: 8px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-green), var(--accent-cyan));
}

::selection {
    background: rgba(0, 240, 255, 0.2);
    color: var(--accent-cyan);
}

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

ul {
    list-style: none;
}

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

.section {
    padding: var(--section-padding);
    position: relative;
}

/* ================================
   SECTION TITLES
   ================================ */
.section-title {
    font-family: var(--font-mono);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
    position: relative;
}

.title-decorator {
    color: var(--accent-cyan);
    margin-right: 8px;
    font-weight: 400;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ================================
   NAVIGATION
   ================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}

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

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

.logo-bracket {
    color: var(--accent-cyan);
    font-weight: 400;
}

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

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: var(--transition);
    border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 60%;
}

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

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 1px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================
   HERO SECTION
   ================================ */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#matrixCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg-primary) 75%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
    animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-green);
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.2);
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 1px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(0, 255, 136, 0.1);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.25);
    }
}

.hero-name {
    margin-bottom: 20px;
}

.greeting {
    display: block;
    font-family: var(--font-mono);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.name-text {
    display: block;
    font-family: var(--font-mono);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-typing {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--accent-cyan);
    margin-bottom: 24px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.typing-prefix {
    color: var(--accent-green);
    font-weight: 700;
}

.cursor {
    animation: blink 1s step-end infinite;
    color: var(--accent-cyan);
    font-weight: 300;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

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

/* Buttons */
.btn {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: var(--border-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: var(--bg-primary);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
}

.btn-outline {
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

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

.hero-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.hero-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.15);
    color: var(--text-secondary);
    transition: var(--transition);
}

.hero-social:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
}

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

.scroll-arrow {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(0, 240, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 18px;
        opacity: 0.3;
    }
}

/* ================================
   ABOUT SECTION
   ================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Terminal window */
.terminal-window {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-border);
}

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

.terminal-dot.red {
    background: #ff5f57;
}

.terminal-dot.yellow {
    background: #febc2e;
}

.terminal-dot.green {
    background: #28c840;
}

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

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

.terminal-line {
    color: var(--text-primary);
    margin-top: 16px;
}

.terminal-line:first-child {
    margin-top: 0;
}

.prompt {
    color: var(--accent-green);
    font-weight: 700;
    margin-right: 8px;
}

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

/* Info cards */
.about-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
    opacity: 0;
    transition: var(--transition);
}

.info-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 240, 255, 0.15);
    transform: translateX(4px);
}

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

.info-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.info-card h3 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.info-main {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.info-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.info-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.info-date {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent-green);
    margin-top: 8px;
}

/* ================================
   USP SECTION
   ================================ */
.usp-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.usp-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.03), transparent 70%);
    pointer-events: none;
}

.usp-headline {
    text-align: center;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: -30px auto 50px;
    line-height: 1.8;
}

.usp-accent {
    color: var(--accent-cyan);
    font-weight: 600;
    position: relative;
}

.usp-accent::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
    border-radius: 1px;
    animation: uspUnderline 3s ease-in-out infinite;
}

@keyframes uspUnderline {

    0%,
    100% {
        opacity: 0.4;
        transform: scaleX(0.8);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.usp-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 36px 28px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.usp-number {
    position: absolute;
    top: 12px;
    right: 20px;
    font-family: var(--font-mono);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 240, 255, 0.04);
    line-height: 1;
    pointer-events: none;
    transition: var(--transition-slow);
}

.usp-card:hover .usp-number {
    color: rgba(0, 240, 255, 0.08);
    transform: scale(1.1);
}

.usp-card-glow {
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.05), transparent 70%);
    transition: var(--transition-slow);
    pointer-events: none;
}

.usp-card:hover .usp-card-glow {
    transform: scale(1.8);
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1), transparent 70%);
}

.usp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0;
    transition: var(--transition);
}

.usp-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 240, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 240, 255, 0.04);
}

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

.usp-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.usp-title {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.usp-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

/* USP Stats Bar */
.usp-bottom {
    max-width: 700px;
    margin: 0 auto;
}

.usp-stat-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 28px 40px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.usp-stat {
    text-align: center;
}

.usp-stat-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-cyan);
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

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

.usp-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.2), transparent);
}

/* USP stagger animation */
.usp-grid .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.usp-grid .reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.usp-grid .reveal:nth-child(4) {
    transition-delay: 0.3s;
}

/* USP Responsive */
@media (max-width: 768px) {
    .usp-grid {
        grid-template-columns: 1fr;
    }

    .usp-stat-bar {
        flex-wrap: wrap;
        gap: 20px;
        padding: 24px 20px;
    }

    .usp-stat-divider {
        display: none;
    }

    .usp-stat {
        flex: 1;
        min-width: 100px;
    }
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple), var(--accent-green));
    opacity: 0.3;
}

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

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

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-cyan);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    z-index: 1;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 28px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.timeline-content:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 240, 255, 0.15);
    transform: translateX(6px);
    box-shadow: -4px 0 20px rgba(0, 240, 255, 0.05);
}

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

.timeline-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.timeline-badge.work {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.timeline-badge.volunteer {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.timeline-title {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-company {
    font-size: 0.9rem;
    color: var(--accent-green);
    margin-bottom: 12px;
}

.timeline-details {
    list-style: none;
}

.timeline-details li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 4px 0 4px 20px;
    position: relative;
}

.timeline-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

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

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent 0%,
            rgba(0, 240, 255, 0.05) 25%,
            transparent 50%);
    animation: skillRotate 8s linear infinite;
    opacity: 0;
    transition: opacity 0.5s;
}

.skill-card:hover::after {
    opacity: 1;
}

@keyframes skillRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.skill-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 240, 255, 0.15);
    transform: translateY(-4px);
}

.skill-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.skill-card h3 {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 1;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.12);
    border-radius: 50px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tag:hover {
    background: rgba(0, 240, 255, 0.12);
    color: var(--accent-cyan);
    border-color: rgba(0, 240, 255, 0.3);
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 32px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-green));
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 240, 255, 0.15);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 240, 255, 0.05);
}

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

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

.project-icon {
    font-size: 2rem;
}

.project-link {
    color: var(--text-muted);
    padding: 8px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.project-link:hover {
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.08);
}

.project-title {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.project-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

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

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 3px 10px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 50px;
    color: var(--accent-purple);
    transition: var(--transition);
}

.tech-tag:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
}

.project-date {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ================================
   CERTIFICATIONS SECTION
   ================================ */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 36px 28px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cert-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.06), transparent 70%);
    transition: var(--transition-slow);
}

.cert-card:hover .cert-glow {
    transform: scale(1.5);
    background: radial-gradient(circle, rgba(0, 240, 255, 0.12), transparent 70%);
}

.cert-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 240, 255, 0.15);
    transform: translateY(-4px);
}

.cert-badge {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cert-title {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cert-subtitle {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.cert-issuer {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.cert-year {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-green);
    margin-bottom: 16px;
}

.cert-details p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 6px;
}

.cert-details strong {
    color: var(--accent-cyan);
}

.cert-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.cert-module {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 3px 10px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 50px;
    color: var(--accent-blue);
}

/* ================================
   CONTACT SECTION
   ================================ */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info.centered {
    text-align: center;
}

.contact-info.centered .contact-methods {
    align-items: stretch;
}

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

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

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

.contact-method:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 240, 255, 0.15);
    transform: translateX(6px);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

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

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



/* ================================
   FOOTER
   ================================ */
#footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

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

.footer-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-bracket {
    color: var(--accent-cyan);
}

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

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

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

/* Stagger children */
.skills-grid .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.skills-grid .reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.skills-grid .reveal:nth-child(4) {
    transition-delay: 0.3s;
}

.skills-grid .reveal:nth-child(5) {
    transition-delay: 0.4s;
}

.skills-grid .reveal:nth-child(6) {
    transition-delay: 0.5s;
}

.projects-grid .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.projects-grid .reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.projects-grid .reveal:nth-child(4) {
    transition-delay: 0.3s;
}

.timeline-item.reveal:nth-child(2) {
    transition-delay: 0.15s;
}

.timeline-item.reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.timeline-item.reveal:nth-child(4) {
    transition-delay: 0.45s;
}

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

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

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(5, 5, 16, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 4px;
        transition: var(--transition);
        border-left: 1px solid var(--glass-border);
    }

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

    .nav-link {
        font-size: 1rem;
        padding: 12px 16px;
    }

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

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

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

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

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

    .timeline {
        padding-left: 30px;
    }

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

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

    .timeline-content {
        padding: 20px;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .section-title {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

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

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
}