/* Cybersecurity/Hacker Portfolio CSS */
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* CSS Variables for Cybersec Theme */
:root {
    --primary-green: #00ff41;
    --secondary-green: #39ff14;
    --dark-green: #00cc33;
    --terminal-green: #0dff0d;
    --warning-red: #ff0040;
    --accent-blue: #00d4ff;
    --dark-bg: #0a0a0a;
    --darker-bg: #000000;
    --terminal-bg: #0c0c0c;
    --card-bg: rgba(16, 16, 16, 0.9);
    --border-green: rgba(0, 255, 65, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-terminal: #00ff41;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Code Pro', 'Courier New', monospace;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--dark-bg);
    overflow-x: hidden;
    position: relative;
}

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

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-green);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-green);
    text-shadow: 0 0 10px var(--primary-green);
}

.logo-bracket {
    color: var(--accent-blue);
    text-shadow: 0 0 10px var(--accent-blue);
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.navbar a:hover,
.navbar a.active {
    color: var(--primary-green);
    text-shadow: 0 0 5px var(--primary-green);
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-blue));
    transition: width 0.3s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    color: var(--primary-green);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0a0a0a 50%, #000 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

/* Terminal Window Styles */
.terminal-window {
    background: var(--terminal-bg);
    border: 1px solid var(--border-green);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
    margin-bottom: 30px;
}

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

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

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

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

.terminal-btn.minimize {
    background: #ffcc00;
}

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

.terminal-title {
    font-family: 'Source Code Pro', monospace;
    font-size: 12px;
    color: var(--text-terminal);
    text-align: center;
    flex: 1;
}

.terminal-body {
    padding: 20px;
    font-family: 'Source Code Pro', monospace;
    line-height: 1.8;
}

.terminal-line {
    margin-bottom: 10px;
}

.prompt {
    color: var(--primary-green);
    text-shadow: 0 0 5px var(--primary-green);
}

.command {
    color: var(--accent-blue);
    margin-left: 5px;
}

.terminal-output {
    margin: 15px 0;
    padding-left: 20px;
}

.hero-name {
    font-family: 'Orbitron', monospace;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-green);
    text-shadow: 0 0 15px var(--primary-green);
    margin-bottom: 10px;
}

.hero-title {
    font-size: 1.3rem;
    color: var(--accent-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

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

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

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

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--dark-bg);
    border: 2px solid var(--primary-green);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0, 255, 65, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn-secondary:hover {
    background: var(--accent-blue);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.btn-github {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.btn-github:hover {
    background: var(--text-primary);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Hero Image Styles */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cyber-frame {
    position: relative;
    width: 400px;
    height: 500px;
    background: var(--card-bg);
    border: 2px solid var(--primary-green);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

.scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 65, 0.03) 2px,
        rgba(0, 255, 65, 0.03) 4px
    );
    z-index: 2;
    pointer-events: none;
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.2);
}

.glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 255, 65, 0.1) 50%,
        transparent 100%
    );
    opacity: 0;
    animation: glitch-sweep 3s infinite;
}

@keyframes glitch-sweep {
    0%, 90% { opacity: 0; transform: translateX(-100%); }
    95% { opacity: 1; transform: translateX(0%); }
    100% { opacity: 0; transform: translateX(100%); }
}

.cyber-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.dot {
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-secondary);
    border: 1px solid var(--border-green);
    border-radius: 4px;
    font-family: 'Source Code Pro', monospace;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--primary-green);
    color: var(--dark-bg);
    text-shadow: none;
    box-shadow: 0 0 10px var(--primary-green);
}

.system-info {
    position: absolute;
    bottom: 80px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border: 1px solid var(--border-green);
    border-radius: 4px;
    font-family: 'Source Code Pro', monospace;
    font-size: 12px;
    z-index: 3;
}

.info-line {
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.online {
    color: var(--primary-green);
    text-shadow: 0 0 5px var(--primary-green);
}

.secure {
    color: var(--accent-blue);
    text-shadow: 0 0 5px var(--accent-blue);
}

.authorized {
    color: var(--warning-red);
    text-shadow: 0 0 5px var(--warning-red);
}

/* Hack Text Animation */
.hack-text {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Source Code Pro', monospace;
    font-size: 14px;
    color: var(--primary-green);
    opacity: 0.7;
    animation: hack-glow 2s ease-in-out infinite alternate;
}

@keyframes hack-glow {
    from {
        text-shadow: 0 0 5px var(--primary-green);
        opacity: 0.7;
    }
    to {
        text-shadow: 0 0 20px var(--primary-green), 0 0 30px var(--primary-green);
        opacity: 1;
    }
}

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

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

.terminal-prompt {
    font-family: 'Source Code Pro', monospace;
    margin-bottom: 20px;
    color: var(--text-terminal);
}

.section-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    text-shadow: 0 0 15px var(--primary-green);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #0d0d0d 0%, var(--terminal-bg) 100%);
    border-top: 1px solid var(--border-green);
}

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

.code-block {
    background: var(--terminal-bg);
    border: 1px solid var(--border-green);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: rgba(0, 255, 65, 0.1);
    border-bottom: 1px solid var(--border-green);
    font-family: 'Source Code Pro', monospace;
    font-size: 14px;
    color: var(--primary-green);
}

.code-content {
    padding: 25px;
    line-height: 1.8;
}

.code-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.highlight {
    color: var(--primary-green);
    text-shadow: 0 0 5px var(--primary-green);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-green);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateX(10px);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-green);
    text-shadow: 0 0 10px var(--primary-green);
}

.stat-info {
    flex: 1;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    text-shadow: 0 0 10px var(--primary-green);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Skills Section */
.skills {
    background: var(--dark-bg);
    border-top: 1px solid var(--border-green);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.skill-category {
    background: var(--card-bg);
    border: 1px solid var(--border-green);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.category-header i {
    font-size: 1.8rem;
    color: var(--primary-green);
    text-shadow: 0 0 10px var(--primary-green);
}

.category-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-name {
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.skill-bar {
    width: 100%;
    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(--primary-green), var(--accent-blue));
    border-radius: 4px;
    position: relative;
    width: 0;
    transition: width 2s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: skill-shine 2s infinite;
}

@keyframes skill-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Projects Section */
.projects {
    background: linear-gradient(135deg, var(--terminal-bg) 0%, #0a0a0a 100%);
    border-top: 1px solid var(--border-green);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-green);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card.featured {
    border-color: var(--primary-green);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

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

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

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 255, 65, 0.2);
}

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

.project-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.project-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Source Code Pro', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.active {
    background: var(--primary-green);
}

.status-dot.research {
    background: var(--accent-blue);
}

.status-dot.completed {
    background: var(--warning-red);
}

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

.project-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.project-subtitle {
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 15px;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.feature-tag {
    background: rgba(0, 255, 65, 0.1);
    color: var(--primary-green);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-family: 'Source Code Pro', monospace;
    border: 1px solid rgba(0, 255, 65, 0.3);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-stack {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-blue);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-family: 'Source Code Pro', monospace;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

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

.project-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    text-decoration: none;
    font-family: 'Source Code Pro', monospace;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--accent-blue);
    text-shadow: 0 0 5px var(--accent-blue);
}

/* Experience/Timeline Section */
.experience {
    background: var(--dark-bg);
    border-top: 1px solid var(--border-green);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-green), var(--accent-blue));
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.timeline-item {
    position: relative;
    margin: 50px 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    width: 150px;
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    color: var(--primary-green);
    background: var(--card-bg);
    padding: 8px 15px;
    border: 1px solid var(--border-green);
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
}

.timeline-content {
    flex: 1;
    background: var(--card-bg);
    padding: 25px;
    border: 1px solid var(--border-green);
    border-radius: 10px;
    margin: 0 40px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.job-header {
    margin-bottom: 15px;
}

.job-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.company {
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.achievement {
    background: rgba(255, 0, 64, 0.1);
    color: var(--warning-red);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-family: 'Source Code Pro', monospace;
    border: 1px solid rgba(255, 0, 64, 0.3);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--terminal-bg) 0%, var(--darker-bg) 100%);
    border-top: 1px solid var(--border-green);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-terminal {
    margin-bottom: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 255, 65, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    text-shadow: 0 0 10px var(--primary-green);
    width: 30px;
    text-align: center;
}

.contact-details h3 {
    font-family: 'Source Code Pro', monospace;
    color: var(--primary-green);
    margin-bottom: 5px;
    font-size: 14px;
    text-transform: uppercase;
}

.contact-details p {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-details small {
    color: var(--text-secondary);
    font-size: 12px;
}

/* Form Styles */
.form-window {
    background: var(--card-bg);
    border: 1px solid var(--border-green);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.2);
}

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

.form-header h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-green);
    text-transform: uppercase;
}

.encryption-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    font-size: 12px;
    font-family: 'Source Code Pro', monospace;
}

form {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-green);
    font-family: 'Source Code Pro', monospace;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-green);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: 'Source Code Pro', monospace;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
    background: rgba(0, 255, 65, 0.05);
}

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

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-green);
    color: var(--text-primary);
    padding: 40px 0 20px;
}

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

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-green);
    text-shadow: 0 0 10px var(--primary-green);
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--primary-green);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-blue);
    text-shadow: 0 0 10px var(--accent-blue);
    transform: translateY(-2px);
}

.footer-status {
    font-family: 'Source Code Pro', monospace;
    font-size: 12px;
}

.status-line {
    margin-bottom: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-green);
    color: var(--text-secondary);
    font-family: 'Source Code Pro', monospace;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar {
        display: none;
    }

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

    .cyber-frame {
        width: 300px;
        height: 400px;
    }

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

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

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

    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }

    .timeline-date {
        position: absolute;
        left: -75px;
        width: 120px;
    }

    .timeline-content {
        margin: 0;
        margin-left: 30px;
    }

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

    .footer-right {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 1.8rem;
    }

    .cyber-frame {
        width: 280px;
        height: 350px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* Loading Animation */
body.loaded {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--primary-green);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
}