/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Scroll Progress Bar */
#scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    transition: width 0.25s ease-out;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

/* Header */
header {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 30px;
}

header h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    transition: opacity 0.3s ease;
}

header h1:hover {
    opacity: 0.7;
}

/* Navigation tabs */
nav {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-button {
    background: #fff;
    border: 2px solid #e1e8ed;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: #2c3e50;
}

.tab-button:hover {
    border-color: #667eea;
    color: #667eea;
}

.tab-button.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Main content */
main {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    min-height: 400px;
}

/* About section */
.about-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-caption {
    font-style: italic;
    color: #666;
    font-size: 0.9em;
    margin-top: 10px;
    text-align: center;
    max-width: 300px;
}

.about-text {
    flex: 1;
    line-height: 1.7;
}

.contact-line {
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
    opacity: 0;
}

.linkedin-link {
    color: #0077b5 !important;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
    background: none !important;
    box-shadow: none !important;
}

.linkedin-link:hover {
    color: #005885 !important;
}

.github-link {
    color: #333 !important;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.github-link:hover {
    color: #24292e !important;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text a {
    color: #667eea;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}



/* Experience section */
.experience-resume {
    max-width: 900px;
    margin: 0 auto;
}

.experience-entry {
    margin-bottom: 40px;
}

.experience-entry h3 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 1.4em;
    font-weight: 600;
}

.experience-company {
    color: #667eea;
    font-weight: 500;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.experience-dates {
    color: #7f8c8d;
    font-weight: 500;
    font-size: 0.95em;
    margin-bottom: 15px;
    font-style: italic;
}

.experience-details {
    margin: 0 0 20px 0;
    padding-left: 20px;
}

.experience-details li {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 8px;
}

.experience-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    transition: color 0.3s;
    display: inline-block;
}

.experience-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}



.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    color: #7f8c8d;
}

.post-meta .author {
    font-weight: 500;
}

.post-meta .post-date {
    font-style: italic;
}

/* Tab content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Blog styles */
.blog-posts {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post {
    margin-bottom: 30px;
    padding: 25px;
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.blog-post:hover::before {
    transform: scaleX(1);
}

.blog-post:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    transform: translateY(-5px) scale(1.03);
}

.blog-post h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.2em;
    font-weight: 600;
}

.blog-post h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-post h3 a:hover {
    color: #667eea;
}

.post-date {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 15px;
}

.blog-post p {
    color: #5a6c7d;
    margin-bottom: 15px;
    line-height: 1.6;
}

.post-meta {
    display: flex;
    justify-content: flex-start;
    font-size: 0.9em;
    color: #7f8c8d;
}

.post-meta .author {
    font-weight: 500;
}

.post-meta .post-date {
    margin-left: 10px;
    font-style: italic;
}

/* Projects styles */
.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.project {
    padding: 25px;
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project:hover::before {
    transform: scaleX(1);
}

.project:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    transform: translateY(-5px) scale(1.03);
}

.project-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.project:hover .project-image {
    transform: scale(1.05);
}

.project h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
}

.project p {
    color: #5a6c7d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.project-link:hover {
    background: #5a67d8;
}

/* Resume styles */
.resume-content {
    max-width: 800px;
    margin: 0 auto;
}

.resume-content h3 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 10px;
}

.resume-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.resume-content li {
    margin-bottom: 5px;
}

.download-resume {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.download-resume:hover {
    background-color: #229954;
}

/* Contact styles */
.contact-links {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-links p {
    margin-bottom: 30px;
    color: #5a6c7d;
    font-size: 1.1em;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.email-link {
    background: #3498db;
}

.email-link:hover {
    background: #2980b9;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.linkedin-link {
    background: #0077b5;
}

.linkedin-link:hover {
    background: #005885;
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.contact-icon {
    font-size: 1.2em;
}



/* Timeline styles for experience page */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 50px auto;
    padding: 30px 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 60px;
    bottom: -50px;
    width: 0;
    height: 0;
    border-left: 12px solid #667eea;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: -6px;
    z-index: 1;
}

.timeline-marker {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: 3px solid #fff;
    border-radius: 50%;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.timeline-item:hover .timeline-marker {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.6);
}

.timeline-icon {
    font-size: 12px;
    line-height: 1;
}

.timeline-content {
    background: #fff;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    flex: 1;
    position: relative;
    margin-top: -4px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 24px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid rgba(102, 126, 234, 0.1);
    z-index: 2;
}

.timeline-content::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 24px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid #fff;
    z-index: 3;
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    transform: translateY(-4px) translateX(4px);
    border-color: rgba(102, 126, 234, 0.25);
}

.timeline-content h3 {
    color: #2c3e50;
    margin: 0 0 8px 0;
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.3;
}

.timeline-content h3.clickable {
    cursor: pointer;
    transition: color 0.3s ease;
}

.timeline-content h3.clickable:hover {
    color: #667eea;
}

.timeline-year {
    display: block;
    color: #667eea;
    font-weight: 600;
    font-size: 0.9em;
    margin-bottom: 12px;
    opacity: 0.9;
}

.timeline-content p {
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95em;
}

/* GitHub Stats Section */
.github-section {
    margin-bottom: 50px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

.github-section h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.4em;
    font-weight: 600;
}

.github-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.github-repos {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.github-repo-card {
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.github-repo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.github-repo-card:hover::before {
    transform: scaleX(1);
}

.github-repo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.starred-repo {
    border-left: 4px solid #ffd700;
    background: linear-gradient(135deg, #fffef7, #fefdfb);
}

.starred-badge {
    display: inline-block;
    padding: 2px 6px;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #2c3e50;
    border-radius: 10px;
    font-size: 0.7em;
    font-weight: 600;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.contributed-repo {
    border-left: 4px solid #4facfe;
    background: linear-gradient(135deg, #fffef7, #f0f8ff);
}

.contributed-badge {
    display: inline-block;
    padding: 2px 6px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    border-radius: 10px;
    font-size: 0.7em;
    font-weight: 600;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(79, 172, 254, 0.3);
}

.pinned-repo {
    border-left: 4px solid #ff6b35;
    background: linear-gradient(135deg, #fff8f0, #fff2e6);
}

.pinned-badge {
    display: inline-block;
    padding: 2px 6px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border-radius: 10px;
    font-size: 0.7em;
    font-weight: 600;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.3);
}

.github-repo-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.github-repo-title {
    font-size: 1.15em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0;
}

.github-repo-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.github-repo-title a:hover {
    color: #667eea;
}

.github-repo-updated {
    font-size: 0.8em;
    color: #7f8c8d;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 12px;
}

.github-repo-description {
    color: #5a6c7d;
    font-size: 0.9em;
    margin-bottom: 12px;
    line-height: 1.5;
}

.github-repo-languages {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.language-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.github-repo-stats {
    display: flex;
    gap: 16px;
    font-size: 0.85em;
    align-items: center;
}

.github-repo-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.github-repo-stat svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.stat-number {
    font-weight: 600;
    font-size: 0.9em;
}

.stat-stars {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #2c3e50;
}

.stat-stars svg {
    color: #ff8c00;
}

.stat-forks {
    background: linear-gradient(135deg, #87ceeb, #4682b4);
    color: white;
}

.stat-forks svg {
    color: #ffffff;
}

.stat-language {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    color: #2c3e50;
}

.language-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 2px;
}

.loading-spinner {
    text-align: center;
    color: #667eea;
    font-weight: 500;
    padding: 40px;
}

.contribution-placeholder {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 40px;
}

/* Contribution Section */
.contribution-section {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e8f4fd);
    border-radius: 12px;
    border: 1px solid #e1e8ed;
}

.contribution-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1em;
    font-weight: 600;
}

/* Commit Statistics Grid */
.commit-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.commit-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e8f4fd);
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    transition: all 0.3s ease;
    text-align: center;
}

.commit-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.stat-content {
    width: 100%;
}

.stat-number {
    font-size: 1.8em;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.85em;
    color: #7f8c8d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Activity Summary */
.activity-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
}

.heatmap-placeholder {
    padding: 30px;
    background: white;
    border-radius: 8px;
    border: 2px dashed #667eea;
    text-align: center;
}

.heatmap-placeholder p {
    margin: 0;
    font-size: 0.95em;
    color: #667eea;
    font-weight: 500;
}

/* Activity Summary */
.activity-summary {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.activity-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 80px;
}

.activity-number {
    font-size: 1.5em;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 4px;
}

.activity-label {
    font-size: 0.8em;
    color: #7f8c8d;
    font-weight: 500;
    text-align: center;
}

.github-stats-summary {
    text-align: center;
}

/* Timeline Filters */
.timeline-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #e1e8ed;
    background: #fff;
    color: #2c3e50;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Timeline item filtering */
.timeline-item {
    transition: all 0.3s ease;
}

.timeline-item.filtered-out {
    opacity: 0.3;
    transform: scale(0.95);
    pointer-events: none;
}

.timeline-item.expanded .timeline-content {
    max-height: 500px;
    opacity: 1;
}

.timeline-marker:hover {
    transform: scale(1.3) !important;
}

.timeline-marker.expanded {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52) !important;
    transform: scale(1.2) !important;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
    color: #7f8c8d;
}

/* Project and Blog Detail Pages */
.project-detail, .blog-detail {
    max-width: 800px;
    margin: 0 auto;
}

.project-detail-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.project-detail h2, .blog-detail h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.tech-stack {
    display: inline-block;
    background-color: #ecf0f1;
    color: #2c3e50;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.post-meta {
    margin-bottom: 20px;
    color: #7f8c8d;
}

.post-meta .post-date, .post-meta .author {
    display: block;
    margin-bottom: 5px;
}

.project-content, .blog-content {
    line-height: 1.8;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

.video-placeholder {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    color: #666;
    margin: 20px 0;
}

.video-placeholder em {
    font-style: italic;
    color: #999;
    display: block;
    margin-bottom: 10px;
}

.project-content h3, .blog-content h3 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
}

.project-content ul, .blog-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.project-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.back-link {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.back-link:hover {
    color: #2980b9;
}



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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.project:nth-child(odd).animate-in {
    animation: fadeInLeft 0.6s ease-out forwards;
}

/* Typing cursor effect */
.type-text::after {
    content: '|';
    animation: blink 1s infinite;
    color: #667eea;
    font-weight: bold;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
    }

    .tab-button {
        margin: 5px 0;
        width: 200px;
    }

    main {
        padding: 20px;
    }

    .projects-list {
        grid-template-columns: 1fr;
    }

    .project-links {
        flex-direction: column;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }

    .experience-resume {
        padding: 0 10px;
    }



    /* Timeline responsive */
    .timeline {
        max-width: 100%;
        padding: 20px 15px;
    }

    .timeline::before {
        left: 25px;
    }

    .timeline-item {
        gap: 15px;
        margin-bottom: 30px;
    }

    .timeline-item:not(:last-child)::after {
        left: 25px;
        border-left-width: 8px;
        border-top-width: 8px;
        border-bottom-width: 8px;
        margin-left: -4px;
    }

    .timeline-marker {
        width: 18px;
        height: 18px;
    }

    .timeline-icon {
        font-size: 10px;
    }

    .timeline-content {
        padding: 16px 18px;
    }

    .timeline-content::before,
    .timeline-content::after {
        left: -10px;
        border-right-width: 10px;
        border-top-width: 10px;
        border-bottom-width: 10px;
    }

    .timeline-content::after {
        left: -8px;
    }

    .timeline-content h3 {
        font-size: 1.1em;
    }

    .timeline-year {
        font-size: 0.85em;
        margin-bottom: 10px;
    }

    .timeline-content p {
        font-size: 0.9em;
    }
}
