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

body {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background: #0a0a0a;
    color: #cccccc;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: #1a1a1a;
    border-bottom: 1px solid #333;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prompt-text {
    color: #00ff00;
    font-weight: 500;
}

.nav-title {
    color: #00ffff;
    font-weight: 700;
    animation: blink 1s infinite;
    margin-left: 0.3rem;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: #00ffff;
}

.terminal-link {
    background: #00ff00;
    color: #0a0a0a !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
}

.terminal-link:hover {
    background: #00cc00;
    color: #0a0a0a !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #00ff00;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.ascii-art pre {
    color: #00ff00;
    font-size: clamp(8px, 1.5vw, 12px);
    line-height: 1;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #00ffff;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.hero-subtitle.typing::after {
    content: '_';
    color: #00ffff;
    animation: blink 1s infinite;
}

.hero-subtitle.typing-complete::after {
    content: '_';
    color: #00ffff;
    animation: blink 1s infinite;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #888;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    font-family: inherit;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid;
    display: inline-block;
}

.btn-primary {
    background: #00ffff;
    color: #0a0a0a;
    border-color: #00ffff;
}

.btn-primary:hover {
    background: transparent;
    color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #00ff00;
    border-color: #00ff00;
}

.btn-secondary:hover {
    background: #00ff00;
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background: #111111;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.command-prompt {
    color: #00ff00;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #ffffff;
    margin-bottom: 1rem;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.intro-text {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.subsection {
    margin-bottom: 2rem;
}

.subsection h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.subsection ul {
    list-style: none;
    margin-left: 1rem;
}

.subsection li {
    margin-bottom: 0.5rem;
    position: relative;
}

.subsection li::before {
    content: '▶';
    color: #00ff00;
    margin-right: 0.5rem;
}

.stats-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
}

.stats-card h4 {
    color: #00ffff;
    margin-bottom: 1rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.skill-category h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.skill-tag {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid;
}

.skill-tag.primary {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    border-color: #00ffff;
}

.skill-tag.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #ffffff;
}

.skill-tag.cloud {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    border-color: #00ff00;
}

.skill-tag.ai {
    background: rgba(255, 165, 0, 0.1);
    color: #ffaa00;
    border-color: #ffaa00;
}

.skill-tag.tool {
    background: rgba(136, 136, 136, 0.1);
    color: #888;
    border-color: #888;
}

.certifications h3 {
    color: #00ffff;
    margin-bottom: 2rem;
    text-align: center;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.cert-card {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.cert-card:hover {
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

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

.cert-info strong {
    color: #00ffff;
    display: block;
    margin-bottom: 0.2rem;
}

.cert-info span {
    color: #cccccc;
    font-size: 0.9rem;
}

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

.project-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-header h3 {
    color: #00ffff;
    font-size: 1.3rem;
}

.project-year {
    color: #888;
    font-size: 0.9rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid #00ff00;
}

.project-description {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.project-link {
    color: #00ffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #ffffff;
}

.achievement {
    color: #ffaa00;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Timeline */
.timeline {
    position: relative;
    margin-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #00ff00;
}

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

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: #00ff00;
    border: 3px solid #0a0a0a;
    border-radius: 50%;
}

.timeline-content {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.job-header {
    margin-bottom: 1.5rem;
}

.job-header h3 {
    color: #00ffff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.company {
    color: #ffaa00;
    font-weight: 500;
    display: block;
    margin-bottom: 0.3rem;
}

.period {
    color: #888;
    font-size: 0.9rem;
}

.job-achievements {
    list-style: none;
}

.job-achievements li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.job-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ff00;
    font-weight: bold;
}

/* Education Section */
.education-content {
    display: flex;
    justify-content: center;
}

.education-card {
    background: #1a1a1a;
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    width: 100%;
}

.education-icon {
    font-size: 4rem;
}

.education-info h3 {
    color: #00ffff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.institution {
    color: #ffaa00;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.education-details {
    color: #cccccc;
    margin-bottom: 1rem;
}

.education-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.highlight-item {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    border: 1px solid #00ff00;
}

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

.accomplishment-category h3 {
    color: #00ffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.accomplishment-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.accomplishment-item {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

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

.accomplishment-item strong {
    color: #00ffff;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info h3,
.contact-status h3 {
    color: #00ffff;
    margin-bottom: 1.5rem;
}

.contact-methods,
.status-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item,
.status-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-label {
    color: #888;
    font-size: 0.9rem;
}

.contact-link {
    color: #00ffff;
    text-decoration: none;
}

.contact-link:hover {
    color: #ffffff;
}

.contact-value {
    color: #cccccc;
}

.status-item strong {
    color: #ffaa00;
    font-size: 0.9rem;
}

.status-item span {
    color: #cccccc;
}

/* Contact Hidden Elements */
.contact-hidden {
    position: relative;
    cursor: pointer;
    color: #888;
    font-style: italic;
    transition: all 0.3s ease;
}

.contact-hidden::before {
    content: "[hover to reveal]";
    display: inline;
}

.contact-hidden .hidden-content {
    display: none;
}

.contact-hidden:hover::before {
    display: none;
}

.contact-hidden:hover .hidden-content {
    display: inline;
    color: #00ffff;
    font-style: normal;
}

.contact-hidden:hover {
    color: #00ffff;
}

.contact-hidden:hover::after {
    content: " [click to copy]";
    color: #888;
    font-size: 0.8em;
    font-style: italic;
}

.contact-copied {
    color: #00ff00 !important;
}

.contact-copied::after {
    content: " [copied!]";
    color: #00ff00;
    font-size: 0.8em;
    font-style: italic;
}

.contact-cta {
    text-align: center;
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.contact-cta h3 {
    color: #00ffff;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    border-top: 1px solid #333;
    padding: 2rem 0;
}

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

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
}

.footer-right {
    text-align: right;
    color: #888;
    font-size: 0.9rem;
}

.footer-link {
    color: #00ffff;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-link:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .ascii-art pre {
        font-size: 8px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .accomplishments-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .education-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .timeline {
        margin-left: 1rem;
    }
    
    .timeline::before {
        left: -1rem;
    }
    
    .timeline-marker {
        left: -1.5rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styling */
::selection {
    background: rgba(0, 255, 255, 0.3);
    color: #ffffff;
}

/* Loading animation */
.section {
    animation: fadeInUp 0.6s ease-out;
}

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