:root {
    --bg-color: #FAFAFA;
    --text-main: #111827;
    --text-muted: #4B5563;
    --accent: #6366F1;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --accent-hover: #4F46E5;
    
    --font-main: 'Inter', sans-serif;
    
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 2rem);
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.app-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.5px;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
    position: relative;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.greeting {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.name {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.title-container {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 2rem;
    min-height: 3rem; /* Prevents layout shift during typewriter */
}

.typewriter-text {
    font-weight: 600;
    color: var(--accent);
}

.cursor {
    color: var(--accent);
    animation: blink 1s step-end infinite;
}

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

.quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-muted);
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
}

.quote footer {
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    margin-top: 0.5rem;
    color: var(--text-main);
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

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

.btn-secondary:hover {
    background-color: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}

.btn-youtube {
    background-color: transparent;
    color: #ef4444;
    border: 2px solid #ef4444;
    gap: 0.35rem;
}

.btn-youtube:hover {
    background-color: rgba(239, 68, 68, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.15);
}

.btn-instagram {
    background-color: transparent;
    color: #a855f7;
    border: 2px solid #a855f7;
    gap: 0.35rem;
}

.btn-instagram:hover {
    background-color: rgba(168, 85, 247, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.15);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 500px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img {
    width: 85%;
    height: 85%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border-radius: 50%;
    border: 2px solid var(--accent);
    box-shadow: 0 0 30px var(--accent-glow), inset 0 0 20px var(--accent-glow);
    z-index: 1;
    animation: pulse-ring 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.4;
    }
}

/* Background Blobs */
.blob {
    position: absolute;
    filter: blur(40px);
    z-index: 0;
    opacity: 0.6;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite alternate;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: rgba(99, 102, 241, 0.3);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background: rgba(167, 139, 250, 0.3);
    bottom: -10%;
    left: -10%;
    animation-delay: -5s;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: rgba(129, 140, 248, 0.2);
    top: 50%;
    left: 50%;
    animation-duration: 15s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* Animations */
.slide-up-fade {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Page Styles */
.about-page {
    padding-top: calc(var(--nav-height) + 4rem);
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.section-title.center {
    text-align: center;
}

.about-split {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.about-visual {
    flex: 1;
    max-width: 400px;
    position: relative;
    display: flex;
    justify-content: center;
}

.about-content {
    flex: 1.5;
}

.bio {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Contact Card */
.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.02);
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.contact-card ul {
    list-style: none;
}

.contact-card li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.contact-card li i {
    color: var(--accent);
    width: 20px;
    height: 20px;
}

.mt-4 {
    margin-top: 2rem;
}

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

.social-links-alt a {
    color: var(--text-muted);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-color);
}

.social-links-alt a:hover {
    color: white;
    background: var(--accent);
    transform: translateY(-3px);
}

/* Hobbies Section */
.hobbies-section {
    padding-top: 2rem;
}

/* Infinite Marquee Carousel */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    margin-top: 3rem;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll-left 25s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 1rem));
    }
}

.hobby-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    min-width: 220px;
}

.hobby-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

.hobby-label {
    font-weight: 600;
    color: var(--accent);
    text-align: center;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Skills Page Styles */
.skills-page {
    padding-top: calc(var(--nav-height) + 4rem);
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.page-title {
    font-size: 3rem;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.page-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    bottom: -10px;
    left: 20%;
    background-color: var(--accent);
    border-radius: 2px;
}

.skills-container {
    display: flex;
    gap: 4rem;
    justify-content: center;
}

.skills-section {
    flex: 1;
    max-width: 500px;
}

.skills-heading {
    font-size: 1.75rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    text-align: center;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.skill-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: white;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.skill-card i {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.skill-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.skill-card span {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-main);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--accent-glow);
    border-color: var(--accent);
}

.skill-card:hover i {
    color: var(--accent);
}

/* Projects Page Styles */
.projects-page {
    padding-top: calc(var(--nav-height) + 4rem);
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Filter Buttons */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    background: white;
    color: var(--text-muted);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.filter-btn:hover {
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.filter-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* Projects Carousel */
.projects-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    padding: 0 60px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    z-index: 10;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carousel-btn:hover {
    color: var(--accent);
    transform: translateY(calc(-50% - 2px));
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
    touch-action: pan-y;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.carousel-track .project-card {
    flex: 0 0 calc(50% - 1rem); /* 2 cards per view */
    margin: 0 0.5rem;
    min-width: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.2);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-color: var(--accent);
}

/* Project Card */
.project-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-content {
    margin-bottom: 2rem;
}

.project-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.project-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-footer {
    display: flex;
    justify-content: flex-start;
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-color: rgba(99, 102, 241, 0.2);
}

/* Experience Timeline Styles */
.experience-page {
    padding-top: calc(var(--nav-height) + 4rem);
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: rgba(99, 102, 241, 0.3);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 50px;
    position: relative;
    width: 50%;
    margin-bottom: 3rem;
}

/* Override reveal for timeline items to alternate slide-in */
.timeline-item.reveal:nth-child(odd) {
    transform: translateX(-50px);
}
.timeline-item.reveal:nth-child(even) {
    transform: translateX(50px);
}
.timeline-item.reveal.active {
    transform: translateX(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--accent);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(255,255,255,1), 0 0 15px var(--accent-glow);
}

.timeline-item.reveal.active .timeline-dot {
    animation: pulse-dot 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.08);
    transform: translateY(-5px);
}

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

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

.timeline-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.timeline-title-area {
    display: flex;
    flex-direction: column;
}

.timeline-org {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

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

.timeline-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.timeline-desc {
    color: var(--text-muted);
    line-height: 1.6;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(255,255,255,1), 0 0 15px var(--accent-glow);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(255,255,255,1), 0 0 25px rgba(99, 102, 241, 0.8);
    }
}

/* Contact Page Styles */
.contact-page {
    padding-top: calc(var(--nav-height) + 4rem);
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 6rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.contact-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.contact-left {
    flex: 1.2;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--text-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: white;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-submit-btn {
    margin-top: 1rem;
    align-self: flex-start;
    padding: 1rem 2.5rem;
}

.contact-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    border-radius: 12px;
}

.info-text h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.info-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.social-grid {
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: white;
    color: var(--text-main);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--accent-glow);
}

/* Footer Styles */
.site-footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.site-footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive Design */
.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-main);
}

@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .carousel-track .project-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
        text-align: center;
        z-index: 99;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    /* General */
    body {
        overflow-x: hidden;
    }
    .reveal {
        transform: translateY(20px);
    }
    .reveal.active {
        transform: translateY(0);
    }

    /* Hero Page */
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: calc(var(--nav-height) + 2rem);
        gap: 3rem;
    }
    .hero-content {
        align-items: center;
    }
    .quote {
        text-align: center;
    }
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    .cta-group .btn {
        width: 100%;
    }
    .hero-visual .image-wrapper {
        width: 250px;
        height: 250px;
    }

    /* About Page */
    .about-split {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    .about-visual .image-wrapper {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    .contact-card ul {
        align-items: center;
    }
    .social-links-alt {
        justify-content: center;
    }
    
    /* Skills Page */
    .skills-container {
        flex-direction: column;
        gap: 3rem;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }

    /* Projects Page */
    .carousel-track .project-card {
        flex: 0 0 calc(100% - 1rem);
    }
    .carousel-btn {
        width: 32px;
        height: 32px;
    }
    .carousel-btn i {
        width: 16px;
        height: 16px;
    }
    .prev-btn {
        left: 5px;
    }
    .next-btn {
        right: 5px;
    }
    .projects-carousel-wrapper {
        padding: 0 45px;
    }
    .carousel-viewport {
        margin: 0;
    }
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Timeline (Experience & Education) */
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    .timeline-item:nth-child(even) .timeline-dot, .timeline-item:nth-child(odd) .timeline-dot {
        left: 22px;
    }
    .timeline-item.reveal:nth-child(odd), .timeline-item.reveal:nth-child(even) {
        transform: translateY(30px);
    }
    .timeline-item.reveal.active {
        transform: translateY(0);
    }
    .timeline-item:nth-child(odd) .timeline-header {
        flex-direction: row;
    }

    /* Contact Page */
    .contact-container {
        flex-direction: column;
        gap: 3rem;
    }
    .contact-left, .contact-right {
        width: 100%;
    }
    .social-grid {
        justify-content: center;
    }
}
