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

:root {
    --dark: #323031;
    --yellow: #ffc857;
    --red: #db3a34;
    --dark-blue: #084c61;
    --teal: #177e89;
    
    --bg-primary: #323031;
    --bg-secondary: #2a2929;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
    
    --accent-yellow: #ffc857;
    --accent-red: #db3a34;
    --accent-teal: #177e89;
    --accent-blue: #084c61;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(50, 48, 49, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 200, 87, 0.1);
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-yellow);
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-red);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-yellow);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 1;
}

.hero-image-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-yellow);
    box-shadow: 0 0 40px rgba(255, 200, 87, 0.3);
    animation: float 6s ease-in-out infinite;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 200, 87, 0.2) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
    z-index: -1;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-first {
    color: var(--text-primary);
}

.title-last {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-link-row {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-yellow);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 200, 87, 0.1);
    border: 1px solid rgba(255, 200, 87, 0.25);
    transition: all 0.3s ease;
}

.hero-link:hover {
    background: rgba(255, 200, 87, 0.2);
    border-color: var(--accent-yellow);
    transform: translateY(-2px);
}

.hero-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    line-height: 1;
}

.hero-link-icon svg {
    width: 18px;
    height: 18px;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-yellow);
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 200, 87, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-yellow);
    border: 2px solid var(--accent-yellow);
}

.btn-secondary:hover {
    background: var(--accent-yellow);
    color: var(--dark);
    transform: translateY(-3px);
}

.hero-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 200, 87, 0.1);
    color: var(--accent-yellow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 200, 87, 0.2);
}

.social-link:hover {
    background: var(--accent-yellow);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 200, 87, 0.3);
}

/* Sections */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

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

.section-header {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.section-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-yellow);
    opacity: 0.5;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 200, 87, 0.05);
    border: 1px solid rgba(255, 200, 87, 0.1);
    border-radius: 12px;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 200, 87, 0.1);
    border-radius: 16px;
    padding: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-yellow);
    box-shadow: 0 15px 40px rgba(255, 200, 87, 0.2);
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(255, 200, 87, 0.05);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(50, 48, 49, 0.7) 100%);
    transition: opacity 0.3s ease;
}

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

.project-card:hover .project-image-overlay {
    opacity: 0.8;
}

.project-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.project-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.project-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--accent-teal);
    color: var(--dark);
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.tech-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    background: rgba(23, 126, 137, 0.2);
    border: 1px solid rgba(23, 126, 137, 0.3);
    border-radius: 6px;
    color: var(--accent-teal);
}

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

.skill-group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 200, 87, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.skill-group:hover {
    border-color: var(--accent-teal);
    transform: translateY(-5px);
}

.skill-group-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-item {
    padding: 0.6rem 1.2rem;
    background: rgba(23, 126, 137, 0.1);
    border: 1px solid rgba(23, 126, 137, 0.2);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(23, 126, 137, 0.2);
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    transform: scale(1.05);
}

/* Experience Section - Dynamic Timeline */
.experience-timeline-wrapper {
    position: relative;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        rgba(255, 200, 87, 0.2) 0%,
        rgba(23, 126, 137, 0.3) 50%,
        rgba(255, 200, 87, 0.2) 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        var(--accent-yellow) 0%,
        var(--accent-teal) 100%);
    transform: translateX(-50%);
    z-index: 2;
    height: 0%;
    transition: height 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 200, 87, 0.5);
}

.experience-timeline {
    position: relative;
    z-index: 3;
}

.timeline-item {
    position: relative;
    margin-bottom: 5rem;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-yellow);
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(255, 200, 87, 0.3),
                0 0 20px rgba(255, 200, 87, 0.5);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.marker-pulse {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-yellow);
    opacity: 0.6;
    animation: pulse-marker 2s ease-in-out infinite;
    z-index: 1;
}

.timeline-item:hover .marker-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(255, 200, 87, 0.4),
                0 0 30px rgba(255, 200, 87, 0.8);
}

.timeline-content {
    width: calc(50% - 60px);
    padding: 0 2rem;
}

.timeline-left {
    text-align: right;
}

.timeline-right {
    text-align: left;
}

.timeline-date {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 200, 87, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--accent-yellow) 50%,
        transparent 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.timeline-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-yellow);
    box-shadow: 0 15px 40px rgba(255, 200, 87, 0.2),
                0 0 0 1px rgba(255, 200, 87, 0.1);
    background: rgba(255, 200, 87, 0.05);
}

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

.timeline-left .timeline-card {
    margin-left: auto;
}

.timeline-right .timeline-card {
    margin-right: auto;
}

.timeline-company {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-role {
    color: var(--accent-teal);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-location {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-left .timeline-location {
    justify-content: flex-end;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.timeline-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.timeline-left .timeline-highlights {
    justify-content: flex-end;
}

.highlight-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
    background: rgba(23, 126, 137, 0.2);
    border: 1px solid rgba(23, 126, 137, 0.4);
    border-radius: 20px;
    color: var(--accent-teal);
    transition: all 0.3s ease;
    font-weight: 500;
}

.timeline-card:hover .highlight-tag {
    background: rgba(23, 126, 137, 0.3);
    border-color: var(--accent-teal);
    transform: translateY(-2px);
}

/* Expandable Projects Section */
.timeline-expand-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 200, 87, 0.1);
    border: 1px solid rgba(255, 200, 87, 0.3);
    border-radius: 8px;
    color: var(--accent-yellow);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.timeline-expand-btn:hover {
    background: rgba(255, 200, 87, 0.2);
    border-color: var(--accent-yellow);
    transform: translateY(-2px);
}

.timeline-expand-btn[aria-expanded="true"] {
    background: rgba(255, 200, 87, 0.15);
    border-color: var(--accent-yellow);
}

.expand-icon {
    transition: transform 0.3s ease;
}

.timeline-expand-btn[aria-expanded="true"] .expand-icon {
    transform: rotate(180deg);
}

.timeline-projects-expanded {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                margin-top 0.3s ease;
    margin-top: 0;
}

.timeline-projects-expanded.expanded {
    max-height: 3000px;
    opacity: 1;
    margin-top: 1.5rem;
}

.project-sub-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 200, 87, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.project-sub-item:last-child {
    margin-bottom: 0;
}

.project-sub-item:hover {
    border-color: rgba(255, 200, 87, 0.3);
    background: rgba(255, 200, 87, 0.05);
    transform: translateX(-4px);
}

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

.project-sub-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.project-sub-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.65rem;
    background: rgba(23, 126, 137, 0.2);
    border: 1px solid rgba(23, 126, 137, 0.4);
    border-radius: 12px;
    color: var(--accent-teal);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

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

.project-sub-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-sub-tech .tech-tag {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
    background: rgba(23, 126, 137, 0.15);
    border: 1px solid rgba(23, 126, 137, 0.3);
    border-radius: 6px;
    color: var(--accent-teal);
}

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

.education-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 200, 87, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-yellow);
    box-shadow: 0 15px 40px rgba(255, 200, 87, 0.2);
}

.education-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.education-institution {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.education-degree {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.education-date {
    color: var(--accent-yellow);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 200, 87, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: translateX(10px);
    border-color: var(--accent-yellow);
    background: rgba(255, 200, 87, 0.05);
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 200, 87, 0.1);
    border-radius: 12px;
}

.contact-info {
    text-align: left;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 200, 87, 0.1);
    background: var(--bg-secondary);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

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

@keyframes pulse-marker {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(2.5);
        opacity: 0;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
    }
    
    .timeline-left,
    .timeline-right {
        text-align: left;
    }
    
    .timeline-left .timeline-card,
    .timeline-right .timeline-card {
        margin-left: 0;
        margin-right: 0;
    }
    
    .timeline-left .timeline-highlights {
        justify-content: flex-start;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-marker {
        left: 40px;
        transform: translateX(0);
    }
    
    .timeline-line,
    .timeline-progress {
        left: 40px;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(50, 48, 49, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 200, 87, 0.1);
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 1rem;
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-image-wrapper {
        height: 180px;
    }
    
    .project-content {
        padding: 1.5rem;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .experience-timeline-wrapper {
        padding: 1rem 0;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        padding: 0 1rem;
    }
    
    .timeline-left,
    .timeline-right {
        text-align: left;
    }
    
    .timeline-left .timeline-card,
    .timeline-right .timeline-card {
        margin-left: 0;
        margin-right: 0;
    }
    
    .timeline-left .timeline-highlights {
        justify-content: flex-start;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-marker {
        left: 40px;
        transform: translateX(0);
    }
    
    .timeline-line,
    .timeline-progress {
        left: 40px;
        transform: translateX(0);
    }
    
    .timeline-card {
        padding: 1.5rem;
    }
    
    .timeline-item {
        margin-bottom: 3rem;
    }
    
    .timeline-expand-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .project-sub-item {
        padding: 1.25rem;
    }
    
    .project-sub-name {
        font-size: 1rem;
    }
    
    .project-sub-description {
        font-size: 0.85rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
