/* ========================================
   CYBERSEC PORTFOLIO - MAIN STYLES
   Enhanced Cyberpunk Theme with Matrix Effects
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100;300;400;500;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

:root {
    --neon-green: #00ff41;
    --matrix-green: #00ff00;
    --cyber-dark: #0a0a0f;
    --cyber-darker: #050508;
    --cyber-gray: #1a1a2e;
    --cyber-accent: #16213e;
    --neon-cyan: #00ffff;
    --neon-purple: #bf00ff;
    --neon-pink: #ff00ff;
    --terminal-bg: #0c0c0c;
    --glow-green: 0 0 20px rgba(0, 255, 65, 0.5);
    --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.5);
    --font-mono: 'JetBrains Mono', monospace;
    --font-display: 'Orbitron', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-mono);
    background: var(--cyber-darker);
    color: var(--neon-green);
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--neon-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* ========================================
   MATRIX RAIN BACKGROUND
   ======================================== */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}

/* ========================================
   LOADER
   ======================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cyber-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.remove {
    opacity: 0;
    pointer-events: none;
}

.terminal-loader {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-green);
    border-radius: 8px;
    padding: 20px 30px;
    box-shadow: var(--glow-green);
    min-width: 300px;
}

.terminal-header {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

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

.terminal-btn.red { background: #ff5f56; }
.terminal-btn.yellow { background: #ffbd2e; }
.terminal-btn.green { background: #27c93f; }

.terminal-content {
    font-family: var(--font-mono);
    color: var(--neon-green);
}

.terminal-line {
    margin: 5px 0;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.2s; }
.terminal-line:nth-child(2) { animation-delay: 0.5s; }
.terminal-line:nth-child(3) { animation-delay: 0.8s; }
.terminal-line:nth-child(4) { animation-delay: 1.1s; }
.terminal-line:nth-child(5) { animation-delay: 1.4s; }

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

.cursor {
    display: inline-block;
    width: 10px;
    height: 18px;
    background: var(--neon-green);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ========================================
   NAVIGATION
   ======================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(0, 255, 65, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.logo {
    text-align: center;
    margin-bottom: 40px;
}

.logo h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--neon-green);
    text-shadow: var(--glow-green);
    letter-spacing: 2px;
}

.logo span {
    display: block;
    font-size: 0.7rem;
    color: var(--neon-cyan);
    margin-top: 5px;
}

.nav-links {
    list-style: none;
    flex: 1;
}

.nav-links li {
    margin: 15px 0;
}

.nav-links a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '>';
    position: absolute;
    left: 5px;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    border-left-color: var(--neon-green);
    color: var(--neon-green);
    padding-left: 30px;
    background: rgba(0, 255, 65, 0.05);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    opacity: 1;
    left: 10px;
}

.nav-footer {
    text-align: center;
    font-size: 0.7rem;
    color: #666;
    border-top: 1px solid rgba(0, 255, 65, 0.2);
    padding-top: 20px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--cyber-gray);
    border: 1px solid var(--neon-green);
    border-radius: 5px;
    z-index: 1001;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--neon-green);
    transition: all 0.3s ease;
}

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

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

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

/* ========================================
   MAIN CONTENT CONTAINER
   ======================================== */
main {
    margin-left: 280px;
    min-height: 100vh;
}

.section {
    min-height: 100vh;
    padding: 60px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-header {
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--neon-green);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--neon-green);
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
    margin-bottom: 10px;
}

.section-subtitle {
    color: #888;
    font-size: 1rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
#hero {
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-greeting {
    font-size: 1rem;
    color: var(--neon-cyan);
    margin-bottom: 10px;
}

.hero-name {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(0, 255, 65, 0.5);
}

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

.typing-text {
    font-size: 1.5rem;
    color: var(--neon-green);
    border-right: 3px solid var(--neon-green);
    padding-right: 5px;
    animation: blink 0.7s step-end infinite;
    min-height: 30px;
}

.hero-description {
    font-size: 1.1rem;
    color: #aaa;
    max-width: 600px;
    margin: 30px 0;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--neon-green);
    text-shadow: var(--glow-green);
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

/* Profile Picture */
.hero-profile {
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    z-index: 10;
}

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

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--neon-green);
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.5),
        0 0 40px rgba(0, 255, 65, 0.3),
        0 0 60px rgba(0, 255, 65, 0.1),
        inset 0 0 30px rgba(0, 255, 65, 0.1);
    transition: all 0.3s ease;
}

.profile-container:hover .profile-img {
    box-shadow: 
        0 0 30px rgba(0, 255, 65, 0.8),
        0 0 60px rgba(0, 255, 65, 0.5),
        0 0 90px rgba(0, 255, 65, 0.3),
        inset 0 0 40px rgba(0, 255, 65, 0.2);
    transform: scale(1.02);
}

.profile-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px dashed rgba(0, 255, 65, 0.3);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.profile-ring::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 50%;
    animation: spin 15s linear infinite reverse;
}

.profile-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    background: var(--cyber-darker);
    border: 2px solid var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive profile */
@media (max-width: 1024px) {
    .hero-profile {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin: 40px auto 0;
    }
    
    .profile-container {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .profile-container {
        width: 150px;
        height: 150px;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-decoration: none;
    border: 2px solid var(--neon-green);
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--neon-green);
    color: var(--cyber-darker);
}

.btn-primary:hover {
    background: transparent;
    color: var(--neon-green);
    box-shadow: var(--glow-green);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-green);
}

.btn-secondary:hover {
    background: rgba(0, 255, 65, 0.1);
    box-shadow: var(--glow-green);
}

.social-links {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 100;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--neon-green);
    border-radius: 50%;
    color: var(--neon-green);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background: rgba(10, 10, 15, 0.8);
}

.social-links a:hover {
    background: var(--neon-green);
    color: var(--cyber-darker);
    box-shadow: var(--glow-green);
    transform: translateY(-5px);
}

/* ========================================
   TERMINAL SECTION
   ======================================== */
.terminal-section {
    background: rgba(12, 12, 12, 0.8);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.terminal-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
    margin-bottom: 15px;
}

.terminal-title {
    font-size: 0.8rem;
    color: #888;
}

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

.terminal-body {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.8;
}

.command-line {
    display: flex;
    margin: 8px 0;
}

.command-prompt {
    color: var(--neon-green);
    margin-right: 10px;
}

.command-text {
    color: #fff;
}

.command-output {
    color: #888;
    margin-left: 20px;
    margin-bottom: 15px;
}

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

.about-text h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
}

.about-text p {
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.8;
}

.highlight {
    color: var(--neon-green);
    font-weight: 500;
}

.skills-container {
    display: grid;
    gap: 20px;
}

.skill-category {
    background: rgba(22, 33, 62, 0.5);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: var(--neon-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.1);
}

.skill-category h4 {
    color: var(--neon-cyan);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category h4 i {
    font-size: 1.2rem;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.skill-name {
    color: #fff;
}

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

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

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

/* ========================================
   TOOLS SHOWCASE
   ======================================== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tool-card {
    background: rgba(22, 33, 62, 0.5);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tool-card:hover {
    border-color: var(--neon-green);
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--glow-green);
}

.tool-card i {
    font-size: 2.5rem;
    color: var(--neon-green);
    margin-bottom: 15px;
}

.tool-card h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 10px;
}

.tool-card p {
    color: #888;
    font-size: 0.8rem;
}

/* ========================================
   EXPERIENCE TIMELINE
   ======================================== */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg, var(--neon-green), var(--neon-cyan));
}

.timeline-item {
    position: relative;
    padding: 30px;
    margin-bottom: 30px;
    background: rgba(22, 33, 62, 0.5);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 35px;
    width: 12px;
    height: 12px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: var(--glow-green);
}

.timeline-item:hover {
    border-color: var(--neon-green);
    transform: translateX(10px);
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--neon-green);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--neon-green);
    margin-bottom: 15px;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 5px;
}

.timeline-company {
    color: var(--neon-cyan);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-desc {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========================================
   CERTIFICATIONS
   ======================================== */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.cert-card {
    background: rgba(22, 33, 62, 0.5);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cert-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.5s ease;
}

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

.cert-card:hover {
    border-color: var(--neon-green);
    transform: translateY(-5px);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-icon i {
    font-size: 1.8rem;
    color: var(--neon-green);
}

.cert-content h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.cert-content p {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.cert-date {
    font-size: 0.75rem;
    color: var(--neon-cyan);
}

/* ========================================
   CTF / ACHIEVEMENTS
   ======================================== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.achievement-card {
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.8), rgba(10, 10, 15, 0.9));
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    border-color: var(--neon-green);
    transform: scale(1.05);
}

.achievement-badge {
    width: 80px;
    height: 80px;
    background: rgba(0, 255, 65, 0.1);
    border: 2px solid var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.achievement-badge i {
    font-size: 2rem;
    color: var(--neon-green);
}

.achievement-card h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.achievement-card p {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.achievement-score {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--neon-green);
    text-shadow: var(--glow-green);
}

/* ========================================
   PROJECTS
   ======================================== */
.projects-filter {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 25px;
    color: #888;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(0, 255, 65, 0.1);
    border-color: var(--neon-green);
    color: var(--neon-green);
}

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

.project-card {
    background: rgba(22, 33, 62, 0.5);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: var(--neon-green);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 65, 0.1);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--cyber-gray), var(--cyber-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image i {
    font-size: 4rem;
    color: rgba(0, 255, 65, 0.3);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-link {
    width: 50px;
    height: 50px;
    background: var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyber-darker);
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-link:hover {
    background: var(--neon-cyan);
}

.project-content {
    padding: 25px;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.project-tag {
    padding: 4px 12px;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 15px;
    font-size: 0.7rem;
    color: var(--neon-green);
}

.project-content h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.project-content p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.contact-info p {
    color: #888;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(22, 33, 62, 0.5);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--neon-green);
    transform: translateX(10px);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--neon-green);
}

.contact-item div h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-item div a,
.contact-item div span {
    color: #888;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover div a {
    color: var(--neon-green);
}

.contact-form {
    background: rgba(22, 33, 62, 0.5);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 15px;
    padding: 40px;
}

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

.form-group label {
    display: block;
    color: var(--neon-green);
    font-size: 0.85rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    nav {
        transform: translateX(-100%);
    }
    
    nav.active {
        transform: translateX(0);
    }
    
    .hamburger {
        display: flex;
    }
    
    main {
        margin-left: 0;
    }
    
    .section {
        padding: 40px 20px;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .social-links {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .hero-name {
        font-size: 2rem;
    }
    
    .typing-text {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid,
    .certs-grid,
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .tools-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        position: relative;
        bottom: auto;
        right: auto;
        justify-content: center;
        margin-top: 40px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 65, 0.5); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 65, 0.8); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

.glow-animation {
    animation: glow 2s ease-in-out infinite;
}

/* Glitch Effect */
.glitch {
    position: relative;
}

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

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--neon-pink);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--neon-cyan);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    20% { clip: rect(62px, 9999px, 12px, 0); }
    40% { clip: rect(15px, 9999px, 75px, 0); }
    60% { clip: rect(89px, 9999px, 32px, 0); }
    80% { clip: rect(4px, 9999px, 98px, 0); }
    100% { clip: rect(67px, 9999px, 21px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 89px, 0); }
    20% { clip: rect(23px, 9999px, 56px, 0); }
    40% { clip: rect(91px, 9999px, 3px, 0); }
    60% { clip: rect(45px, 9999px, 78px, 0); }
    80% { clip: rect(12px, 9999px, 45px, 0); }
    100% { clip: rect(78px, 9999px, 34px, 0); }
}

/* Scanline Effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.1)
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.3;
}
