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

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

/* Terminal Container */
.terminal {
    max-width: 1200px;
    margin: 0 auto;
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
    overflow: hidden;
}

/* Terminal Header */
.terminal-header {
    background: #2a2a2a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #333;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.btn.close {
    background: #ff5f56;
}

.btn.minimize {
    background: #ffbd2e;
}

.btn.maximize {
    background: #27ca3f;
}

.terminal-title {
    color: #888;
    font-size: 14px;
    font-weight: 500;
}

/* Terminal Body */
.terminal-body {
    padding: 20px;
    min-height: 100vh;
}

.terminal-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Command Line Styling */
.command-line {
    margin-bottom: 20px;
    font-size: 16px;
}

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

.command {
    color: #ffffff;
    margin-left: 10px;
}

/* Navigation */
.nav-section {
    margin-bottom: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.nav-link {
    color: #00ff00 !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer !important;
    display: inline-block;
    pointer-events: auto !important;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ff00;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #ffffff;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    background: #ffffff;
}

/* ASCII Art */
.ascii-art {
    text-align: center;
    margin: 40px 0;
    font-size: 12px;
    line-height: 1.2;
    color: #00ff00;
}

.ascii-art pre {
    font-family: 'JetBrains Mono', monospace;
    white-space: pre;
    overflow-x: auto;
}

/* Main Content */
.main-content h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ffffff;
    font-weight: 700;
}

/* Sections */
.section {
    margin-bottom: 60px;
    padding: 20px 0;
}

.section h2 {
    color: #00ff00;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.section h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.section h4 {
    color: #cccccc;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.section p {
    color: #cccccc;
    margin-bottom: 15px;
    font-size: 16px;
}

/* Profile Section */
.profile-info {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: start;
    margin: 30px 0;
}

.profile-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    transition: all 0.3s ease;
    filter: grayscale(100%) contrast(1.2);
}

.profile-img:hover {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.05);
}

.profile-details h3 {
    color: #00ff00;
    margin-bottom: 15px;
}

.skills {
    margin-top: 20px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.skill-tag {
    background: #333;
    color: #00ff00;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid #00ff00;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: #00ff00;
    color: #1a1a1a;
}

/* Featured Project */
.featured-project {
    margin: 40px 0;
    padding: 30px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

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

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

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

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.project-header h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin: 0;
}

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

.tag {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.tag.ml {
    background: #ff6b6b;
    color: white;
}

.tag.deep-learning {
    background: #4ecdc4;
    color: white;
}

.tag.computer-vision {
    background: #45b7d1;
    color: white;
}

.tag.fullstack {
    background: #96ceb4;
    color: white;
}

.tag.mern {
    background: #feca57;
    color: white;
}

.tag.ai {
    background: #ff9ff3;
    color: white;
}

.project-stats {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

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

.stat-label {
    color: #888;
    font-size: 14px;
    margin-bottom: 5px;
}

.stat-value {
    color: #00ff00;
    font-size: 18px;
    font-weight: 600;
}

.project-links {
    margin-top: 20px;
}

.btn-link {
    display: inline-block;
    padding: 10px 20px;
    background: #00ff00;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.btn-link:hover {
    background: #00cc00;
    transform: translateY(-2px);
}

.btn-link.disabled {
    background: #666;
    color: #999;
    cursor: not-allowed;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Experience */
.experience-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.experience-header h3 {
    color: #00ff00;
    margin: 0;
}

.duration {
    color: #888;
    font-size: 14px;
}

.role {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.experience-details {
    list-style: none;
    padding-left: 0;
}

.experience-details li {
    color: #cccccc;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.experience-details li::before {
    content: '•';
    color: #00ff00;
    position: absolute;
    left: 0;
}

.education {
    margin-top: 30px;
}

.education-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
}

.education-item h4 {
    color: #00ff00;
    margin-bottom: 10px;
}

/* Blog */
.blog-posts {
    margin-top: 20px;
}

.blog-post {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.blog-post:hover {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.blog-category {
    background: #333;
    color: #00ff00;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.blog-read-time {
    color: #888;
    font-size: 12px;
}

.blog-post h3 {
    color: #ffffff;
    margin-bottom: 15px;
}

.read-more {
    color: #00ff00;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #ffffff;
}

/* Contact */
.contact-info {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 25px;
}

.availability {
    margin-top: 30px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 25px;
}

.availability h3 {
    color: #00ff00;
    margin-bottom: 15px;
}

.availability-list {
    list-style: none;
    padding-left: 0;
}

.availability-list li {
    color: #cccccc;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.availability-list li::before {
    content: '•';
    color: #00ff00;
    position: absolute;
    left: 0;
}

/* Certificates */
.certificates {
    margin-top: 30px;
}

.certificate-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
}

.certificate-item h4 {
    color: #00ff00;
    margin-bottom: 15px;
}

.certificate-list {
    list-style: none;
    padding-left: 0;
}

.certificate-list li {
    color: #cccccc;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.certificate-list li::before {
    content: '•';
    color: #00ff00;
    position: absolute;
    left: 0;
}

/* Extracurricular */
.extracurricular {
    margin-top: 30px;
}

.activity-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
}

.activity-item h4 {
    color: #00ff00;
    margin-bottom: 15px;
}

.activity-list {
    list-style: none;
    padding-left: 0;
}

.activity-list li {
    color: #cccccc;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.activity-list li::before {
    content: '•';
    color: #00ff00;
    position: absolute;
    left: 0;
}

.contact-item {
    margin-bottom: 15px;
    color: #cccccc;
}

.contact-item strong {
    color: #00ff00;
    margin-right: 10px;
}

.contact-item a {
    color: #00ff00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ffffff;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid #333;
}

.footer p {
    color: #888;
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terminal-body {
        padding: 15px;
    }
    
    .main-content h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .profile-info {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .profile-img {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-stats {
        gap: 20px;
    }
    
    .ascii-art {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .terminal-body {
        padding: 10px;
    }
    
    .main-content h1 {
        font-size: 1.5rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .ascii-art {
        font-size: 8px;
    }
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
}

/* Animation for typing effect */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.cursor::after {
    content: '_';
    animation: blink 1s infinite;
}
