/* ==============================================
   JAVOHIR DONIYOROV - CREATIVE PORTFOLIO
   Pure Black & Green Theme
   ============================================== */

/* CSS Variables */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --bg-tertiary: #1a1a1a;
    --accent-green: #00ff41;
    --accent-green-light: #39ff14;
    --accent-green-dark: #00cc33;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-tertiary: #808080;
    --border-green: #00ff41;
    --green-glow: rgba(0, 255, 65, 0.3);
    --green-glow-strong: rgba(0, 255, 65, 0.6);
}

/* Global Reset & Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Courier New', 'Courier', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
}

.blob {
    position: absolute;
    opacity: 0.15;
    border-radius: 50%;
    filter: blur(40px);
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-green);
    top: -100px;
    right: -100px;
    animation: float 20s infinite ease-in-out;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-green);
    bottom: 100px;
    left: -50px;
    animation: float 15s infinite ease-in-out 2s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-green);
    top: 50%;
    left: 50%;
    animation: float 18s infinite ease-in-out 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: 1px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--accent-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-shadow: 0 0 10px var(--accent-green);
    color: var(--accent-green-light);
}

/* ======== NAVBAR ======== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 100%);
    border-bottom: 2px solid var(--accent-green);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    color: var(--accent-green);
    font-size: 1.8rem;
    text-shadow: 0 0 10px var(--green-glow);
}

.logo-text {
    color: var(--accent-green);
    text-shadow: 0 0 10px var(--green-glow);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    position: relative;
    color: var(--text-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    box-shadow: 0 0 10px var(--green-glow);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-green);
    text-shadow: 0 0 10px var(--green-glow);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-green);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ======== HERO SECTION ======== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, var(--accent-green), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 60px 70px, var(--accent-green), rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 50px 50px, var(--accent-green), rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 130px 80px, var(--accent-green), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 90px 10px, var(--accent-green), rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-label {
    color: var(--accent-green);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--green-glow);
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.word {
    display: block;
}

.letter {
    display: inline-block;
    animation: letterPop 0.5s ease-out backwards;
}

.word:nth-child(1) .letter:nth-child(1) { animation-delay: 0.1s; }
.word:nth-child(1) .letter:nth-child(2) { animation-delay: 0.15s; }
.word:nth-child(1) .letter:nth-child(3) { animation-delay: 0.2s; }
.word:nth-child(1) .letter:nth-child(4) { animation-delay: 0.25s; }
.word:nth-child(1) .letter:nth-child(5) { animation-delay: 0.3s; }
.word:nth-child(1) .letter:nth-child(6) { animation-delay: 0.35s; }
.word:nth-child(1) .letter:nth-child(7) { animation-delay: 0.4s; }

.word:nth-child(2) .letter:nth-child(1) { animation-delay: 0.45s; }
.word:nth-child(2) .letter:nth-child(2) { animation-delay: 0.5s; }
.word:nth-child(2) .letter:nth-child(3) { animation-delay: 0.55s; }
.word:nth-child(2) .letter:nth-child(4) { animation-delay: 0.6s; }
.word:nth-child(2) .letter:nth-child(5) { animation-delay: 0.65s; }
.word:nth-child(2) .letter:nth-child(6) { animation-delay: 0.7s; }
.word:nth-child(2) .letter:nth-child(7) { animation-delay: 0.75s; }
.word:nth-child(2) .letter:nth-child(8) { animation-delay: 0.8s; }
.word:nth-child(2) .letter:nth-child(9) { animation-delay: 0.85s; }

@keyframes letterPop {
    0% {
        transform: translateY(-30px) scale(0);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--green-glow);
    animation: fadeInUp 0.8s ease 0.5s backwards;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.7s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.9s backwards;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 0.8s ease 0.3s backwards;
}

.code-block {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--accent-green);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px var(--green-glow);
    max-width: 100%;
}

.code-header {
    background: var(--bg-tertiary);
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--accent-green);
    color: var(--accent-green);
    font-size: 0.9rem;
    font-weight: 600;
}

.code-block code {
    display: block;
    padding: 1.5rem;
    color: var(--accent-green);
    font-size: 0.9rem;
    line-height: 1.6;
    text-shadow: 0 0 10px var(--green-glow);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--accent-green);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--accent-green);
    border-radius: 10px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel 1.5s infinite;
}

@keyframes wheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ======== BUTTONS ======== */
.btn {
    padding: 12px 30px;
    border: 2px solid var(--accent-green);
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-green);
    z-index: -1;
    transition: left 0.3s ease;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--bg-primary);
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--green-glow-strong);
    transform: translateY(-3px);
    text-shadow: none;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-green);
    text-shadow: 0 0 10px var(--green-glow);
}

.btn-secondary:hover {
    background: var(--accent-green);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--green-glow-strong);
    transform: translateY(-3px);
}

/* ======== SECTIONS ======== */
section {
    padding: 80px 20px;
    position: relative;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-title {
    position: relative;
    display: inline-block;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.title-line {
    height: 3px;
    width: 100px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
    margin: 1rem auto 0;
    box-shadow: 0 0 20px var(--green-glow);
}

/* ======== ABOUT SECTION ======== */
.about {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background: rgba(0, 255, 65, 0.05);
    border: 2px solid var(--accent-green);
    padding: 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--green-glow), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.about-card:hover {
    box-shadow: 0 0 20px var(--green-glow);
    transform: translateY(-5px);
}

.about-card:hover::before {
    left: 100%;
}

.about-card > * {
    position: relative;
    z-index: 1;
}

.about-main {
    grid-column: 1 / -1;
}

.about-card h3 {
    color: var(--accent-green);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--green-glow);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 255, 65, 0.05);
    border: 2px solid var(--accent-green);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.stat:hover {
    box-shadow: 0 0 20px var(--green-glow);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    color: var(--accent-green);
    font-weight: 700;
    text-shadow: 0 0 10px var(--green-glow);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* ======== SKILLS SECTION ======== */
.skills {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%);
}

.skills-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.skill-group {
    background: rgba(0, 255, 65, 0.05);
    border-left: 4px solid var(--accent-green);
    padding: 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.skill-group:hover {
    box-shadow: 0 0 20px var(--green-glow);
    transform: translateX(10px);
}

.skill-group-title {
    color: var(--accent-green);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--green-glow);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-icon {
    font-size: 1.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    margin-bottom: 1rem;
}

.skill-name {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--accent-green);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-green-light));
    border-radius: 3px;
    box-shadow: 0 0 10px var(--green-glow);
    animation: fillProgress 1.5s ease-out backwards;
}

@keyframes fillProgress {
    0% { width: 0 !important; }
}

.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    background: var(--accent-green);
    color: var(--bg-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    box-shadow: 0 0 15px var(--green-glow-strong);
    transform: scale(1.05);
}

/* ======== WORK SECTION ======== */
.work {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
}

.experience-timeline {
    position: relative;
    padding: 2rem 0 2rem 50px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-green), transparent);
    box-shadow: 0 0 10px var(--green-glow);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    position: absolute;
    left: -48px;
    top: 0;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: var(--accent-green);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--green-glow);
    animation: pulse 2s infinite;
}

.marker-line {
    width: 3px;
    height: 100px;
    background: linear-gradient(180deg, var(--accent-green), transparent);
    margin-left: 8px;
    margin-top: 20px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 15px var(--green-glow);
    }
    50% {
        box-shadow: 0 0 30px var(--green-glow-strong);
    }
}

.timeline-content {
    background: rgba(0, 255, 65, 0.05);
    border: 2px solid var(--accent-green);
    padding: 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 0 20px var(--green-glow);
    transform: translateX(10px);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.exp-header h3 {
    color: var(--accent-green);
    font-size: 1.3rem;
    text-shadow: 0 0 10px var(--green-glow);
}

.exp-date {
    background: var(--accent-green);
    color: var(--bg-primary);
    padding: 0.4rem 1rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.exp-company {
    color: var(--accent-green-light);
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--green-glow);
}

.exp-list {
    list-style: none;
    margin-left: 0;
}

.exp-list li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.exp-list li::before {
    content: '▸';
    color: var(--accent-green);
    position: absolute;
    left: 0;
    text-shadow: 0 0 10px var(--green-glow);
}

/* ======== PROJECTS SECTION ======== */
.projects {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(0, 255, 65, 0.05);
    border: 2px solid var(--accent-green);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, var(--green-glow), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.project-card:hover {
    box-shadow: 0 0 30px var(--green-glow-strong);
    transform: translateY(-10px);
}

.project-card:hover::before {
    opacity: 0.2;
}

.project-visual {
    height: 150px;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), rgba(0, 255, 65, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--accent-green);
}

.project-icon {
    font-size: 4rem;
    animation: float 3s infinite ease-in-out;
}

.project-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.project-label {
    display: inline-block;
    background: var(--accent-green);
    color: var(--bg-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    width: fit-content;
}

.project-title {
    color: var(--accent-green);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--green-glow);
}

.project-desc {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-badge {
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: var(--accent-green);
    color: var(--bg-primary);
    box-shadow: 0 0 10px var(--green-glow);
}

.project-highlights {
    border-top: 2px solid var(--accent-green);
    padding-top: 1rem;
    margin-bottom: 1rem;
}

.project-highlights ul {
    list-style: none;
}

.project-highlights li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.5;
}

.project-highlights li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: 700;
    position: absolute;
    left: 0;
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.meta-item {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.meta-item i {
    color: var(--accent-green);
}

/* ======== CONTACT SECTION ======== */
.contact {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 255, 65, 0.05);
    border: 2px solid var(--accent-green);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    box-shadow: 0 0 20px var(--green-glow);
    transform: translateX(10px);
    background: rgba(0, 255, 65, 0.1);
}

.method-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-content {
    display: flex;
    flex-direction: column;
}

.method-label {
    color: var(--accent-green);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-shadow: 0 0 10px var(--green-glow);
}

.method-value {
    color: var(--text-primary);
    font-size: 1rem;
}

.social-network {
    margin-top: 2rem;
}

.social-label {
    color: var(--accent-green);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--green-glow);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-green);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-green);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-green);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--green-glow-strong);
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    background: rgba(0, 255, 65, 0.05);
    border: 2px solid var(--accent-green);
    color: var(--text-primary);
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 15px var(--green-glow);
    background: rgba(0, 255, 65, 0.1);
}

.btn-submit {
    margin-top: 1rem;
}

/* ======== FOOTER ======== */
.footer {
    background: var(--bg-tertiary);
    border-top: 2px solid var(--accent-green);
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.footer p {
    margin: 0;
}

.heart {
    color: var(--accent-green);
    text-shadow: 0 0 10px var(--green-glow);
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ======== RESPONSIVE DESIGN ======== */

/* TABLET - 768px and below */
@media (max-width: 768px) {
    /* Typography scaling */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.2rem; }

    /* Navbar adjustments */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 255, 65, 0.2);
        padding: 2rem 0;
        gap: 0;
        border-bottom: 2px solid var(--accent-green);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero section */
    .hero {
        margin-top: 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .hero-label {
        font-size: 0.8rem;
    }

    .hero-visual {
        display: none;
    }

    .code-block {
        max-width: 100%;
        font-size: 0.8rem;
    }

    .code-block code {
        padding: 1rem;
        font-size: 0.8rem;
    }

    /* Sections */
    section {
        padding: 50px 15px;
    }

    .container {
        padding: 0 15px;
    }

    /* About section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-main {
        grid-column: 1;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Skills section */
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-group {
        padding: 1.5rem;
    }

    /* Projects section */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        min-height: auto;
    }

    /* Contact section */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-methods {
        gap: 1rem;
    }

    .contact-method {
        padding: 1rem;
    }

    .social-icons {
        justify-content: center;
    }

    /* Work experience timeline */
    .experience-timeline {
        padding-left: 40px;
    }

    .timeline-marker {
        left: -40px;
    }

    .marker-dot {
        width: 16px;
        height: 16px;
        border-width: 2px;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .exp-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .exp-date {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
        align-self: flex-start;
    }

    /* Buttons */
    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    /* Forms */
    .form-group {
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
}

/* MOBILE - 480px and below */
@media (max-width: 480px) {
    /* Root font size */
    html {
        font-size: 14px;
    }

    /* Typography */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1rem; }
    p { font-size: 0.9rem; }

    /* Navbar */
    .navbar {
        padding: 1rem 0;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .logo-icon {
        font-size: 1.4rem;
    }

    /* Hero */
    .hero {
        margin-top: 50px;
        min-height: 85vh;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1;
    }

    .word {
        margin-bottom: 0.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }

    .hero-label {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-indicator span {
        font-size: 0.7rem;
    }

    /* Sections */
    section {
        padding: 40px 10px;
    }

    .container {
        padding: 0 10px;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    /* About section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-card {
        padding: 1.2rem;
        border-radius: 3px;
    }

    .about-card h3 {
        font-size: 1rem;
    }

    .about-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .card-icon {
        font-size: 1.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .stat {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    /* Skills section */
    .skills-showcase {
        gap: 1.5rem;
    }

    .skill-group {
        padding: 1.2rem;
        border-left-width: 3px;
    }

    .skill-group-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .skill-icon {
        font-size: 1.2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .skill-item {
        margin-bottom: 0.8rem;
    }

    .skill-name {
        font-size: 0.85rem;
    }

    .skill-bar {
        height: 5px;
    }

    .tags-grid {
        gap: 0.7rem;
    }

    .skill-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }

    /* Work section */
    .experience-timeline {
        padding-left: 35px;
    }

    .timeline-marker {
        left: -38px;
    }

    .marker-dot {
        width: 14px;
        height: 14px;
        border-width: 2px;
    }

    .timeline-content {
        padding: 1.2rem;
        border-radius: 3px;
    }

    .exp-header {
        flex-direction: column;
        gap: 0.3rem;
    }

    .exp-header h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .exp-date {
        padding: 0.25rem 0.6rem;
        font-size: 0.65rem;
    }

    .exp-company {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .exp-list {
        margin-left: 0;
    }

    .exp-list li {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
        padding-left: 1.2rem;
    }

    /* Projects section */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-card {
        border-radius: 3px;
    }

    .project-visual {
        height: 120px;
    }

    .project-icon {
        font-size: 3rem;
    }

    .project-content {
        padding: 1.2rem;
    }

    .project-label {
        padding: 0.25rem 0.6rem;
        font-size: 0.65rem;
        margin-bottom: 0.8rem;
    }

    .project-title {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }

    .project-desc {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .project-tech-stack {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }

    .tech-badge {
        padding: 0.2rem 0.6rem;
        font-size: 0.65rem;
    }

    .project-highlights {
        border-top-width: 1px;
        padding-top: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .project-highlights li {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }

    .project-meta {
        gap: 0.8rem;
        font-size: 0.75rem;
    }

    /* Contact section */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-intro {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .contact-methods {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .contact-method {
        padding: 1rem;
        border-radius: 3px;
        gap: 0.8rem;
    }

    .method-icon {
        font-size: 1.3rem;
    }

    .method-label {
        font-size: 0.7rem;
    }

    .method-value {
        font-size: 0.9rem;
    }

    .social-label {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .social-icons {
        gap: 0.8rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    /* Contact form */
    .contact-form-wrapper {
        width: 100%;
    }

    .form-group {
        margin-bottom: 0.8rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
        border-radius: 3px;
    }

    .btn-submit {
        margin-top: 0.8rem;
        font-size: 0.85rem;
        padding: 10px 20px;
    }

    /* Footer */
    .footer {
        padding: 1.5rem;
        border-top-width: 1px;
    }

    .footer p {
        font-size: 0.8rem;
    }
}

/* EXTRA SMALL - 320px and below */
@media (max-width: 320px) {
    html {
        font-size: 12px;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.2rem; }

    section {
        padding: 30px 8px;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 0.8rem;
    }

    .btn {
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .social-icons {
        flex-wrap: wrap;
    }
}
