:root {
    --bg-color: #050505;
    --card-bg: #0a0a0a;
    --primary-color: #00ff41;
    /* Matrix Green */
    --secondary-color: #008f11;
    /* Darker Green */
    --accent-color: #003b00;
    /* Deep Green */
    --text-color: #e0e0e0;
    --muted-color: #888888;
    --font-mono: 'JetBrains Mono', monospace;
    --font-display: 'Share Tech Mono', monospace;
    --glitch-offset: 2px;
}

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Typography */
h1,
h2,
h3,
.logo,
.nav-link {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Navbar */
/* Navbar - Floating Command Bar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1800px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 0 0 5px var(--primary-color);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    position: relative;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
}

/* Cyber Bracket Hover Effect */
.nav-link::before,
.nav-link::after {
    position: absolute;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-weight: bold;
}

.nav-link::before {
    content: '[';
    left: -15px;
    transform: translateX(10px);
}

.nav-link::after {
    content: ']';
    right: -15px;
    transform: translateX(-10px);
}

.nav-link:hover::before,
.nav-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--primary-color);
}

/* Global Theme Effects */
/* Removed CRT scanlines for a cleaner look */

/* Background Grid */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
    /* Increased opacity slightly for visibility */
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

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

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1600px;
    /* Widened layout */
    width: 95%;
    /* Use more screen width */
    padding: 2rem;
    z-index: 10;
    align-items: center;
}

/* Left Column: Text */
.hero-text {
    text-align: left;
}

.glitch {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.typing-container {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.bio-text {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 1rem;
    max-width: 500px;
    border-left: 2px solid var(--primary-color);
    padding-left: 1rem;
}

.hero-text .social-links {
    justify-content: flex-start;
}

.hero-text .cta-buttons {
    text-align: left;
}

.hero-text .btn {
    margin-left: 0;
    margin-right: 1rem;
}

/* Right Column: Profile/Terminal */
.hero-visuals {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    /* Center the profile card */
    justify-content: center;
}

/* Professional Split Layout - Wide Centered */
.hero-container.professional-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5%;
    width: 95%;
    max-width: 1800px;
    min-height: 100vh;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

/* Sections - Wide Centered (Tighter Spacing) */
.section {
    padding: 4rem 0;
    width: 95%;
    max-width: 1800px;
    margin: 0 auto;
    /* Removed min-height to reduce empty space */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align to top, not center */
}

/* Background Overlay */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

/* Left Column: Intro */
.hero-intro {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pro-name {
    font-family: var(--font-display);
    font-size: 4.5rem;
    color: var(--text-color);
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.pro-role {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: normal;
    margin: 0;
    letter-spacing: 1px;
}

.pro-bio {
    font-size: 1.1rem;
    color: var(--muted-color);
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
}

/* Stats Strip */
.pro-stats-container {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pro-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-color);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--muted-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

.pro-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.pro-skill-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.pro-skill-tag:hover {
    border-color: var(--primary-color);
    background: rgba(0, 255, 65, 0.1);
    color: var(--primary-color);
}

.pro-actions {
    margin-top: 1rem;
    justify-content: flex-start;
}

.pro-socials {
    justify-content: flex-start;
    margin-top: 1rem;
}

/* Right Column: Image */
.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-backdrop {
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(0, 255, 65, 0.2);
    transform: rotate(5deg);
    z-index: 0;
    border-radius: 20px;
}

.pro-image-wrapper {
    width: 350px;
    height: 350px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    z-index: 1;
    background: #000;
}

.pro-image-wrapper:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.pro-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 968px) {
    .hero-container.professional-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-intro {
        align-items: center;
    }

    .pro-bio {
        margin: 0 auto;
    }

    .pro-stats-container {
        justify-content: center;
        width: 100%;
    }

    .pro-stat {
        align-items: center;
    }

    .pro-actions,
    .pro-socials {
        justify-content: center;
    }

    .hero-image-container {
        margin-top: 2rem;
    }

    .pro-image-wrapper {
        width: 280px;
        height: 280px;
    }

    .image-backdrop {
        width: 300px;
        height: 300px;
    }

    .pro-name {
        font-size: 3.5rem;
    }
}

/* System Log */
.system-log {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--accent-color);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    height: 200px;
    overflow-y: hidden;
    position: relative;
}

.log-header {
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--muted-color);
    display: flex;
    justify-content: space-between;
}

.log-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.log-line {
    color: var(--primary-color);
    opacity: 0.8;
}

.log-line.warning {
    color: #ffbd2e;
}

.log-line.error {
    color: #ff5f56;
}

/* Mobile Responsive Adjustments */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        order: 1;
    }

    .typing-container,
    .hero-text .social-links,
    .hero-text .cta-buttons {
        justify-content: center;
    }

    .bio-text {
        margin: 0 auto 2rem auto;
        border-left: none;
        border-top: 2px solid var(--primary-color);
        padding-top: 1rem;
        padding-left: 0;
    }

    .hero-visuals {
        order: 2;
    }

    .system-status {
        display: none;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        padding-left: 2rem;
    }

    .timeline-dot {
        left: -6px;
    }
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }

    14% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }

    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    100% {
        text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
}

/* Scanner Animation for Profile Card */
.profile-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    animation: scan 3s linear infinite;
    opacity: 0.5;
    pointer-events: none;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Horizontal Experience Timeline */
.timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 4rem 0 2rem 0;
    display: flex;
    justify-content: space-between;
    /* Distribute items */
    gap: 2rem;
    width: 100%;
}

/* Scrollbar styles removed */

.timeline::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    z-index: 0;
}

.timeline-item {
    position: relative;
    flex: 1;
    /* Grow to fit container */
    padding-top: 3rem;
    margin-bottom: 0;
    min-width: 0;
    /* Allow shrinking if needed */
}

/* Remove alternating logic */
.timeline-item:nth-child(odd),
.timeline-item:nth-child(even) {
    left: auto;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 42px;
    /* Center on the line (50px top - 8px half height) */
    left: 20px;
    /* Fixed left position relative to item */
    width: 16px;
    height: 16px;
    background: var(--bg-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Adjust dot position for all items */
.timeline-item:nth-child(odd) .timeline-dot,
.timeline-item:nth-child(even) .timeline-dot {
    left: 20px;
    right: auto;
}

.timeline-item:hover .timeline-dot {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--accent-color);
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    /* Equal height cards */
    display: flex;
    flex-direction: column;
}

.timeline-content:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.1);
    transform: translateY(-5px);
}

.timeline-content .date {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.timeline-content h3 {
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.timeline-content .company {
    color: var(--muted-color);
    margin-bottom: 1rem;
    font-style: italic;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline {
        padding-bottom: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .timeline::before {
        display: none;
        /* Hide horizontal line on mobile if stacking */
    }

    .timeline-item {
        min-width: 100%;
    }
}

/* Vertical Mission History Timeline */
.timeline-vertical {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-vertical::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--accent-color);
}

.timeline-item-vertical {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
    padding: 0 2rem;
}

.timeline-item-vertical:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item-vertical:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot-vertical {
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--bg-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item-vertical:nth-child(odd) .timeline-dot-vertical {
    right: -8px;
}

.timeline-item-vertical:nth-child(even) .timeline-dot-vertical {
    left: -8px;
}

.timeline-content-vertical {
    background: var(--card-bg);
    border: 1px solid var(--accent-color);
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content-vertical:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.1);
    transform: scale(1.02);
}

.timeline-content-vertical .date {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.timeline-content-vertical h3 {
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.timeline-content-vertical .company {
    color: var(--muted-color);
    margin-bottom: 1rem;
    font-style: italic;
}

/* Responsive Vertical Timeline */
@media (max-width: 768px) {
    .timeline-vertical::before {
        left: 20px;
    }

    .timeline-item-vertical {
        width: 100%;
        left: 0;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item-vertical:nth-child(odd) {
        text-align: left;
    }

    .timeline-item-vertical:nth-child(odd) .timeline-dot-vertical,
    .timeline-item-vertical:nth-child(even) .timeline-dot-vertical {
        left: 12px;
        right: auto;
    }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* Education Section */
/* Education Section - Horizontal Timeline Style */
.education-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    padding: 4rem 0 2rem 0;
    width: 100%;
}

.education-grid::before {
    content: "";
    position: absolute;
    top: 50px;
    /* Align with dots */
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    z-index: 0;
}

.edu-card {
    background: var(--card-bg);
    border: 1px solid var(--accent-color);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    /* Allow dot to show */
    flex: 1;
    margin-top: 3rem;
}

/* Timeline Dot for Education Cards - REMOVED per user request */
/* .edu-card::after {
    content: "";
    position: absolute;
    top: -30px;
    left: 20px;
    width: 16px;
    height: 16px;
    background: var(--bg-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.edu-card:hover::after {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
} */

.edu-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.1);
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.edu-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.institution {
    color: var(--muted-color);
    font-style: italic;
    margin-bottom: 1rem;
}

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

.cert-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--accent-color);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cert-card:hover {
    border-color: var(--primary-color);
    background: rgba(0, 255, 65, 0.05);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.15);
    transform: scale(1.05);
}

.cert-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
    transform: scale(1.5);
}

.cert-card h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cert-card p {
    color: var(--muted-color);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.cert-id {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--secondary-color);
    border: 1px solid var(--accent-color);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}



/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    margin: 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.btn.primary {
    background: var(--primary-color);
    color: var(--bg-color);
    font-weight: bold;
}

.btn.primary:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

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

.btn.secondary:hover {
    background: rgba(0, 255, 65, 0.1);
    box-shadow: 0 0 15px var(--primary-color);
}

/* Sections */
/* Sections - Wide Centered (Tighter Spacing) */
.section {
    padding: 4rem 0;
    width: 95%;
    max-width: 1800px;
    margin: 0 auto;
    /* Removed min-height to reduce empty space */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align to top, not center */
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

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

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

/* About - Terminal */
.terminal-window {
    background: var(--card-bg);
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.terminal-header {
    background: #1a1a1a;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--accent-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.title {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
    color: var(--muted-color);
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
}

.prompt {
    color: var(--primary-color);
}

.output {
    color: var(--text-color);
    margin-bottom: 1rem;
    margin-left: 1rem;
}

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

.skill-card {
    background: var(--card-bg);
    border: 1px solid var(--accent-color);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
    border-color: var(--primary-color);
}

.skill-card i {
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.progress-bar {
    background: #1a1a1a;
    height: 6px;
    width: 100%;
    margin-top: 1rem;
    border-radius: 3px;
    overflow: hidden;
}

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

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

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--accent-color);
    padding: 2rem;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.card-actions a {
    margin-left: 1rem;
    color: var(--muted-color);
}

.card-actions a:hover {
    color: var(--primary-color);
}

.tech-list {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--muted-color);
}

/* Contact Section Refactor */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-socials {
    margin-top: 0;
    /* Removed top margin */
    text-align: center;
    border-top: none;
    /* Removed border */
    padding-top: 0;
}

.contact-socials .social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.social-btn i {
    width: 20px;
    height: 20px;
}

.social-btn.primary {
    background: var(--text-color);
    /* Using white/light gray for high contrast like reference */
    color: #000;
    border: 1px solid var(--text-color);
}

.social-btn.primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

.social-btn.secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--accent-color);
    /* Darker border initially */
    background: rgba(10, 10, 10, 0.5);
}

.social-btn.secondary:hover {
    border-color: var(--primary-color);
    background: rgba(0, 255, 65, 0.1);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #050505;
    border-top: 1px solid var(--accent-color);
    color: var(--muted-color);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        padding: 2rem;
        border-bottom: 1px solid var(--primary-color);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

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