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

body {
    font-family: 'Ubuntu', sans-serif;
    line-height: 1.6;
    color: #00ff00;
    background: #000;
    overflow-x: hidden;
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 0, 0.03) 2px,
            rgba(0, 255, 0, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 0, 0.03) 2px,
            rgba(0, 255, 0, 0.03) 4px
        );
    z-index: -2;
}

.matrix-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 0, 0.05) 0%, transparent 70%);
}

@keyframes matrixPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.terminal-cursor {
    display: none;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #001100, #002200);
    border-bottom: 2px solid #00ff00;
    padding: 40px 0;
    position: relative;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 30px;
}

.avatar-container {
    position: relative;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    filter: grayscale(20%) contrast(1.2);
}

.status-online {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #00ff00;
    border-radius: 50%;
    border: 2px solid #000;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.typewriter {
    font-family: 'Fira Code', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    overflow: hidden;
    border-right: 3px solid #00ff00;
    white-space: nowrap;
    animation: typing 3s steps(25, end), blink-caret 0.75s step-end infinite, hide-caret 0s 3.5s forwards;
}

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

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #00ff00; }
}

@keyframes hide-caret {
    to { border-right-color: transparent; }
}

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

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #00ff00; }
}

.title {
    font-size: 1.3rem;
    color: #00cc00;
    margin: 10px 0;
    font-weight: 500;
}

.subtitle {
    color: #888;
    font-size: 1.1rem;
    font-family: 'Fira Code', monospace;
}

.location {
    color: #666;
    margin-top: 5px;
}

main {
    padding: 40px 0;
}

section {
    background: rgba(0, 20, 0, 0.8);
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.section-title {
    font-family: 'Fira Code', monospace;
    color: #00ff00;
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    border-bottom: 2px solid rgba(0, 255, 0, 0.3);
    padding-bottom: 10px;
}

.terminal-window {
    background: #000;
    border: 2px solid #00ff00;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
}

.terminal-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #333;
    border-bottom: 1px solid #00ff00;
}

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

.terminal-button.red { background: #ff5f56; }
.terminal-button.yellow { background: #ffbd2e; }
.terminal-button.green { background: #27ca3f; }

.terminal-title {
    color: #00ff00;
    font-family: 'Fira Code', monospace;
    margin-left: 10px;
    font-weight: 500;
}

.terminal-body {
    padding: 20px;
    font-family: 'Fira Code', monospace;
    line-height: 1.8;
}

.command {
    color: #00ff00;
    margin-bottom: 5px;
}

.output {
    color: #00cc00;
    margin-bottom: 10px;
    padding-left: 20px;
}

.cursor {
    color: #00ff00;
    animation: blink 1s infinite;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

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

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

.skill-category {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #00ff00;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s;
}

.skill-category:hover::before {
    left: 100%;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 0, 0.3);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.skill-category h3 {
    color: #00ff00;
    margin-bottom: 15px;
    font-family: 'Fira Code', monospace;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.skill-tag {
    background: linear-gradient(45deg, #003300, #006600);
    color: #00ff00;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 0, 0.3);
    font-family: 'Fira Code', monospace;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00ff00, #006600);
}

.job {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
}

.job::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 20px;
    width: 12px;
    height: 12px;
    background: #00ff00;
    border-radius: 50%;
    border: 3px solid #000;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.job.current::before {
    animation: pulse 2s infinite;
}

.job-date {
    min-width: 120px;
    color: #00cc00;
    font-family: 'Fira Code', monospace;
    font-weight: 500;
    font-size: 0.9rem;
}

.job-content {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-left: 3px solid #00ff00;
    border-radius: 0 8px 8px 0;
}

.job-content h3 {
    color: #00ff00;
    margin-bottom: 5px;
    font-family: 'Fira Code', monospace;
}

.company {
    color: #00cc00;
    font-weight: 600;
    margin-bottom: 5px;
}

.duration {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

.responsibilities {
    list-style: none;
    margin: 15px 0;
}

.responsibilities li {
    color: #00aa00;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.responsibilities li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #00ff00;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tech-stack span {
    background: #00ff00;
    color: #000;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Fira Code', monospace;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.cert-card {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #006600;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-card.featured {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.cert-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.4);
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.cert-card h3 {
    color: #00ff00;
    margin-bottom: 10px;
    font-family: 'Fira Code', monospace;
}

.cert-issuer {
    color: #00cc00;
    font-weight: 600;
    margin-bottom: 5px;
}

.cert-date, .cert-id {
    color: #888;
    font-size: 0.9rem;
    font-family: 'Fira Code', monospace;
}

.cert-status {
    color: #00ff00;
    font-weight: 600;
    font-size: 0.9rem;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.edu-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.edu-item:hover {
    border-color: #00ff00;
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
}

.edu-item h3 {
    color: #00ff00;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.school {
    color: #00cc00;
    font-weight: 500;
    margin-bottom: 5px;
}

.year {
    color: #888;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

footer {
    background: #000;
    color: #00ff00;
    text-align: center;
    padding: 30px 0;
    border-top: 2px solid #00ff00;
    margin-top: 40px;
}

.footer-content p {
    margin-bottom: 10px;
    font-family: 'Fira Code', monospace;
}

.experience-toggle {
    text-align: center;
    margin: 30px 0;
}

.toggle-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #00ff00;
    color: #00ff00;
    padding: 12px 25px;
    border-radius: 25px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.toggle-btn:hover {
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    transform: translateY(-2px);
}

.additional-experience {
    display: none;
    border-top: 1px solid rgba(0, 255, 0, 0.3);
    padding-top: 20px;
    margin-top: 20px;
}

.details-btn {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 0, 0.5);
    color: #00cc00;
    padding: 8px 15px;
    border-radius: 15px;
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0 10px 0;
}

.details-btn:hover {
    background: rgba(0, 255, 0, 0.1);
    border-color: #00ff00;
    color: #00ff00;
}

.job-details {
    display: none;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 255, 0, 0.2);
}

.detailed-tasks {
    list-style: none;
    margin: 0;
}

.detailed-tasks li {
    color: #00aa00;
    margin-bottom: 6px;
    padding-left: 15px;
    position: relative;
    font-size: 0.9rem;
}

.section-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.certifications-col .certs-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.education-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skills-detailed {
    background: rgba(0, 20, 0, 0.8);
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

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

.skill-group {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
}

.skill-group h3 {
    color: #00ff00;
    margin-bottom: 15px;
    font-family: 'Fira Code', monospace;
    font-size: 1.1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: rgba(0, 100, 0, 0.3);
    color: #00cc00;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 0, 0.2);
    font-family: 'Fira Code', monospace;
    transition: all 0.3s ease;
}

.skill-tag.daily {
    background: #00ff00;
    color: #000;
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    font-weight: 600;
}

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

@media (max-width: 1024px) {
    .section-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .skills-categories {
        grid-template-columns: 1fr;
    }
}

.footer-decode {
    color: #006600;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
    
    .typewriter {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .job {
        flex-direction: column;
        gap: 10px;
    }
    
    .job-date {
        min-width: auto;
    }
    
    .certs-grid, .education-grid {
        grid-template-columns: 1fr;
    }
}
