/* ====================
   THEME VARIABLES
   ==================== */
:root {
    /* Dark theme (default) */
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #ffa500;
    --secondary-text: #888888;
    --link-color: #ffa500;
    --border-color: #333;
}

/* Light theme */
.light-theme {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --accent-color: #ff6b00;
    --secondary-text: #666666;
    --link-color: #ff6b00;
    --border-color: #e0e0e0;
}

/* ====================
   GLOBAL STYLES
   ==================== */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Fira Code', monospace;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* ====================
   NAVIGATION
   ==================== */
nav {
    width: 100%;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--accent-color);
    opacity: 1;
}

/* ====================
   HOME PAGE STYLES
   ==================== */
/* Profile Section */

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    margin-bottom: 2rem;  /* Changed from margin: 2rem auto */
    display: block;
    transition: transform 0.3s ease;
}

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

/* Introduction Section */
.intro {
    text-align: left;  /* Changed from center */
    margin-bottom: 4rem;  /* Changed from margin: 0 auto 4rem */
}

.intro h1 {
    font-size: 2.5rem;
    margin: 2rem 0;
    background: linear-gradient(to right, var(--accent-color), var(--text-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

.connect {
    margin-top: 2rem;
}

.highlight-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.highlight-link:hover {
    background: rgba(255, 165, 0, 0.2);
    transform: translateY(-1px);
}

/* ====================
   BINARY STREAM STYLES
   ==================== */
.binary-stream-container {
    width: 100%;
    height: 50px;
    margin: 4rem 0;
    overflow: hidden;
    position: relative;
    background: rgba(255, 165, 0, 0.05);
    border-radius: 8px;
    padding: 1rem 0;
}

.binary-stream {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.binary-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: slideLeft 20s linear infinite;
    will-change: transform;
}

.binary-digit {
    display: inline-block;
    margin: 0 2px;
    transition: all 0.3s ease;
    cursor: default;
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    color: var(--accent-color);
    opacity: 0.7;
}

.binary-digit.gap {
    margin: 0 20px;
    opacity: 1;
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
}

@keyframes slideLeft {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.binary-note {
    font-size: 0.9rem;
    color: #7c7c7c;
    text-align: left;
    margin-top: -3rem;
    font-style: italic;
    max-width: 80%;
}
/* ====================
   STATS SECTION
   ==================== */
.stats-section {
    display: flex;
    justify-content: flex-start;
    gap: 4rem;
    margin: 4rem 0;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.2);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--secondary-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ====================
   SKILLS SECTION
   ==================== */
.skills-section {
    margin: 4rem 0;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: left;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.skill-card {
    padding: 1.5rem;
    border-radius: 8px;
    background: rgba(255, 165, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 165, 0, 0.1);
}

.skill-card.active {
    background: rgba(255, 165, 0, 0.1);
    border-color: var(--accent-color);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.skill-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
}

.skill-description {
    font-size: 0.9rem;
    color: var(--secondary-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.skill-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.active .skill-tag {
    background: rgba(255, 165, 0, 0.2);
}

/* Activity Graph Styles */
.activity-section {
    margin: 4rem 0;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.activity-section h2 {
    text-align: left;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: #7d8590;
}

.activity-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Month Labels */
.activity-labels {
    display: grid;
    grid-template-columns: repeat(52, 1fr);
    padding-left: 36px;
    margin-bottom: -4px;
}

.activity-labels span {
    color: #7d8590;
    font-size: 12px;
    grid-column: span 4;
    text-align: left;
}

/* Graph Section */
.graph-section {
    display: flex;
    gap: 4px;
}

/* Day Labels */
.day-labels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 4px 0 0;
    height: 107px;
}

.day-labels span {
    color: #7d8590;
    font-size: 12px;
    height: 15px;
    line-height: 15px;
}

/* Activity Grid */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(52, 1fr);
    gap: 2px;
    flex-grow: 1;
}

.activity-week {
    display: grid;
    grid-template-rows: repeat(7, 1fr);
    gap: 2px;
}

/* Individual Day Cells */
.activity-day {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    transition: transform 0.1s ease;
    cursor: pointer;
    position: relative;
}

/* GitHub's Contribution Colors */
.activity-day.intensity-0 { background-color: #161b22; }
.activity-day.intensity-1 { background-color: #0e4429; }
.activity-day.intensity-2 { background-color: #006d32; }
.activity-day.intensity-3 { background-color: #26a641; }
.activity-day.intensity-4 { background-color: #39d353; }

/* Legend styles */
.activity-legend {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 16px;
    font-size: 12px;
}

.legend-scale {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-label {
    color: #7d8590;
    font-size: 12px;
}

.legend-boxes {
    display: flex;
    gap: 2px;
}

.legend-boxes .activity-day {
    cursor: default;
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

/* Prevent tooltips on legend boxes */
.legend-boxes .activity-day::before {
    display: none;
}
/* Tooltip */
.activity-day::before {
    content: attr(title);
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem;
    background: #000;
    color: #fff;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.1s ease;
    z-index: 1000;
    pointer-events: none;
}

.activity-day:hover::before {
    opacity: 1;
    visibility: visible;
    bottom: 170%;
}

/* Hover Effect */
.activity-day:hover {
    transform: scale(1.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .activity-grid {
        gap: 2px;
    }

    .activity-day {
        width: 8px;
        height: 8px;
    }

    .activity-labels span {
        font-size: 10px;
    }

    .activity-legend {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ==================== BLOG/POSTS STYLES ==================== */
.recent-posts {
    margin: 4rem 0;
}

.recent-posts h2 {
    text-align: left;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--accent-color);
}

.post-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid transparent;
}

.post-item:hover {
    background: rgba(255, 165, 0, 0.05);
    border-color: var(--border-color);
}

.post-title {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-date {
    color: var(--secondary-text);
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    background: rgba(255, 165, 0, 0.1);
}

/* Recent Posts & Projects Sections */
.recent-content {
    margin: 4rem 0;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Adding line between sections */
.recent-content:before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: var(--border-color);
    margin-bottom: 4rem;
}

.recent-section {
    min-width: 0;
    position: relative;
    padding: 2rem 0;
}

.recent-section:first-child {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 4rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 1.5rem;
    color: var(--accent-color);
    opacity: 0.9;
    font-weight: 500;
}

.view-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.view-more:hover {
    color: var(--accent-color);
    background: rgba(255, 165, 0, 0.05);
    transform: translateX(4px);
}

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

.content-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.content-item:hover {
    background: rgba(255, 165, 0, 0.05);
    transform: translateX(4px);
    border-color: var(--border-color);
}

.content-title {
    color: var(--text-color);
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.content-item:hover .content-title {
    color: var(--accent-color);
}

.content-date, .content-tag {
    color: var(--secondary-text);
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(255, 165, 0, 0.1);
    transition: all 0.3s ease;
}

/* Specific status styles */
.content-tag.completed {
    background: rgba(76, 175, 80, 0.15);
    color: #66bb6a;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.content-tag.in-progress {
    background: rgba(255, 165, 0, 0.2);
    color: var(--accent-color);
    border: 1px solid rgba(255, 165, 0, 0.3);
}

/* Hover states for different tags */
.content-tag.completed:hover {
    background: rgba(76, 175, 80, 0.25);
}

.content-tag.in-progress:hover {
    background: rgba(255, 165, 0, 0.3);
}

.content-item:hover .content-date {
    background: rgba(255, 165, 0, 0.2);
}

.content-item:hover .content-tag {
    background: rgba(255, 165, 0, 0.2);
}

.section-close {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 3rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.5rem;
    }

    .content-item {
        padding: 0.75rem;
    }

    .content-title {
        font-size: 0.9rem;
    }

    .content-date, .content-tag {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }

    .section-close {
        font-size: 1.5rem;
    }
}
/* ====================
   FOOTER STYLES
   ==================== */
.site-footer {
    margin-top: auto;
    padding: 2rem 0;
    background: rgba(255, 165, 0, 0.02);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-icon {
    width: 20px;
    height: 20px;
    color: var(--text-color);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.social-links a:hover .social-icon {
    color: var(--accent-color);
    opacity: 1;
}

.copyright {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* ====================
   RESPONSIVE STYLES
   ==================== */
@media (max-width: 768px) {
    .stats-section {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .intro h1 {
        font-size: 2rem;
    }

    .binary-stream {
        font-size: 1rem;
    }

    .binary-digit.gap {
        margin: 0 10px;
    }

    .activity-day {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .container {
        padding: 1rem;
    }
}


/* ====================
   PROJECTS STYLES
   ==================== */
.projects-header {
    text-align: center;
    margin: 4rem 0;
}

.projects-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.projects-intro {
    color: var(--secondary-text);
    max-width: 600px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.project-card {
    background: rgba(255, 165, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 165, 0, 0.08);
}

.project-card-inner {
    padding: 1.5rem;
}

.project-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.project-status.in-progress {
    background: rgba(255, 165, 0, 0.2);
    color: var(--accent-color);
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.project-status.completed {
    background: rgba(76, 175, 80, 0.15);
    color: #66bb6a;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.project-status.in-progress:hover {
    background: rgba(255, 165, 0, 0.3);
}

.project-status.completed:hover {
    background: rgba(76, 175, 80, 0.25);
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.project-description {
    color: var(--secondary-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.tech-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(255, 165, 0, 0.2);
    transform: translateY(-2px);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}

.project-link:hover {
    opacity: 0.8;
    background: rgba(255, 165, 0, 0.1);
}

/* Add responsive styles */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card-inner {
        padding: 1rem;
    }

    .project-title {
        font-size: 1.2rem;
    }

    .tech-tag {
        font-size: 0.75rem;
    }
}

/*show more button styles*/

  .hidden-project {
        display: none;
    }

    .show-more-container {
        text-align: center;
        margin: 3rem 0;
    }

    .show-more-btn {
        background: rgba(255, 165, 0, 0.1);
        color: var(--text-color);
        border: 1px solid var(--border-color);
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        cursor: pointer;
        font-family: 'Fira Code', monospace;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .show-more-btn:hover {
        background: rgba(255, 165, 0, 0.2);
        transform: translateY(-2px);
    }

    .show-more-btn .remaining-count {
        font-size: 0.8rem;
        opacity: 0.7;
    }

    /* Animation for new projects appearing */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .fade-in {
        animation: fadeIn 0.5s ease forwards;
    }

/* ====================
   Blog listing page styles
   ==================== */
.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-posts-header {
    margin-bottom: 4rem;
}

.blog-posts-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.blog-post-item {
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 165, 0, 0.05);
}

.blog-post-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 165, 0, 0.1);
}

.blog-post-title {
    font-size: 1.5rem;
    color: var(--accent-color);
    text-decoration: none;
    margin-bottom: 1rem;
    display: block;
}

.blog-post-meta {
    color: var(--secondary-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-post-excerpt {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    opacity: 0.8;
}

/* ====================
   Single Post Page Styles
   ==================== */
.single-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

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

.post-header h1 {
    font-size: 2.5rem;
    margin: 2rem 0;
    background: linear-gradient(to right, var(--accent-color), var(--text-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-meta {
    color: var(--secondary-text);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 0.8;
}

.post-content {
    line-height: 1.8;
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 4rem;
    text-align: center;
}

/* Added nice spacing for different content types */
.post-content h2 {
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem;
}

.post-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
}

.post-content ul, .post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content code {
    background: rgba(255, 165, 0, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
}

.post-content pre {
    background: rgba(255, 165, 0, 0.05);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}



/* About page styles */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

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

.about-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--accent-color), var(--text-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Typing animation */
.typing-container {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--secondary-text);
}

.cursor {
    margin-left: 5px;
    animation: blink 1s infinite;
}

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

.about-text {
    margin-bottom: 4rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Interests section */
.interests-section {
    margin-bottom: 4rem;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.interest-card {
    padding: 2rem;
    border-radius: 8px;
    background: rgba(255, 165, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.interest-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 165, 0, 0.1);
}

.interest-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Social links */
.connect-section {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: var(--text-color);
    background: rgba(255, 165, 0, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 165, 0, 0.2);
}

.social-icon {
    width: 20px;
    height: 20px;
}

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

    .social-links {
        flex-direction: column;
        align-items: center;
    }
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.tech-pill {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background: rgba(255, 165, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tech-pill:hover {
    transform: translateY(-2px);
    background: rgba(255, 165, 0, 0.2);
}

.tech-pill::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tech-pill:hover::before {
    opacity: 1;
}

.tech-icon {
    margin-right: 0.5rem;
}

/* Timeline base styles */
.interest-timeline {
    margin: 3rem 0;
    position: relative;
    padding-left: 3rem;
}

/* Timeline vertical line */
.interest-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 1.5rem;
    height: calc(100% - 1.5rem);
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color) 0%, rgba(255, 165, 0, 0.1) 100%);
}

/* Timeline item container */
.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: var(--bg-color);  /* Darker background */
    border: 1px solid rgba(255, 165, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Fix the dot position */
.timeline-marker {
    position: absolute;
    left: -2.90rem;
    top:2rem;
    transform: translateY(0);
    width: 12px;
    height: 12px;
    background: #1a1a1a;
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 50%;
    z-index: 1;
}
/* Active state for current item */
.timeline-item.active .timeline-marker {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(255, 165, 0, 0.1);
}

/* Hover effect that doesn't affect the marker position */
.timeline-item:hover {
    border-color: rgba(255, 165, 0, 0.2);
    background: rgba(255, 165, 0, 0.05);

}

/* Timeline content styles */
.timeline-date {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-family: 'Fira Code', monospace;
    opacity: 0.8;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

.timeline-content p {
    color: #888;
    margin-bottom: 1rem;
}

/* Timeline details (list items) */
.timeline-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-details li {
    color: #666;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.timeline-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    opacity: 0.8;
}
/* Terminal Contact Styles */
.terminal-contact {
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
    margin: 2rem 0;
    overflow: hidden;
}

.terminal-header {
    background: #2d2d2d;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

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

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

.terminal-title {
    color: #666;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.terminal-content {
    padding: 1.5rem;
    font-family: 'Fira Code', monospace;
}

.terminal-line {
    margin-bottom: 1rem;
}

.prompt {
    color: #4af626;
    margin-right: 0.5rem;
}

.output {
    color: #888;
    margin-left: 1rem;
}

.terminal-options {
    margin: 1rem 0 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.terminal-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #1d1d1d;
    border: 1px solid #333;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    color: var(--accent-color);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Fira Code', monospace;
    width: 100%;
}

.terminal-btn:hover {
    background: #2d2d2d;
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

.terminal-form {
    margin: 1rem 0 1rem 1rem;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.terminal-form.hidden {
    display: block;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

.input-group {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.prompt-arrow {
    color: var(--accent-color);
}

.input-group input,
.input-group textarea {
    flex: 1;
    background: #1d1d1d;
    border: 1px solid #333;
    padding: 0.75rem;
    border-radius: 4px;
    color: #fff;
    font-family: 'Fira Code', monospace;
    transition: all 0.2s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #2d2d2d;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #666;
    opacity: 1;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

.submit-btn {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Fira Code', monospace;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.2);
}


.input-group textarea {
    resize: vertical;
    min-height: 100px;
}

 .input-error {
        border-color: #ff4040 !important;
        background: rgba(255, 64, 64, 0.05) !important;
    }

    .error-message {
        color: #ff4040;
        font-size: 0.8rem;
        margin-top: 0.3rem;
        margin-left: 1.5rem;
    }

    .server-error {
        margin-top: 1rem;
        text-align: center;
        border: 1px solid rgba(255, 64, 64, 0.3);
        padding: 0.5rem;
        border-radius: 4px;
        background: rgba(255, 64, 64, 0.05);
    }

    .success-message {
        color: #4caf50;
        font-size: 0.9rem;
        margin-top: 1rem;
        text-align: center;
        border: 1px solid rgba(76, 175, 80, 0.3);
        padding: 0.5rem;
        border-radius: 4px;
        background: rgba(76, 175, 80, 0.05);
    }