/* ========================================
   CSS Variables & Theme
   ======================================== */
:root {
    /* Colors - Dark Theme inspired by brittanychiang.com */
    --color-navy: #0a192f;
    --color-navy-light: #112240;
    --color-navy-lightest: #233554;
    --color-slate: #8892b0;
    --color-slate-light: #a8b2d1;
    --color-slate-lightest: #ccd6f6;
    --color-white: #e6f1ff;
    --color-accent: #64ffda;
    --color-accent-tint: rgba(100, 255, 218, 0.1);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Sizes */
    --nav-height: 100px;
    --nav-scroll-height: 70px;
    --sidebar-width: 40px;
    
    /* Transitions */
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    --transition-slow: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    
    /* Shadows */
    --shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-navy);
    color: var(--color-slate);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

body.blur {
    overflow: hidden;
}

body.blur main,
body.blur .social-sidebar,
body.blur footer {
    filter: blur(5px) brightness(0.7);
    pointer-events: none;
    user-select: none;
}

::selection {
    background-color: var(--color-navy-lightest);
    color: var(--color-slate-lightest);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

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

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Loader
   ======================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-navy);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    animation: loader-pulse 1.5s ease-in-out infinite;
}

.loader-text {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    border: 3px solid var(--color-accent);
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

@keyframes loader-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.95); }
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: var(--transition);
}

.nav.scrolled {
    height: var(--nav-scroll-height);
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: var(--transition);
}

.logo:hover .logo-text {
    background-color: var(--color-accent-tint);
}

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

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-slate-lightest);
    transition: var(--transition);
}

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

.nav-number {
    color: var(--color-accent);
    margin-right: 0.25rem;
}

.nav-button {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-button:hover {
    background-color: var(--color-accent-tint);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.hamburger {
    position: relative;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.hamburger::before {
    top: -10px;
}

.hamburger::after {
    top: 10px;
}

.nav-toggle.active .hamburger {
    background-color: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(75vw, 400px);
    height: 100vh;
    background-color: var(--color-navy-light);
    padding: 100px 50px;
    z-index: 99;
    transition: var(--transition-slow);
    box-shadow: -10px 0 30px -15px rgba(2, 12, 27, 0.7);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.mobile-link {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--color-slate-lightest);
}

/* ========================================
   Social Sidebars
   ======================================== */
.social-sidebar {
    position: fixed;
    bottom: 0;
    width: var(--sidebar-width);
    z-index: 10;
}

.social-sidebar.left {
    left: 40px;
}

.social-sidebar.right {
    right: 40px;
}

.social-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.social-list::after {
    content: '';
    width: 1px;
    height: 90px;
    background-color: var(--color-slate-light);
    margin-top: 1rem;
}

.social-list a {
    color: var(--color-slate-light);
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-list a:hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}

.email-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-slate-light);
    writing-mode: vertical-rl;
    letter-spacing: 0.1em;
}

.email-link::after {
    content: '';
    display: block;
    width: 1px;
    height: 90px;
    background-color: var(--color-slate-light);
    margin: 1rem auto 0;
}

.email-link:hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 150px;
    max-width: 1600px;
    margin: 0 auto;
}

.hero-content {
    max-width: 1000px;
}

.hero-greeting {
    font-family: var(--font-mono);
    color: var(--color-accent);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    animation-delay: 0.1s;
}

.hero-name {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 800;
    color: var(--color-slate-lightest);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    animation-delay: 0.2s;
}

.hero-tagline {
    font-size: clamp(30px, 6vw, 60px);
    font-weight: 700;
    color: var(--color-slate);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation-delay: 0.3s;
}

.hero-description {
    max-width: 540px;
    font-size: 1.15rem;
    color: var(--color-slate);
    margin-bottom: 2.5rem;
    animation-delay: 0.4s;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    animation-delay: 0.5s;
}

/* Buttons */
.btn {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    padding: 1.25rem 1.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-tint);
}

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

.btn-outline:hover {
    background-color: var(--color-accent-tint);
}

.btn-large {
    font-size: 1rem;
    padding: 1.5rem 2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-slate);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.mouse {
    width: 20px;
    height: 35px;
    border: 2px solid var(--color-slate);
    border-radius: 10px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll-wheel {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 18px; }
}

/* Animation Fade Up */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

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

/* ========================================
   Section Styles
   ======================================== */
.section {
    padding: 100px 150px;
    max-width: 1600px;
    margin: 0 auto;
}

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

.section-title {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 700;
    color: var(--color-slate-lightest);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.section-title::after {
    content: '';
    display: block;
    width: 300px;
    height: 1px;
    background-color: var(--color-navy-lightest);
    margin-left: 1rem;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--color-accent);
    font-weight: 400;
}

/* ========================================
   About Section
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 200px));
    gap: 0.5rem 1rem;
    margin-top: 1.5rem;
}

.skills-list li {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-slate);
}

.skills-list li::before {
    content: '▹';
    color: var(--color-accent);
    margin-right: 0.5rem;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent);
    border-radius: 8px;
    z-index: -1;
    transition: var(--transition);
}

.image-wrapper:hover::before {
    top: 15px;
    left: 15px;
}

.image-wrapper img {
    border-radius: 8px;
    filter: grayscale(50%);
    transition: var(--transition);
}

.image-wrapper:hover img {
    filter: none;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    mix-blend-mode: multiply;
    opacity: 0.3;
    transition: var(--transition);
}

.image-wrapper:hover .image-overlay {
    opacity: 0;
}

/* ========================================
   GitHub Dashboard (in Projects section)
   ======================================== */
.github-dashboard {
    background-color: var(--color-navy-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 4rem;
    border: 1px solid var(--color-navy-lightest);
}

.github-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.github-profile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.github-profile-link > i {
    font-size: 1.75rem;
    color: var(--color-accent);
}

.github-profile-link a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-slate-lightest);
    font-family: var(--font-mono);
    font-size: 1.1rem;
    transition: var(--transition);
}

.github-profile-link a:hover {
    color: var(--color-accent);
}

.github-username {
    font-weight: 600;
}

.github-arrow {
    transition: var(--transition);
}

.github-profile-link a:hover .github-arrow {
    transform: translateX(4px);
}

.github-tagline {
    color: var(--color-slate);
    font-size: 0.9rem;
}

.github-repos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.repo-card {
    background-color: var(--color-navy);
    border: 1px solid var(--color-navy-lightest);
    border-radius: 8px;
    padding: 1.25rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.repo-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.repo-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.repo-card-header i {
    color: var(--color-accent);
    font-size: 1rem;
}

.repo-name {
    color: var(--color-accent);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
}

.repo-description {
    color: var(--color-slate);
    font-size: 0.85rem;
    line-height: 1.5;
    flex-grow: 1;
}

.repo-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.repo-lang {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--color-slate);
}

.lang-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.lang-dot.cpp { background-color: #f34b7d; }
.lang-dot.python { background-color: #3572A5; }
.lang-dot.javascript { background-color: #f1e05a; }
.lang-dot.typescript { background-color: #3178c6; }
.lang-dot.html { background-color: #e34c26; }
.lang-dot.css { background-color: #563d7c; }
.lang-dot.rust { background-color: #dea584; }
.lang-dot.java { background-color: #b07219; }
.lang-dot.dart { background-color: #00B4AB; }

.repo-info {
    font-size: 0.8rem;
    color: var(--color-slate);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.repo-card-more {
    background-color: transparent;
    border-style: dashed;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.repo-card-more .repo-card-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-slate);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.repo-card-more:hover .repo-card-content {
    color: var(--color-accent);
}

.repo-card-more i:first-child {
    font-size: 1.5rem;
}

.repo-card-more i:last-child {
    transition: var(--transition);
}

.repo-card-more:hover i:last-child {
    transform: translateX(4px);
}

/* ========================================
   Experience Section
   ======================================== */
.experience-container {
    display: flex;
    gap: 2rem;
}

.experience-tabs {
    display: flex;
    flex-direction: column;
    min-width: 180px;
    border-left: 2px solid var(--color-navy-lightest);
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-slate);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    border-left: 2px solid transparent;
    margin-left: -2px;
}

.tab-button:hover {
    background-color: var(--color-navy-light);
    color: var(--color-accent);
}

.tab-button.active {
    color: var(--color-accent);
    background-color: var(--color-navy-light);
    border-left-color: var(--color-accent);
}

.experience-content {
    flex: 1;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.job-title {
    font-size: 1.25rem;
    color: var(--color-slate-lightest);
    margin-bottom: 0.25rem;
}

.company {
    color: var(--color-accent);
}

.job-duration {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-slate);
    margin-bottom: 1.5rem;
}

.job-description {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.job-description li {
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.job-description li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* ========================================
   Education Section
   ======================================== */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg, var(--color-accent), var(--color-navy-lightest));
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-accent);
    border: 3px solid var(--color-navy);
    transform: translateX(-5px);
}

.timeline-content {
    background-color: var(--color-navy-light);
    padding: 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(5px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.timeline-header h3 {
    color: var(--color-slate-lightest);
    font-size: 1.15rem;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-accent);
}

.institution {
    color: var(--color-slate-light);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

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

.tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background-color: var(--color-accent-tint);
    color: var(--color-accent);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.certification-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.certification-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.certification-list li i {
    color: var(--color-accent);
}

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

.skill-category {
    background-color: var(--color-navy-light);
    padding: 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.skill-category h3 {
    color: var(--color-slate-lightest);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-category h3 i {
    color: var(--color-accent);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

.skill-item i {
    font-size: 1.5rem;
    color: var(--color-accent);
    width: 30px;
}

.skill-item span {
    font-size: 0.9rem;
    color: var(--color-slate-lightest);
}

.skill-bar {
    width: 100px;
    height: 6px;
    background-color: var(--color-navy-lightest);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), #00d4aa);
    width: var(--progress);
    border-radius: 3px;
    transition: width 1s ease;
}

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

.skill-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    background-color: var(--color-navy);
    color: var(--color-slate-light);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.skill-tag:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.soft-skills .skill-tag {
    background-color: var(--color-accent-tint);
    color: var(--color-accent);
}

/* ========================================
   Projects Section
   ======================================== */
.featured-projects {
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin-bottom: 80px;
}

.featured-project {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: 10px;
}

.project-content {
    grid-column: 1 / 7;
    position: relative;
    z-index: 2;
}

.project-overline {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.75rem;
    color: var(--color-slate-lightest);
    margin-bottom: 1.5rem;
}

.project-title a {
    color: inherit;
    transition: var(--transition);
}

.project-title a:hover {
    color: var(--color-accent);
}

.project-description {
    background-color: var(--color-navy-light);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.project-description p {
    font-size: 1rem;
    color: var(--color-slate-light);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.project-tech li {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-slate);
}

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

.project-links a {
    color: var(--color-slate-lightest);
    font-size: 1.25rem;
    transition: var(--transition);
}

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

.project-image {
    grid-column: 6 / -1;
    grid-row: 1;
    position: relative;
}

.project-image a {
    display: block;
    border-radius: 4px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    filter: grayscale(50%) contrast(1) brightness(0.9);
    transition: var(--transition);
}

.project-image a:hover img {
    filter: none;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    mix-blend-mode: multiply;
    opacity: 0.2;
    border-radius: 4px;
    transition: var(--transition);
    pointer-events: none;
}

.project-image:hover::before {
    opacity: 0;
}

/* Reversed project */
.featured-project.reverse .project-content {
    grid-column: 7 / -1;
    text-align: right;
}

.featured-project.reverse .project-tech {
    justify-content: flex-end;
}

.featured-project.reverse .project-links {
    justify-content: flex-end;
}

.featured-project.reverse .project-image {
    grid-column: 1 / 8;
}

/* Other Projects */
.other-projects-title {
    font-size: 1.5rem;
    color: var(--color-slate-lightest);
    text-align: center;
    margin-bottom: 3rem;
}

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

.project-card {
    background-color: var(--color-navy-light);
    padding: 2rem 1.75rem;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-7px);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.project-card-header > i {
    font-size: 2.5rem;
    color: var(--color-accent);
}

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

.project-card-links a {
    color: var(--color-slate-lightest);
    font-size: 1.25rem;
    transition: var(--transition);
}

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

.project-card-title {
    font-size: 1.25rem;
    color: var(--color-slate-lightest);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.project-card:hover .project-card-title {
    color: var(--color-accent);
}

.project-card-description {
    font-size: 0.95rem;
    color: var(--color-slate);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.project-card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: auto;
}

.project-card-tech li {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-slate);
}

.show-more-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* ========================================
   Volunteer Section
   ======================================== */
.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.volunteer-card {
    background-color: var(--color-navy-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.volunteer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.volunteer-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-accent-tint);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.volunteer-icon i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.volunteer-card h3 {
    font-size: 1.15rem;
    color: var(--color-slate-lightest);
    margin-bottom: 0.25rem;
}

.volunteer-card h4 {
    font-size: 0.95rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.volunteer-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-slate);
    margin-bottom: 1rem;
}

.volunteer-card p:last-child {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    text-align: center;
    padding-bottom: 150px;
}

.contact-section .section-title {
    justify-content: center;
}

.contact-section .section-title::after {
    display: none;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-heading {
    font-size: clamp(30px, 5vw, 50px);
    color: var(--color-slate-lightest);
    margin-bottom: 1.5rem;
}

.contact-text {
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 2rem;
    text-align: center;
}

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

.footer-links {
    display: none;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--color-slate-light);
    font-size: 1.25rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-credit {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-slate);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-credit:hover {
    color: var(--color-accent);
}

.footer-attribution {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-slate);
}

.footer-attribution a {
    color: var(--color-accent);
}

/* ========================================
   Responsive Styles
   ======================================== */
@media screen and (max-width: 1080px) {
    .section {
        padding: 80px 100px;
    }

    .hero {
        padding: 0 100px;
    }

    .stats-section {
        padding: 60px 100px;
    }
}

@media screen and (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .experience-container {
        flex-direction: column;
    }

    .experience-tabs {
        flex-direction: row;
        border-left: none;
        border-bottom: 2px solid var(--color-navy-lightest);
        overflow-x: auto;
    }

    .tab-button {
        border-left: none;
        margin-left: 0;
        border-bottom: 2px solid transparent;
        margin-bottom: -2px;
    }

    .tab-button.active {
        border-bottom-color: var(--color-accent);
    }

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

    .featured-project {
        grid-template-columns: 1fr;
    }

    .project-content,
    .featured-project.reverse .project-content {
        grid-column: 1;
        text-align: left;
        padding: 2rem;
        background-color: var(--color-navy-light);
        border-radius: 8px;
        z-index: 3;
    }

    .featured-project.reverse .project-tech,
    .featured-project.reverse .project-links {
        justify-content: flex-start;
    }

    .project-image,
    .featured-project.reverse .project-image {
        display: none;
    }

    .project-description {
        background-color: transparent;
        padding: 0;
        box-shadow: none;
    }
}

@media screen and (max-width: 768px) {
    .section {
        padding: 60px 50px;
    }

    .hero {
        padding: 0 50px;
    }

    .stats-section {
        padding: 60px 50px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .social-sidebar {
        display: none;
    }

    .footer-links {
        display: flex;
    }

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

    .section-title::after {
        width: 100px;
    }

    .scroll-indicator {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .section {
        padding: 60px 25px;
    }

    .hero {
        padding: 0 25px;
    }

    .stats-section {
        padding: 40px 25px;
    }

    .nav-container {
        padding: 0 25px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

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

    .timeline {
        padding-left: 1rem;
    }

    .timeline-marker {
        left: -1rem;
    }

    .timeline-header {
        flex-direction: column;
    }

    .contribution-graph {
        padding: 1rem;
    }
}

/* ========================================
   Utilities & Animations
   ======================================== */
.hidden {
    display: none !important;
}

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

/* Intersection Observer animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Skill bar animation */
@keyframes skillLoad {
    from { width: 0; }
    to { width: var(--progress); }
}

.skill-item.visible .skill-progress {
    animation: skillLoad 1s ease forwards;
}

/* Print styles */
@media print {
    .nav,
    .social-sidebar,
    .mobile-menu,
    .loader,
    .scroll-indicator {
        display: none !important;
    }

    .section {
        padding: 40px 20px;
    }

    body {
        background-color: white;
        color: black;
    }
}
