/* Cyberpunk Portfolio CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cyber-green: #00ff00;
    --cyber-green-dark: #00cc00;
    --cyber-green-light: #33ff33;
    --cyber-blue: #0099ff;
    --cyber-red: #ff0040;
    --cyber-bg: #000000;
    --cyber-bg-light: #0a0a0a;
    --cyber-bg-dark: #050505;
    --cyber-border: #00ff0050;
    --cyber-text: #ffffff;
    --cyber-text-dim: #cccccc;
    --cyber-text-dark: #666666;
    --terminal-bg: rgba(0, 0, 0, 0.9);
    --terminal-border: rgba(0, 255, 0, 0.3);
    --glow-shadow: 0 0 10px var(--cyber-green);
    --text-shadow-neon: 0 0 5px var(--cyber-green);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cyber-bg);
    color: var(--cyber-text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Matrix Background */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fira Code', monospace;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.cyber-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid var(--cyber-border);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand {
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    color: var(--cyber-green);
    text-shadow: var(--text-shadow-neon);
}

.terminal-prompt {
    color: var(--cyber-green);
    margin-right: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--cyber-text-dim);
    text-decoration: none;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--cyber-green);
    text-shadow: var(--text-shadow-neon);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyber-green);
    transition: width 0.3s ease;
    box-shadow: var(--glow-shadow);
}

.nav-link:hover::before {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--cyber-green);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 80px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.5fr 400px;
    gap: 3rem;
    align-items: start;
    width: 100%;
}

.main-terminal {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.terminal-window {
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
    overflow: hidden;
}

.terminal-header {
    background: rgba(0, 255, 0, 0.1);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--terminal-border);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

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

.btn-close {
    background: var(--cyber-red);
}

.btn-minimize {
    background: #ffcc00;
}

.btn-maximize {
    background: var(--cyber-green);
}

.terminal-title {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: var(--cyber-green);
}

.terminal-body {
    padding: 20px;
    font-family: 'Fira Code', monospace;
}

.terminal-line {
    margin-bottom: 15px;
    color: var(--cyber-text-dim);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prompt {
    color: var(--cyber-green);
}

.command {
    color: var(--cyber-blue);
}

.terminal-output {
    margin-bottom: 20px;
    padding-left: 1rem;
}

.glitch-text {
    font-size: 3rem;
    font-weight: 700;
    color: var(--cyber-green);
    text-shadow: var(--text-shadow-neon);
    position: relative;
    animation: glitch 2s infinite;
    margin-bottom: 1rem;
}

.experience-summary {
    color: var(--cyber-text-dim);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.achievements-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.file-item {
    color: var(--cyber-green);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    border-left: 2px solid var(--cyber-border);
    padding-left: 0.5rem;
    transition: all 0.3s ease;
}

.file-item:hover {
    border-left-color: var(--cyber-green);
    background: rgba(0, 255, 0, 0.05);
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.stat-card {
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 6px;
    padding: 0.8rem 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    border-color: var(--cyber-green);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    display: block;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyber-green);
    text-shadow: var(--text-shadow-neon);
    font-family: 'Fira Code', monospace;
    display: block;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--cyber-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes glitch {
    0% {
        text-shadow: 0 0 5px var(--cyber-green);
    }
    25% {
        text-shadow: -2px 0 var(--cyber-red), 2px 0 var(--cyber-blue), 0 0 5px var(--cyber-green);
    }
    50% {
        text-shadow: 0 0 5px var(--cyber-green);
    }
    75% {
        text-shadow: 2px 0 var(--cyber-red), -2px 0 var(--cyber-blue), 0 0 5px var(--cyber-green);
    }
    100% {
        text-shadow: 0 0 5px var(--cyber-green);
    }
}

.typing-container {
    margin-top: 20px;
    font-size: 1.2rem;
}

#typed-text {
    color: var(--cyber-text);
}

.cursor {
    color: var(--cyber-green);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Profile Section */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: sticky;
    top: 120px;
}

.profile-image-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.profile-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--cyber-green);
    border-radius: 50%;
    animation: rotate 3s linear infinite;
    box-shadow: 0 0 30px var(--cyber-green);
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--cyber-green);
    position: relative;
    z-index: 2;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyber-green), transparent);
    animation: scan 2s ease-in-out infinite;
    z-index: 3;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 1;
    }
    50% {
        top: 50%;
        opacity: 0.5;
    }
    100% {
        top: 100%;
        opacity: 1;
    }
}

.status-indicators {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--cyber-border);
    border-radius: 4px;
    background: rgba(0, 255, 0, 0.05);
    min-width: 120px;
    justify-content: center;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyber-text-dark);
    animation: pulse 2s infinite;
}

.status-dot.online {
    background: var(--cyber-green);
    box-shadow: 0 0 10px var(--cyber-green);
}

.status-dot.coding {
    background: var(--cyber-blue);
    box-shadow: 0 0 10px var(--cyber-blue);
}

.status-dot.building {
    background: #ff6600;
    box-shadow: 0 0 10px #ff6600;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.tech-stack {
    text-align: center;
    margin-top: 1rem;
}

.tech-title {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--cyber-green);
    margin-bottom: 1rem;
    text-shadow: var(--text-shadow-neon);
}

.tech-icons {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    overflow-x: auto;
    padding: 0.2rem 0;
}

.tech-icon {
    padding: 0.3rem;
    border: 1px solid var(--cyber-border);
    border-radius: 6px;
    background: rgba(0, 255, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    min-width: 28px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.tech-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.tech-icon:hover::before {
    left: 100%;
}

.tech-icon:hover {
    border-color: var(--cyber-green);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    transform: translateY(-1px);
}

.tech-logo {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
    filter: none;
}

/* Specific styling for better visibility of certain logos */
.tech-icon[title="Tailwind CSS"] .tech-logo {
    filter: brightness(1.2) contrast(1.1);
}

.tech-icon[title="WordPress"] .tech-logo {
    filter: brightness(1.3) contrast(1.2);
}

.tech-icon:hover .tech-logo {
    filter: drop-shadow(0 0 5px rgba(0, 255, 0, 0.6));
    transform: scale(1.1);
}

/* Maintain enhanced visibility on hover for specific logos */
.tech-icon[title="Tailwind CSS"]:hover .tech-logo {
    filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 5px rgba(0, 255, 0, 0.6));
    transform: scale(1.1);
}

.tech-icon[title="WordPress"]:hover .tech-logo {
    filter: brightness(1.3) contrast(1.2) drop-shadow(0 0 5px rgba(0, 255, 0, 0.6));
    transform: scale(1.1);
}

.social-quick-links {
    display: flex;
    flex-direction: row;
    gap: 0.3rem;
    width: 100%;
    flex-wrap: nowrap;
}

.social-quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.4rem 0.3rem;
    border: 1px solid var(--cyber-border);
    border-radius: 4px;
    text-decoration: none;
    color: var(--cyber-text-dim);
    font-family: 'Fira Code', monospace;
    font-size: 0.6rem;
    transition: all 0.3s ease;
    background: rgba(0, 255, 0, 0.05);
    flex: 1;
    min-width: 0;
}

.social-quick-link:hover {
    border-color: var(--cyber-green);
    color: var(--cyber-green);
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.2);
    transform: translateY(-1px);
}

.social-icon {
    font-size: 1rem;
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    color: var(--cyber-green);
    text-shadow: var(--text-shadow-neon);
    margin-bottom: 1rem;
}

/* About Section */
.about-terminal {
    max-width: 900px;
    margin: 0 auto;
}

.about-content {
    padding: 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--cyber-text-dim);
}

.highlight {
    color: var(--cyber-green);
    text-shadow: var(--text-shadow-neon);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border: 1px solid var(--cyber-border);
    border-radius: 8px;
    background: rgba(0, 255, 0, 0.05);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cyber-green);
    text-shadow: var(--text-shadow-neon);
    font-family: 'Fira Code', monospace;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--cyber-text-dim);
    margin-top: 0.5rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.skill-category {
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
}

.category-title {
    font-size: 1.3rem;
    color: var(--cyber-green);
    text-shadow: var(--text-shadow-neon);
    margin-bottom: 1.5rem;
    font-family: 'Fira Code', monospace;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: grid;
    grid-template-columns: 1fr 100px 60px;
    gap: 1rem;
    align-items: center;
}

.skill-name {
    font-size: 0.9rem;
    color: var(--cyber-text);
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--cyber-green), var(--cyber-green-light));
    border-radius: 4px;
    width: 0;
    transition: width 1s ease-out;
    box-shadow: 0 0 10px var(--cyber-green);
    animation: loading 0.5s ease-out;
}

@keyframes loading {
    0% {
        width: 0;
    }
}

.skill-percentage {
    font-size: 0.8rem;
    color: var(--cyber-green);
    font-family: 'Fira Code', monospace;
    text-align: right;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    border-color: var(--cyber-green);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
    transform: translateY(-5px);
}

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

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

.project-status {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: var(--cyber-green);
    color: var(--cyber-bg);
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
}

.project-title {
    font-size: 1.2rem;
    color: var(--cyber-green);
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--cyber-text-dim);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: rgba(0, 255, 0, 0.1);
    color: var(--cyber-green);
    border: 1px solid var(--cyber-border);
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
}

/* Community Section */
.community-terminal {
    max-width: 800px;
    margin: 0 auto;
}

.community-info h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.community-info p {
    margin-bottom: 1rem;
    color: var(--cyber-text-dim);
    line-height: 1.8;
}

.achievement-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid var(--cyber-border);
    border-radius: 4px;
    background: rgba(0, 255, 0, 0.05);
}

.achievement-icon {
    font-size: 1.2rem;
}

/* Photography Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--terminal-border);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--cyber-green);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
    transform: translateY(-5px);
}

.image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 2rem 1rem 1rem;
    color: var(--cyber-text);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .image-overlay {
    transform: translateY(0);
}

.image-info h4 {
    color: var(--cyber-green);
    margin-bottom: 0.5rem;
}

.image-info p {
    font-size: 0.9rem;
    color: var(--cyber-text-dim);
}

/* Contact Section */
.contact-terminal {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--cyber-green);
    font-family: 'Fira Code', monospace;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid var(--cyber-border);
    border-radius: 4px;
    color: var(--cyber-text);
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--cyber-green);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.submit-btn {
    background: var(--cyber-green);
    color: var(--cyber-bg);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.submit-btn:hover {
    background: var(--cyber-green-dark);
    box-shadow: 0 0 20px var(--cyber-green);
}

.contact-links {
    margin-top: 2rem;
}

.contact-links h3 {
    color: var(--cyber-green);
    margin-bottom: 1rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--cyber-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--cyber-text-dim);
    transition: all 0.3s ease;
    background: rgba(0, 255, 0, 0.05);
}

.social-link:hover {
    border-color: var(--cyber-green);
    color: var(--cyber-green);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.social-icon {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--terminal-bg);
    border-top: 1px solid var(--terminal-border);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

.footer-text {
    color: var(--cyber-text-dim);
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cyber-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .main-terminal {
        order: 2;
    }

    .profile-section {
        order: 1;
        position: static;
    }

    .glitch-text {
        font-size: 2.5rem;
    }

    .quick-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .tech-icons {
        gap: 0.4rem;
    }

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

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

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

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

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

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

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

    .glitch-text {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

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

    .skills-grid {
        gap: 1.5rem;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .profile-image-container {
        width: 150px;
        height: 150px;
    }

    .stat-card {
        padding: 0.6rem 0.4rem;
    }

    .tech-icons {
        gap: 0.3rem;
    }

    .tech-icon {
        min-height: 28px;
        min-width: 28px;
        padding: 0.3rem;
    }

    .tech-logo {
        width: 16px;
        height: 16px;
    }
}

/* Intersection Observer Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease-out;
}

.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease-out;
}

.slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Loading animations for skill bars */
.skill-progress.animate {
    animation: skillLoad 1.5s ease-out forwards;
}

@keyframes skillLoad {
    from {
        width: 0;
    }
    to {
        width: var(--target-width);
    }
}

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

.glitch-text::before {
    animation: glitch-red 0.3s infinite linear alternate-reverse;
}

.glitch-text::after {
    animation: glitch-blue 0.3s infinite linear alternate-reverse;
}

@keyframes glitch-red {
    0% {
        transform: translate(0);
        color: var(--cyber-red);
        opacity: 0.8;
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

@keyframes glitch-blue {
    0% {
        transform: translate(0);
        color: var(--cyber-blue);
        opacity: 0.8;
    }
    20% {
        transform: translate(2px, 2px);
    }
    40% {
        transform: translate(2px, -2px);
    }
    60% {
        transform: translate(-2px, 2px);
    }
    80% {
        transform: translate(-2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}
