:root {
    /* Color Palette */
    --bg-primary: #020617;
    --bg-secondary: #0F172A;
    --accent-primary: #8B5CF6; /* Purple/Violet Accent */
    --accent-glow: rgba(139, 92, 246, 0.3);
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --neutral-border: #1E293B;
    --amber-accent: #F59E0B;
    --success-green: #10B981;

    /* Fonts */
    --font-heading: 'Orbitron', sans-serif;
    --font-subheading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-code: 'Roboto Mono', monospace;

    /* Spacing */
    --section-padding: 6rem 2rem;
    --container-max-width: 1400px; /* Wider for new nav */

    /* Shadows & Effects */
    --glow-shadow: 0 0 20px var(--accent-glow);
    --glass-bg: rgba(2, 6, 23, 0.8);
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation Overhaul */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    padding: 1rem 0;
}

.nav-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 0 5px var(--accent-glow));
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 2.5rem;
    font-family: var(--font-code);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.nav-link {
    color: #FFFFFF;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 1px;
}

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

.nav-link .plus-sign {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-left: 0.25rem;
}

/* Active Nav State - Purple Bar */
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-primary);
}

/* Resume Button - Purple Pill */
.resume-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.8rem;
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%);
    color: #FFFFFF;
    font-family: var(--font-code);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-speed);
}

.resume-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
}

.download-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-left: 3px solid var(--accent-primary);
    color: var(--accent-primary);
    font-family: var(--font-code);
    font-size: 0.8rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.outline-text {
    -webkit-text-stroke: 1px var(--text-primary);
    color: transparent;
}

.accent-text {
    color: var(--accent-primary);
    text-shadow: var(--glow-shadow);
}

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

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

/* Profile Image Styling */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 2;
}

/* Social Row Styling */
.hero-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.resume-pill {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 2.8rem;
    background: #8B5CF6; /* Vibrant Electric Purple */
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 100px;
    box-shadow: 0 4px 25px rgba(139, 92, 246, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.resume-pill:hover {
    background: #7C3AED;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 35px rgba(139, 92, 246, 0.6);
}

.arrow-icon {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-width: 3;
    fill: none;
    transition: transform 0.3s ease;
}

.resume-pill:hover .arrow-icon {
    transform: translate(3px, -3px);
}

.social-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1.5px solid rgba(139, 92, 246, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.6);
    color: #8B5CF6;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
}

.social-circle svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.social-circle:hover {
    background: #8B5CF6;
    color: #FFFFFF;
    border-color: #8B5CF6;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    transform: translateY(-8px) scale(1.08);
}

.social-circle:hover svg {
    transform: scale(1.1);
}

.profile-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.5) contrast(1.1);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.frame-decor {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-primary);
}

.frame-decor.top-left {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.frame-decor.bottom-right {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-primary);
    animation: scan 4s linear infinite;
    pointer-events: none;
}

.btn {
    padding: 1rem 2rem;
    font-family: var(--font-code);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-speed);
    display: inline-block;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

/* Background Visuals */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--neutral-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--neutral-border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
}

.circuit-lines {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(50px);
}

/* Common Section Styles */
.section {
    padding: var(--section-padding);
}

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

.section-number {
    font-family: var(--font-code);
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    letter-spacing: 2px;
}

/* Stats Bar Section */
.stats-bar-section {
    padding-bottom: 4rem;
    margin-top: -2rem; /* Slight overlap for better flow */
    position: relative;
    z-index: 5;
}

.stats-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 30px;
    padding: 3rem 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    backdrop-filter: blur(10px);
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    margin-bottom: 0.5rem;
}

.stat-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--accent-primary);
    filter: drop-shadow(0 0 5px var(--accent-glow));
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

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

/* My Skills Section (Landing Page) */
.skills-section {
    padding-top: 4rem;
    padding-bottom: 8rem;
}

.skills-header {
    text-align: center;
    margin-bottom: 5rem;
}

.skills-main-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.skills-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.skills-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.skill-category-card {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.skill-category-card:hover {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.05);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
    transform: translateY(-5px);
}

.skill-category-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.skill-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.skill-items li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.skill-items li::before {
    content: "•";
    color: var(--accent-primary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

@media (max-width: 1024px) {
    .skills-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .skills-full-grid {
        grid-template-columns: 1fr;
    }
}

/* Professional Certifications Section (Landing Page) */
.certifications-section {
    padding-top: 4rem;
    padding-bottom: 8rem;
}

.certs-header {
    margin-bottom: 5rem;
}

.certs-main-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.certs-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.cert-card {
    transition: all 0.4s ease;
}

.cert-card:hover {
    transform: translateY(-10px);
}

.cert-image {
    width: 100%;
    aspect-ratio: 1.4;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.1);
    background: rgba(15, 23, 42, 0.4);
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.cert-card:hover .cert-image img {
    opacity: 1;
}

.cert-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.cert-info p {
    color: var(--accent-primary);
    font-family: var(--font-code);
    font-size: 0.85rem;
    font-weight: 600;
}

.certs-footer {
    display: flex;
    justify-content: center;
}

.btn-all-certs {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    background: var(--accent-primary);
    color: #FFFFFF;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

.btn-all-certs:hover {
    background: #7C3AED;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .certs-grid {
        grid-template-columns: 1fr;
    }
}

/* About Me Card Section (Landing Page) */
.about-card-section {
    padding-bottom: 6rem;
}

.about-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 40px;
    padding: 5rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-primary);
    opacity: 0.5;
}

.about-card-title {
    font-family: var(--font-heading);
    color: var(--accent-primary);
    font-size: 3.5rem;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.about-card-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 1000px;
}

.about-card-footer {
    margin-top: 4rem;
}

.btn-more-about {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: var(--accent-primary);
    color: #FFFFFF;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-more-about:hover {
    background: #7C3AED;
    transform: translateX(10px);
    box-shadow: 0 0 25px var(--accent-glow);
}

.more-arrow {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

/* Scroll Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-top-btn.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--accent-primary);
    color: #FFFFFF;
    box-shadow: 0 0 20px var(--accent-glow);
}

.scroll-top-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

/* About Section (Original Page) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-text p.highlight-p {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-family: var(--font-subheading);
}

.key-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-border);
}

.metric-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-primary);
}

.metric-label {
    font-family: var(--font-code);
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

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

.tech-frame {
    width: 100%;
    max-width: 400px;
    height: 400px;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-primary);
}

.top-left { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.top-right { top: -2px; right: -2px; border-left: 0; border-bottom: 0; }
.bottom-left { bottom: -2px; left: -2px; border-right: 0; border-top: 0; }
.bottom-right { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

.frame-label {
    position: absolute;
    top: -10px;
    left: 30px;
    background: var(--bg-primary);
    padding: 0 10px;
    font-family: var(--font-code);
    font-size: 0.7rem;
    color: var(--accent-primary);
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.scanner-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-primary);
    animation: scan 4s linear infinite;
}

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

/* Skills Section */
.grayscale-bg {
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.skill-category {
    padding: 2rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--neutral-border);
    transition: var(--transition-speed);
}

.skill-category:hover, .skill-category.active {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.05);
    transform: translateY(-5px);
}

.skill-category h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-icon {
    color: var(--accent-primary);
    font-size: 1rem;
}

.skill-list li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-family: var(--font-code);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-list li::before {
    content: ">>";
    color: var(--accent-primary);
    font-size: 0.7rem;
}

.telemetry-bar {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed var(--neutral-border);
}

.telemetry-item {
    font-family: var(--font-code);
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.progress-bar {
    height: 4px;
    background: var(--neutral-border);
    margin-top: 0.5rem;
    position: relative;
}

.progress-bar .fill {
    height: 100%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

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

.project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--neutral-border);
    overflow: hidden;
    transition: var(--transition-speed);
}

.project-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-10px);
    box-shadow: 0 10px 40px -20px rgba(139, 92, 246, 0.2);
}

.project-image {
    height: 200px;
    background: #000;
    position: relative;
    overflow: hidden;
}

.project-schematic {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--accent-primary) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.project-schematic.alt {
    background-image: linear-gradient(var(--accent-primary) 1px, transparent 1px), linear-gradient(90deg, var(--accent-primary) 1px, transparent 1px);
    background-size: 30px 30px;
}

.project-schematic.dots {
    background-image: 
        radial-gradient(circle, var(--accent-primary) 1px, transparent 1px),
        radial-gradient(circle, var(--accent-primary) 1px, transparent 1px);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.9));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    z-index: 2;
}

.project-tag {
    font-family: var(--font-code);
    font-size: 0.7rem;
    color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.1);
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--accent-primary);
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.project-tech span {
    font-family: var(--font-code);
    font-size: 0.7rem;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
}

.project-link {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-weight: 500;
}

/* Experience Section */
.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.experience-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--neutral-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-dot {
    position: absolute;
    left: -2.4rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--bg-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    z-index: 2;
}

.timeline-date {
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.timeline-content .company {
    color: var(--text-primary);
    font-family: var(--font-subheading);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.timeline-content p {
    color: var(--text-secondary);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-text {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

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

.contact-coords li {
    font-family: var(--font-code);
    font-size: 1rem;
}

.contact-coords li span {
    color: var(--accent-primary);
    display: block;
    font-size: 0.7rem;
    margin-bottom: 0.25rem;
}

.contact-form-container {
    background: var(--bg-secondary);
    padding: 3rem;
    border: 1px solid var(--neutral-border);
}

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

.form-group label {
    display: block;
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--neutral-border);
    padding: 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: var(--transition-speed);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Reveal Animation Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Boot Overlay */
.boot-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-out, visibility 1s;
}

.boot-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.boot-content {
    width: 300px;
}

.boot-text {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.boot-progress {
    height: 2px;
    background: var(--neutral-border);
    width: 100%;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.boot-fill {
    height: 100%;
    background: var(--accent-primary);
    width: 0%;
    animation: bootLoad 2s ease-in-out forwards;
}

@keyframes bootLoad {
    0% { width: 0%; }
    20% { width: 10%; }
    50% { width: 40%; }
    70% { width: 90%; }
    100% { width: 100%; }
}

.boot-logs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.log-line {
    font-family: var(--font-code);
    font-size: 0.6rem;
    color: var(--text-secondary);
    opacity: 0;
}

.log-line:nth-child(1) { animation: logFade 0.5s forwards 0.3s; }
.log-line:nth-child(2) { animation: logFade 0.5s forwards 0.8s; }
.log-line:nth-child(3) { animation: logFade 0.5s forwards 1.3s; }
.log-line:nth-child(4) { animation: logFade 0.5s forwards 1.8s; color: var(--success-green); }

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

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

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-primary);
}

/* Mobile Navigation Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-speed);
}

.menu-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .container { padding: 0 2rem; }
    .hero-title { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 1.5rem;
    }

    body.menu-open {
        overflow: hidden;
    }

    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section-header {
        justify-content: center;
    }

    .nav-content {
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .logo {
        order: 1;
    }

    .resume-btn {
        order: 2;
        margin-left: auto;
        padding: 0.5rem 1.2rem;
        font-size: 0.7rem;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        gap: 2.5rem;
        visibility: hidden;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .system-status {
        display: none;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .hero-visual {
        width: 100%;
        align-items: center;
    }

    .profile-frame {
        margin: 0 auto;
    }

    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }


    .btn {
        width: 100%;
        text-align: center;
    }

    .about-grid, .skills-grid, .contact-grid, .highlights-grid, .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual, .hero-visual {
        order: -1;
    }

    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stats-card {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .about-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .about-card-title {
        font-size: 2.5rem;
    }

    .about-card-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn-more-about, .btn-all-certs {
        width: 100%;
        justify-content: center;
    }

    .skills-main-title, .certs-main-title {
        font-size: 2.5rem;
    }

    .telemetry-bar {
        grid-template-columns: 1fr;
        margin-top: 3rem;
    }

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

    .highlight-p {
        font-size: 1.2rem;
    }


    .contact-form-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 430px) {
    .skills-main-title, .certs-main-title, .about-card-title, .section-title {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .skill-category-card, .cert-card, .metric-item, .stat-item {
        margin: 0 auto;
        width: 100%;
        max-width: 400px;
    }

    .key-metrics, .stats-card, .certs-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-card {
        padding: 1.5rem;
    }

    .container {
        padding: 0 1.5rem;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-grid, .stats-card, .certs-grid, .about-grid, .skills-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    .key-metrics {
        gap: 1.5rem;
        text-align: center;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .project-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

.footer-copy {
    font-family: var(--font-code);
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: var(--transition-speed);
}

.social-links a:hover {
    color: var(--accent-primary);
    text-shadow: var(--glow-shadow);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
