:root {
    --background-color: #1a1f2c;
    --card-background: #2a2e39;
    --text-color: #e0e0e0;
    --neon-cyan: #00f0ff;
    --neon-pink: #ff2a6d;
    --neon-yellow: #f9f871;
    --section-bg: rgba(42, 46, 57, 0.9);
    --border-color: #3a3f4c;
    --terminal-green: #05d9e8;
    --terminal-header: #1a1f2c;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Digital rain effect */
.digital-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.15;
}

/* Resume container */
.resume-container {
    max-width: 1300px;
    margin: 20px auto;
    background-color: rgba(26, 31, 44, 0.8);
    border: 1px solid var(--border-color);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* Timestamp */
.timestamp {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 12px;
    color: var(--neon-cyan);
    font-family: 'Courier New', monospace;
    opacity: 0.8;
}

/* Header styles */
.resume-header {
    padding: 20px;
    border-bottom: 1px solid var(--neon-pink);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.developer-name {
    font-size: 48px;
    font-weight: bold;
    color: var(--neon-cyan);
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.7);
}

.developer-title {
    font-size: 18px;
    color: var(--neon-yellow);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.replicant-id {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 14px;
    color: var(--neon-cyan);
    font-family: 'Courier New', monospace;
}

/* Contact info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 5px var(--neon-pink);
}

.contact-item i {
    color: var(--neon-pink);
    width: 20px;
    text-align: center;
}

/* Main content */
.resume-content {
    display: flex;
    gap: 20px;
    padding: 20px 0;
}

.left-column {
    flex: 1;
    width: 35%;
}

.right-column {
    width: 65%; /* Increase width of right column */
}

/* Section styles */
.resume-section {
    margin-bottom: 30px;
    background-color: var(--section-bg);
    border: 1px solid var(--border-color);
    padding: 15px;
    position: relative;
}

.section-title {
    font-size: 18px;
    color: var(--neon-cyan);
    margin-bottom: 15px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
    position: relative;
    padding-left: 25px;
}

.section-title::before {
    content: "// ";
    color: var(--neon-pink);
    position: absolute;
    left: 0;
}

/* Profile section */
.profile-section {
    position: relative;
    overflow: hidden;
}

.profile-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.profile-image {
    border: 2px solid var(--neon-cyan);
    width: 150px;
    height: 180px;
    margin: 0 auto 20px;
    display: block;
    object-fit: cover;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.8);
}

.profile-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 65%, rgba(0, 240, 255, 0.3) 100%);
    z-index: 1;
}

.profile-text {
    font-size: 15px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    padding: 10px;
    background-color: rgba(26, 31, 44, 0.5);
    border-left: 3px solid var(--neon-cyan);
    margin-left: 5px;
}

.profile-text p {
    margin-bottom: 12px;
}

.section-title.profile-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.section-title.profile-title::before {
    content: "// // ";
    color: var(--neon-pink);
}

.profile-title .title-text {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.profile-title .title-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--neon-cyan), var(--neon-pink));
}

/* Skills section */
.skills-category {
    margin-bottom: 15px;
}

.skills-category-title {
    color: var(--neon-yellow);
    font-size: 16px;
    margin-bottom: 10px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.skill-item {
    background-color: rgba(42, 46, 57, 0.8);
    border: 1px solid var(--border-color);
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 3px;
    transition: all 0.3s;
}

.skill-item:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 5px var(--neon-cyan);
}

/* Key skills with progress bars */
.key-skill {
    margin-bottom: 10px;
}

.key-skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.key-skill-label {
    font-size: 14px;
}

.key-skill-percentage {
    color: var(--neon-yellow);
    font-size: 14px;
}

.skill-bar {
    height: 6px;
    background-color: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background-color: var(--neon-cyan);
    border-radius: 3px;
    transition: width 1s ease-in-out;
}

/* Add timeline styling */
.timeline-item {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(0, 255, 255, 0.3);
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background-color: #00ffff;
    border-radius: 50%;
}

.experience-title {
    font-size: 18px;
    color: var(--neon-cyan);
    margin-bottom: 5px;
}

.experience-company {
    font-size: 16px;
    color: var(--neon-yellow);
    margin-bottom: 5px;
}

.experience-date {
    font-size: 14px;
    color: var(--neon-pink);
    margin-bottom: 5px;
}

.job-location {
    font-size: 14px;
    margin-bottom: 10px;
}

.experience-description {
    font-size: 14px;
}

.experience-description ul {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.experience-description li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    list-style-type: none;
}

.experience-description li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ff00ff; /* Magenta arrow */
    font-weight: bold;
}

/* Projects section */
.project-item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid var(--border-color);
    background-color: rgba(42, 46, 57, 0.5);
    transition: all 0.3s;
}

.project-item:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.project-name {
    font-size: 18px;
    color: var(--neon-cyan);
    margin-bottom: 10px;
}

.project-description {
    font-size: 14px;
    margin-bottom: 10px;
}

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

.project-link {
    color: var(--neon-pink);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

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

/* Education section */
.education-item {
    margin-bottom: 20px;
}

.education-degree {
    font-size: 16px;
    color: var(--neon-cyan);
    margin-bottom: 5px;
}

.education-institution {
    font-size: 15px;
    color: var(--neon-yellow);
    margin-bottom: 5px;
}

.education-date {
    font-size: 14px;
    color: var(--neon-pink);
    margin-bottom: 5px;
}

.education-description {
    font-size: 14px;
}

/* Footer */
.resume-footer {
    padding: 15px;
    border-top: 1px solid var(--neon-pink);
    text-align: center;
    font-size: 12px;
    color: var(--text-color);
}

/* Scan line effect */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--neon-cyan), transparent);
    opacity: 0.7;
    z-index: 10;
    pointer-events: none;
}

/* Animations */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes scanline {
    0% { top: 0; }
    100% { top: 100%; }
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-5px, 5px); }
    40% { transform: translate(-5px, -5px); }
    60% { transform: translate(5px, 5px); }
    80% { transform: translate(5px, -5px); }
    100% { transform: translate(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* Typing cursor animation */
.typing-cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
}

/* Terminal-style output */
.terminal-output {
    background-color: var(--terminal-header);
    border: 1px solid var(--border-color);
    padding: 10px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--terminal-green);
    margin-bottom: 20px;
    position: relative;
}

.terminal-output::before {
    content: "NEXUS > TERMINAL";
    position: absolute;
    top: -25px;
    left: 0;
    background-color: var(--terminal-header);
    padding: 5px 10px;
    font-size: 12px;
    border: 1px solid var(--border-color);
    border-bottom: none;
}

/* Technologies list */
.technologies {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(224, 224, 224, 0.7);
}

/* Responsive design */
@media (max-width: 1200px) {
    .resume-container {
        max-width: 95%;
    }
}

@media (max-width: 900px) {
    .resume-content {
        flex-direction: column;
    }

    .left-column, .right-column {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .resume-header {
        flex-direction: column;
    }

    .developer-name {
        font-size: 36px;
    }

    .contact-info {
        margin-top: 30px;
    }

    .replicant-id {
        position: static;
        margin-bottom: 15px;
    }
}

/* Additional cyberpunk elements */
.cyberpunk-border {
    position: relative;
}

.cyberpunk-border::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-pink));
    z-index: -1;
    opacity: 0.7;
}

/* Glitch effect on hover */
.glitch-hover:hover {
    animation: glitch 0.3s linear;
}

/* Pulse effect for important elements */
.pulse-effect {
    animation: pulse 2s infinite;
}

/* Command line prefix for list items */
.command-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.command-list li::before {
    content: "$ ";
    color: var(--neon-pink);
    position: absolute;
    left: 0;
}

/* Blinking elements */
.blink {
    animation: blink 1.5s step-end infinite;
}

/* Holographic effect for images */
.holographic {
    position: relative;
    overflow: hidden;
}

.holographic::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: holographic 3s infinite;
}

@keyframes holographic {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Neon text effect */
.neon-text {
    text-shadow:
            0 0 5px var(--neon-cyan),
            0 0 10px var(--neon-cyan),
            0 0 20px var(--neon-cyan);
}

/* Cyberpunk button */
.cyber-button {
    background-color: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    padding: 8px 15px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.cyber-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            to right,
            transparent,
            rgba(0, 240, 255, 0.2),
            transparent
    );
    transition: all 0.5s;
}

.cyber-button:hover {
    background-color: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.cyber-button:hover::before {
    left: 100%;
}

/* Improved experience list items */
.experience-description li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.experience-description li::before {
    content: ">";
    color: var(--neon-pink);
    position: absolute;
    left: 0;
}

/* Terminal-style command output */
.command-output {
    font-family: 'Courier New', monospace;
    background-color: rgba(26, 31, 44, 0.8);
    border: 1px solid var(--border-color);
    padding: 10px;
    margin: 10px 0;
    color: var(--terminal-green);
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.command-output::before {
    content: "$ ";
    color: var(--neon-pink);
}

/* Improved section headers with tech-style decoration */
.tech-header {
    position: relative;
    padding-left: 15px;
    margin-bottom: 20px;
}

.tech-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-pink));
}

/* Cyberpunk grid background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            linear-gradient(rgba(26, 31, 44, 0.8) 1px, transparent 1px),
            linear-gradient(90deg, rgba(26, 31, 44, 0.8) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -2;
    opacity: 0.2;
}

/* Improved skill bars with neon glow */
.skill-bar-fill {
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* Improved contact links with icons */
.contact-icon {
    color: var(--neon-pink);
    margin-right: 8px;
    font-size: 16px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .scan-line, .digital-rain {
        display: none;
    }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #121620;
        --card-background: #1a1f2c;
        --border-color: #2a2e39;
    }
}

/* Enhanced Languages Section */
/* Enhanced Languages Section - Toned down version */
.languages-section {
    position: relative;
    background-color: rgba(26, 31, 44, 0.9);
    border: 1px solid var(--border-color);
    padding: 15px;
}

.section-title.languages-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: none;
    color: var(--neon-cyan);
}

.section-title.languages-title::before {
    content: "// // ";
    color: var(--neon-pink);
}

.languages-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.language-item {
    background-color: rgba(26, 31, 44, 0.7);
    border-left: 2px solid var(--neon-pink);
    padding: 12px 15px;
    position: relative;
}

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

.language-name {
    font-size: 16px;
    color: var(--neon-cyan);
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.language-level-indicator {
    display: flex;
    gap: 4px;
}

.level-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 42, 109, 0.5);
}

.level-dot.active {
    background-color: var(--neon-pink);
    box-shadow: 0 0 4px rgba(255, 42, 109, 0.7);
}

.language-level {
    font-size: 14px;
    color: var(--neon-yellow);
    margin-bottom: 8px;
    font-style: italic;
    opacity: 0.8;
}

.language-bar {
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.language-bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--neon-cyan), var(--neon-pink));
    border-radius: 1px;
}

/* Add a subtle corner triangle */
.language-item::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 0;
    border-color: transparent var(--neon-cyan) transparent transparent;
    opacity: 0.4;
}

/* Neon flicker effect for developer name */
@keyframes neonFlicker {
    0% { text-shadow: 0 0 5px var(--neon-cyan), 0 0 8px rgba(0, 240, 255, 0.5); }
    25% { text-shadow: 0 0 6px var(--neon-cyan), 0 0 9px rgba(0, 240, 255, 0.4); }
    50% { text-shadow: 0 0 4px var(--neon-cyan), 0 0 7px rgba(0, 240, 255, 0.3); }
    75% { text-shadow: 0 0 6px #0affe1, 0 0 9px rgba(10, 255, 225, 0.4); }
    100% { text-shadow: 0 0 5px var(--neon-cyan), 0 0 8px rgba(0, 240, 255, 0.5); }
}

.developer-name {
    font-size: 48px;
    font-weight: bold;
    color: var(--neon-cyan);
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.7);
    animation: neonFlicker 12s ease-in-out infinite;
}