:root {
    /* Cyberpunk Color Palette */
    --primary-cyan: #00f0ff;
    --primary-magenta: #ff006e;
    --primary-yellow: #ffbe0b;
    --accent-purple: #8338ec;
    --accent-green: #00ff88;
    
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: #12121a;
    --bg-elevated: #1a1a26;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #606070;
    
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.5);
    --glow-magenta: 0 0 20px rgba(255, 0, 110, 0.5);
    --glow-yellow: 0 0 20px rgba(255, 190, 11, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Custom Cyberpunk Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
    border-left: 1px solid rgba(0, 240, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-cyan), var(--accent-purple));
    border-radius: 6px;
    border: 2px solid var(--bg-darker);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-magenta), var(--primary-cyan));
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.8);
}

::-webkit-scrollbar-thumb:active {
    background: var(--primary-cyan);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-cyan) var(--bg-darker);
}

/* Scrollbar for modals and specific elements */
.nav-menu::-webkit-scrollbar {
    width: 8px;
}

.nav-menu::-webkit-scrollbar-thumb {
    background: var(--primary-cyan);
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar {
    width: 6px;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 3px;
}

/* Animated Background */
.background-circuit {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(circle at 20% 30%, rgba(131, 56, 236, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 0, 110, 0.08) 0%, transparent 50%);
    animation: pulseBackground 10s ease-in-out infinite;
}

@keyframes pulseBackground {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10,10,15,0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 1001;
}

.logo-bracket {
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
}

.logo-text {
    color: var(--text-primary);
    letter-spacing: 2px;
}

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

.hamburger .line {
    width: 28px;
    height: 3px;
    background: var(--primary-cyan);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

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

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 1px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-magenta));
    transition: width 0.3s ease;
}

.nav-link.active {
    color: var(--primary-cyan);
}

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


.nav-link:hover {
    color: var(--primary-cyan);
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
    transition: transform 0.2s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger:active {
    transform: scale(0.95);
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background: var(--primary-cyan);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: var(--glow-cyan);
    pointer-events: none;
}

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

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

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

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Title */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.title-number {
    color: var(--primary-cyan);
    font-size: 2rem;
    text-shadow: var(--glow-cyan);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glitch-wrapper {
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta), var(--primary-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: glitchTitle 5s infinite;
}

@keyframes glitchTitle {
    0%, 90%, 100% {
        transform: translate(0);
    }
    92% {
        transform: translate(-2px, 2px);
    }
    94% {
        transform: translate(2px, -2px);
    }
    96% {
        transform: translate(-2px, -2px);
    }
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.typing-text {
    font-weight: 600;
}

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

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

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
}

.stat-label {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
    font-weight: 500;
    letter-spacing: 1px;
}


.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple));
    color: var(--bg-dark);
    border: 2px solid transparent;
    box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.7);
}

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

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
}

/* Terminal */
.hero-terminal {
    flex: 1;
    max-width: 500px;
    animation: fadeInRight 1s ease-out 0.3s backwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.terminal-header {
    background: var(--bg-elevated);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

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

.term-btn.red {
    background: #ff5f56;
    box-shadow: 0 0 10px rgba(255, 95, 86, 0.5);
}

.term-btn.yellow {
    background: #ffbd2e;
    box-shadow: 0 0 10px rgba(255, 189, 46, 0.5);
}

.term-btn.green {
    background: #27c93f;
    box-shadow: 0 0 10px rgba(39, 201, 63, 0.5);
}

.terminal-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.terminal-body {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 0 0 10px 10px;
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
}

.terminal-body p {
    margin: 0;
    color: var(--accent-green);
}

.prompt {
    color: var(--primary-magenta);
    margin-right: 0.5rem;
}

.status-active {
    color: var(--accent-green);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.cursor-blink {
    animation: blink 1s infinite;
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1.5;
}

.about-intro {
    font-size: 1.3rem;
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}


.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 240, 255, 0.05);
    padding: 1rem;
    border-left: 3px solid var(--primary-cyan);
    border-radius: 5px;
}

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

.highlight-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    width: 450px;
    height: 450px;
}

.frame-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-cyan);
    box-shadow: var(--glow-cyan);
}

.frame-corner.tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-radius: 10px 0 0 0;
}

.frame-corner.tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    border-radius: 0 10px 0 0;
}

.frame-corner.bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 10px;
}

.frame-corner.br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    border-radius: 0 0 10px 0;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(131, 56, 236, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.profile-icon {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
}

/* Skills Section */
.skills {
    padding: 6rem 0;
    background: rgba(18, 18, 26, 0.5);
}

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

.skill-category {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-category:nth-child(1) { animation-delay: 0.1s; }
.skill-category:nth-child(2) { animation-delay: 0.2s; }
.skill-category:nth-child(3) { animation-delay: 0.3s; }
.skill-category:nth-child(4) { animation-delay: 0.4s; }
.skill-category:nth-child(5) { animation-delay: 0.5s; }
.skill-category:nth-child(6) { animation-delay: 0.6s; }

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
}

.category-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-primary);
}

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

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary-cyan);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(0, 240, 255, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Experience Section */
.experience {
    padding: 6rem 0;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-cyan), var(--primary-magenta));
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
    animation: fadeInLeft 0.6s ease-out backwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-dot {
    position: absolute;
    left: 12px;
    top: 0;
    width: 18px;
    height: 18px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: var(--glow-cyan);
    z-index: 1;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateX(5px);
}

.timeline-date {
    color: var(--primary-magenta);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    text-shadow: 0 0 10px rgba(255, 0, 110, 0.3);
}

.timeline-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-company {
    color: rgba(255,255,255,0.85);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.timeline-points {
    list-style: none;
    padding-left: 0;
}

.timeline-points li {
    color: rgba(255,255,255,0.8);
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.timeline-points li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-weight: bold;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: rgba(18, 18, 26, 0.5);
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: fadeInScale 0.6s ease-out backwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }
.project-card:nth-child(7) { animation-delay: 0.7s; }
.project-card:nth-child(8) { animation-delay: 0.8s; }
.project-card:nth-child(9) { animation-delay: 0.9s; }
.project-card:nth-child(10) { animation-delay: 1.0s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.3);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.project-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.project-description {
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}


.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.tech-badge {
    background: rgba(131, 56, 236, 0.15);
    color: var(--accent-purple);
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(131, 56, 236, 0.3);
}

.project-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 240, 255, 0.2);
}

.feature {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.contact-form-container,
.contact-info-container {
    height: 100%;
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    padding: 2.5rem;
}

.form-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 5px;
    padding: 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    background: rgba(0, 240, 255, 0.08);
}

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

.submit-btn {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.form-status {
    text-align: center;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
}

.form-status.error {
    display: block;
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid var(--primary-magenta);
    color: var(--primary-magenta);
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
    justify-content: space-between;
}


.info-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.info-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    border-color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateX(5px);
}

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

.link-text {
    flex-grow: 1;
}

.link-label {
    color: #ffffff;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-value {
    color: var(--primary-cyan);
    font-size: 1.1rem;
    font-weight: 600;
}

.availability-badge {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--accent-green);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
    }
}

.status-text {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 240, 255, 0.2);
    padding: 3rem 0;
    text-align: center;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--primary-cyan);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
        gap: 3rem;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: stretch;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Show hamburger menu */
    .hamburger {
        display: flex !important;
        order: 3;
    }
    
    .logo {
        order: 1;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    /* Hide menu by default on mobile */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: rgba(18, 18, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        border-left: 2px solid var(--primary-cyan);
        box-shadow: -5px 0 30px rgba(0, 240, 255, 0.2);
        overflow-y: auto;
        z-index: 999;
    }
    
    /* Show menu when active */
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 0.8rem;
        border-bottom: 1px solid rgba(0, 240, 255, 0.1);
        width: 100%;
        display: block;
    }
    
    .nav-link::before {
        bottom: 0;
        height: 100%;
        opacity: 0.1;
    }
    
    /* Better spacing for mobile */
    .hero {
        min-height: auto;
        padding: 6rem 1rem 3rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        justify-content: center;
        text-align: center;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
        text-align: center;
    }
    
    /* Center all section titles */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        justify-content: center;
        text-align: center;
    }
    
    /* Center about section text */
    .about-intro,
    .about-text p {
        text-align: center;
    }
    
    /* Center contact intro */
    .contact-intro {
        text-align: center;
    }
    
    .title-number {
        font-size: 1.5rem;
    }
    
    /* Sections padding */
    .about,
    .skills,
    .experience,
    .projects,
    .contact {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Projects grid */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    /* Skills grid */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    /* Hero stats */
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 1rem);
    }
    
    /* CTA buttons */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Terminal */
    .hero-terminal {
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .terminal-body {
        font-size: 0.85rem;
        padding: 1rem;
    }
    
    /* Contact form mobile */
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .contact-intro {
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    .info-title {
        font-size: 1.5rem;
    }
    
    .availability-badge {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .about-intro {
        font-size: 1.3rem;
        color: rgba(255,255,255,0.95);
        text-shadow: 0 0 6px rgba(0,240,255,0.3);
    }

    
    .about-text p {
        font-size: 1rem;
    }
    
    /* Timeline */
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-dot {
        left: 3px;
        width: 14px;
        height: 14px;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-title {
        font-size: 1.2rem;
    }
    
    .timeline-company {
        font-size: 1.1rem;
    }
    
    /* Contact links */
    .contact-link {
        padding: 1.2rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .link-value {
        font-size: 1rem;
        word-break: break-word;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 1rem;
    }
    
    .footer-text,
    .footer-tagline {
        font-size: 0.9rem;
    }
    
    /* Image frame */
    .image-frame {
        width: 250px;
        height: 250px;
    }
    
    .profile-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .stat-item {
        flex: 0 0 100%;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .timeline-title {
        font-size: 1.1rem;
    }
    
    .image-frame {
        width: 200px;
        height: 200px;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

body.menu-open {
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Fix Chrome autofill white background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px rgba(0, 240, 255, 0.05) inset !important;
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s;
  caret-color: white;
}

/* Extra safety for focused inputs */
.form-group input:focus {
  background: rgba(0, 240, 255, 0.08) !important;
}

.form-status.success {
    position: fixed;
    bottom: 40px;
    right: 40px;
    padding: 18px 28px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow:
        0 0 15px rgba(0,240,255,.4),
        inset 0 0 10px rgba(0,240,255,.2);
    z-index: 9999;
    animation: cyberSlide 0.4s ease, pulseGlow 2s infinite;
}

.form-status.success::before {
    content: '⬢ SYSTEM';
    display: block;
    font-size: 10px;
    opacity: .6;
    margin-bottom: 4px;
}

@keyframes cyberSlide {
    from {
        transform: translateX(60px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0%,100% {
        box-shadow: 0 0 12px rgba(0,240,255,.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(0,240,255,.8);
    }
}
