/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700&display=swap');

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

:root {
    /* New Girly Pop Color Palette */
    --color-primary: #1aa3ba;      /* Bright Cyan/Blue - Primary */
    --color-primary-dark: #0d7a8a; /* Darker Cyan/Blue */
    --color-secondary: #6daf99;    /* Light Teal/Green */
    --color-neutral: #262222;      /* Dark Gray */
    --color-accent: #f2863d;       /* Orange/Coral */
    --color-accent-pink: #ea7182;  /* Pink/Coral */
    --color-accent-blue: #1aa3ba;  /* Bright Cyan/Blue */
    --color-accent-yellow: #f4b537; /* Yellow/Gold */
    --color-teal-dark: #14534c;    /* Dark Teal - kept in palette */
    --color-dark: #14534c;         /* Dark Teal */
    
    /* Legacy variable names for backward compatibility */
    --primary-color: #1aa3ba;
    --secondary-color: #6daf99;
    --accent-light: #6daf99;
    --accent-dark: #14534c;
    --accent-gradient: linear-gradient(135deg, #ea7182 0%, #f2863d 25%, #f4b537 50%, #1aa3ba 75%, #6daf99 100%);
    
    /* Monochrome Gradients for Resume Page - Darkened for WCAG AA contrast */
    --gradient-cyan: linear-gradient(135deg, #0d7a8a 0%, #0a5d6b 50%, #064e3b 100%);
    --gradient-yellow: linear-gradient(135deg, #b45309 0%, #92400e 50%, #78350f 100%);
    --gradient-teal: linear-gradient(135deg, #047857 0%, var(--color-teal-dark) 50%, #0a2e28 100%);
    --gradient-pink: linear-gradient(135deg, #db2777 0%, #be185d 50%, #9f1239 100%);
    --gradient-orange: linear-gradient(135deg, #c2410c 0%, #9a3412 50%, #7c2d12 100%);
    --gradient-light-teal: linear-gradient(135deg, #047857 0%, #065f46 50%, #064e3b 100%);
    
    /* Category-specific gradients for Projects Page */
    --gradient-category-elearning: var(--gradient-cyan);
    --gradient-category-ux-design: var(--gradient-yellow);
    --gradient-category-web-design: var(--gradient-cyan);
    --gradient-category-technical-writing: var(--gradient-orange);
    --gradient-category-videography: var(--gradient-pink);
    --gradient-category-project-management: var(--gradient-teal);
    --gradient-category-all: var(--gradient-light-teal);
    
    /* Accent Colors for Portfolio Cards */
    --accent-color: var(--color-teal-dark);
    --accent-teal: #6daf99;
    --accent-gray: #262222;
    --accent-orange: #f2863d;
    --accent-pink: #ea7182;
    --accent-blue: #1aa3ba;
    --accent-yellow: #f4b537;
    
    --background-color: #f8fffe;
    --background-light: #f8fffe;
    --background-dark: var(--color-teal-dark);
    --surface: rgba(255, 255, 255, 0.9);
    --surface-hover: rgba(255, 255, 255, 0.95);
    --text-color: #262222;
    --text-light: #262222;
    --text-muted: #262222;
    --border-color: rgba(234, 113, 130, 0.2);
    --border-light: rgba(234, 113, 130, 0.1);
    --hover-color: #ea7182;
    
    /* Modern Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(234, 113, 130, 0.1);
    --shadow-sm: 0 2px 4px 0 rgba(234, 113, 130, 0.1), 0 1px 2px 0 rgba(234, 113, 130, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(234, 113, 130, 0.15), 0 2px 4px -2px rgba(234, 113, 130, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(234, 113, 130, 0.2), 0 4px 6px -4px rgba(234, 113, 130, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(234, 113, 130, 0.2), 0 8px 10px -6px rgba(234, 113, 130, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(234, 113, 130, 0.25);
    --shadow-glow: 0 0 20px rgba(234, 113, 130, 0.3);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
    
    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: 
        radial-gradient(at 0% 0%, rgba(234, 113, 130, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(26, 163, 186, 0.05) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(244, 181, 55, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Styles */
h1:not(.hero-title) {
    background: linear-gradient(90deg, rgba(26, 163, 186, 1) 0%, rgba(19, 128, 145, 1) 17%, rgba(32, 117, 100, 0.99) 73%, rgba(49, 153, 118, 1) 97%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Projects page - Pink and Orange gradient */
body.projects-page .page-title {
    background: linear-gradient(90deg, #ea7182 0%, #f2863d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About page - Pink gradient (more pink than orange) */
body.about-page .page-title {
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact page - Cyan and Teal gradient */
body.contact-page .page-title {
    background: linear-gradient(90deg, #1aa3ba 0%, #6daf99 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1.hero-title {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    color: var(--color-teal-dark);
}

h3 {
    color: var(--color-teal-dark);
}

h4 {
    color: var(--color-teal-dark);
}

h5 {
    color: #262222;
}

p {
    color: #262222;
}

/* Base Link Styles - All links use solid color with underline */
/* Using darker shade for better contrast (WCAG 2.0 AA) */
a {
    color: var(--color-primary-dark);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
    transition: var(--transition);
    background: linear-gradient(to bottom, transparent 0%, transparent 100%);
    background-size: 100% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
}

a:hover {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 2px;
    background: linear-gradient(to bottom, rgba(26, 163, 186, 0.15) 0%, rgba(26, 163, 186, 0.15) 100%);
    background-size: 100% 100%;
    transform: translateY(-1px);
}

a:visited {
    color: var(--color-primary-dark);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
}

/* Exceptions - links that shouldn't have underline */
.nav-menu a,
.off-canvas-nav a,
.site-logo,
a.site-logo,
.footer-link,
.project-card,
.project-card-horizontal,
.project-card-filtered,
.btn-learn-more,
.btn-resume-link,
.btn-download-resume,
.btn-submit,
.btn-reset,
.project-link,
.category-tag,
.skip-link {
    text-decoration: none;
}

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

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    color: var(--text-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header::before {
    display: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-content .main-nav {
    margin-left: auto;
}

.site-title {
    display: inline-block;
    margin: 0;
    text-decoration: none;
    transition: var(--transition);
}

.site-logo {
    height: 50px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.site-title:hover .site-logo {
    opacity: 0.8;
    transform: scale(1.05);
}

.menu-toggle {
    background: rgba(20, 83, 76, 0.1);
    border: 2px solid rgba(20, 83, 76, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.625rem 1.25rem;
    display: none;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(20, 83, 76, 0.2);
    border-color: rgba(20, 83, 76, 0.5);
    color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(20, 83, 76, 0.2);
}

.menu-icon {
    display: block;
}

/* Navigation */
.main-nav {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
    position: relative;
    margin: 0;
    font-size: 0.9375rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--color-accent-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

.nav-menu a:hover {
    color: var(--text-color);
}

.nav-menu a.active {
    color: var(--text-color);
    font-weight: 500;
}

/* Off Canvas Menu */
.off-canvas-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-left: 1px solid var(--border-light);
    color: var(--text-color);
    z-index: 2000;
    transition: right 0.4s var(--ease-out-expo);
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.off-canvas-menu.active {
    right: 0;
}

.off-canvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.off-canvas-logo {
    display: inline-block;
    text-decoration: none;
    transition: var(--transition);
}

.off-canvas-logo .site-logo {
    height: 40px;
    width: auto;
    display: block;
}

.off-canvas-logo:hover .site-logo {
    opacity: 0.8;
    transform: scale(1.05);
}

.close-menu {
    background: rgba(19, 83, 76, 0.1);
    border: 2px solid rgba(19, 83, 76, 0.2);
    border-radius: var(--radius-full);
    color: var(--accent-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-weight: 600;
}

.close-menu:hover {
    background: rgba(19, 83, 76, 0.2);
    border-color: rgba(19, 83, 76, 0.4);
    color: var(--accent-dark);
    transform: rotate(90deg);
    box-shadow: 0 2px 8px rgba(19, 83, 76, 0.2);
}

.off-canvas-nav {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
}

.off-canvas-nav li {
    border-bottom: 1px solid var(--border-light);
}

.off-canvas-nav a {
    display: block;
    padding: 1.25rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
}


.off-canvas-nav a:hover::before,
.off-canvas-nav a.active::before {
    width: 4px;
}

.off-canvas-nav a:hover {
    background: rgba(19, 83, 76, 0.1);
    padding-left: 2rem;
    color: #0a2e28;
    font-weight: 600;
}

.off-canvas-nav a.active {
    background: rgba(19, 83, 76, 0.15);
    font-weight: 700;
    color: #0a2e28;
    border-left: 4px solid var(--accent-color);
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
    padding-bottom: 3rem; /* Consistent content-to-footer spacing on all pages */
    min-height: calc(100vh - 200px);
    position: relative;
}

/* Home page: no gap between last project section and footer */
body.home-page .main-content {
    padding-bottom: 0;
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 6rem;
    margin-bottom: 6rem;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image-wrapper {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(234, 113, 130, 0.04) 0%, rgba(26, 163, 186, 0.03) 40%, transparent 55%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: fadeInUp 0.8s var(--ease-out-expo);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: #262222;
    line-height: 1.8;
    font-weight: 400;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}

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

/* Section Titles */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 4rem;
    color: #14534c;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--text-color);
    border-radius: var(--radius-full);
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Full Width Project Sections for Home Page */
.project-section-full {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Color backgrounds for each section */
.project-section-full[data-color="primary-dark"] {
    background-color: var(--color-primary-dark);
}

.project-section-full[data-color="accent"] {
    background-color: var(--color-accent);
}

.project-section-full[data-color="dark"] {
    background-color: var(--color-dark);
}

.project-section-full[data-color="secondary"] {
    background-color: var(--color-secondary); /* Original brand color #6daf99 */
}

.project-section-full[data-color="cyan"] {
    background-color: var(--color-primary); /* Original brand color #1aa3ba */
}

.project-section-full[data-color="yellow"] {
    background-color: var(--color-accent-yellow); /* Original brand color #f4b537 */
}

.project-section-full[data-color="pink"] {
    background-color: #ea7182; /* Original brand color */
}

.project-section-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem 0;
    min-height: 500px;
}

.project-section-reversed {
    flex-direction: row-reverse;
}

.project-section-image {
    flex: 1;
    max-width: 50%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    border-radius: 12px;
}

.project-section-image .project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out-expo);
}

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

.project-section-image .project-image {
    transition: transform 0.6s var(--ease-out-expo);
}

.project-section-text {
    flex: 1;
    max-width: 50%;
    padding: 2rem;
}

.project-section-text .project-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #ffffff;
}

.project-section-text .project-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

/* Learn More Button */
.btn-learn-more {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent; /* Hollow/transparent button */
    color: var(--color-neutral); /* Dark gray text */
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-neutral); /* Dark border */
}

.btn-learn-more:hover {
    background: rgba(38, 34, 34, 0.1); /* Slight gray tint on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(38, 34, 34, 0.2);
    border-color: var(--color-neutral);
}

/* Button colors for different section backgrounds */
/* Dark sections - white button with dark text */
.project-section-full[data-color="primary-dark"] .btn-learn-more {
    background: #ffffff;
    color: var(--color-primary-dark);
}

.project-section-full[data-color="primary-dark"] .btn-learn-more:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.project-section-full[data-color="accent"] .btn-learn-more {
    background: #ffffff;
    color: var(--color-accent);
}

.project-section-full[data-color="accent"] .btn-learn-more:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.project-section-full[data-color="dark"] .btn-learn-more {
    background: #ffffff;
    color: var(--color-dark);
}

.project-section-full[data-color="dark"] .btn-learn-more:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Bright sections - transparent/hollow buttons with dark border */
.project-section-full[data-color="secondary"] .btn-learn-more,
.project-section-full[data-color="cyan"] .btn-learn-more,
.project-section-full[data-color="yellow"] .btn-learn-more,
.project-section-full[data-color="pink"] .btn-learn-more {
    background: transparent;
    color: var(--color-neutral); /* Dark gray text */
    border-color: var(--color-neutral);
}

.project-section-full[data-color="secondary"] .btn-learn-more:hover,
.project-section-full[data-color="cyan"] .btn-learn-more:hover,
.project-section-full[data-color="yellow"] .btn-learn-more:hover,
.project-section-full[data-color="pink"] .btn-learn-more:hover {
    background: rgba(38, 34, 34, 0.1); /* Slight gray tint on hover */
    color: var(--color-neutral);
}

/* Text colors - dark text on bright backgrounds, white on dark backgrounds */
.project-section-full .project-title,
.project-section-full .project-description {
    color: #ffffff; /* Default for dark sections */
}

/* Dark sections - keep white text */
.project-section-full[data-color="primary-dark"] .project-title,
.project-section-full[data-color="primary-dark"] .project-description,
.project-section-full[data-color="accent"] .project-title,
.project-section-full[data-color="accent"] .project-description,
.project-section-full[data-color="dark"] .project-title,
.project-section-full[data-color="dark"] .project-description {
    color: #ffffff;
}

/* Bright sections - use dark gray text for WCAG AA contrast */
.project-section-full[data-color="secondary"] .project-title,
.project-section-full[data-color="secondary"] .project-description {
    color: var(--color-neutral); /* Dark gray #262222 - meets WCAG AA */
}

.project-section-full[data-color="cyan"] .project-title,
.project-section-full[data-color="cyan"] .project-description {
    color: var(--color-neutral); /* Dark gray #262222 - meets WCAG AA */
}

.project-section-full[data-color="yellow"] .project-title,
.project-section-full[data-color="yellow"] .project-description {
    color: var(--color-neutral); /* Dark gray #262222 - meets WCAG AA */
}

.project-section-full[data-color="pink"] .project-title,
.project-section-full[data-color="pink"] .project-description {
    color: var(--color-neutral); /* Dark gray #262222 - meets WCAG AA */
}

/* Responsive styles for full-width project sections */
@media (max-width: 968px) {
    .project-section-content {
    flex-direction: column;
    gap: 2rem;
        padding: 3rem 1.5rem;
        min-height: auto;
    }

    .project-section-reversed {
        flex-direction: column;
    }

    .project-section-image {
        max-width: 100%;
        width: 100%;
        min-height: 300px;
    }

    .project-section-text {
        max-width: 100%;
        padding: 0;
        text-align: center;
    }

    .project-section-text .project-title,
    .project-section-text .project-description {
        text-align: center;
    }

    .project-section-text .btn-learn-more {
        display: block;
        margin: 0 auto;
        width: fit-content;
    }
}

@media (max-width: 480px) {
    .project-section-content {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .project-section-text {
        padding: 0;
        text-align: center;
    }

    .project-section-text .project-title,
    .project-section-text .project-description {
        text-align: center;
    }

    .project-section-text .btn-learn-more {
        display: block;
        margin: 0 auto;
        width: fit-content;
    }

    .project-section-image {
        min-height: 250px;
    }
}

/* Horizontal Project Cards for Home Page (legacy - can be removed if not needed elsewhere) */
.projects-grid-horizontal {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.project-card-horizontal {
    display: flex;
    flex-direction: row;
    background: var(--surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-slow);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
    min-height: 320px;
    height: 320px;
    position: relative;
}

.project-card-horizontal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-category-all);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.project-card-horizontal[data-category="elearning"]::before {
    background: var(--gradient-category-elearning);
}

.project-card-horizontal[data-category="ux-design"]::before {
    background: var(--gradient-category-ux-design);
}

.project-card-horizontal[data-category="technical-writing"]::before {
    background: var(--gradient-category-technical-writing);
}

.project-card-horizontal[data-category="videography"]::before {
    background: var(--gradient-category-videography);
}

.project-card-horizontal[data-category="project-management"]::before {
    background: var(--gradient-category-project-management);
}

.project-card-horizontal > * {
    position: relative;
    z-index: 1;
}

.project-card-horizontal:hover::before {
    opacity: 0.03;
}

.project-card-horizontal.project-card-reversed {
    flex-direction: row-reverse;
}

.project-card-horizontal:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: var(--shadow-2xl), 0 0 30px rgba(234, 113, 130, 0.25);
    text-decoration: none;
    color: inherit;
    border-color: rgba(234, 113, 130, 0.4);
}

.project-card-horizontal[data-category="project-management"]:hover {
    box-shadow: var(--shadow-2xl), 0 0 30px rgba(20, 83, 76, 0.4);
    border-color: rgba(20, 83, 76, 0.6);
}

.project-card-horizontal[data-category="elearning"]:hover {
    box-shadow: var(--shadow-2xl), 0 0 30px rgba(26, 163, 186, 0.4);
    border-color: rgba(26, 163, 186, 0.6);
}

.project-card-horizontal[data-category="technical-writing"]:hover {
    box-shadow: var(--shadow-2xl), 0 0 30px rgba(242, 134, 61, 0.4);
    border-color: rgba(242, 134, 61, 0.6);
}

.project-card-horizontal[data-category="videography"]:hover {
    box-shadow: var(--shadow-2xl), 0 0 30px rgba(234, 113, 130, 0.4);
    border-color: rgba(234, 113, 130, 0.6);
}

.project-card-horizontal[data-category="ux-design"]:hover {
    box-shadow: var(--shadow-2xl), 0 0 30px rgba(244, 181, 55, 0.4);
    border-color: rgba(244, 181, 55, 0.6);
}

/* Project card backgrounds using new girly pop color palette */
.project-card-horizontal[data-category="project-management"] {
    background: linear-gradient(135deg, rgba(20, 83, 76, 0.12) 0%, rgba(20, 83, 76, 0.06) 100%);
    border: 2px solid rgba(20, 83, 76, 0.3);
    box-shadow: 0 4px 20px rgba(20, 83, 76, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.project-card-horizontal[data-category="elearning"] {
    background: linear-gradient(135deg, rgba(26, 163, 186, 0.12) 0%, rgba(26, 163, 186, 0.06) 100%);
    border: 2px solid rgba(26, 163, 186, 0.3);
    box-shadow: 0 4px 20px rgba(26, 163, 186, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.project-card-horizontal[data-category="technical-writing"] {
    background: linear-gradient(135deg, rgba(242, 134, 61, 0.12) 0%, rgba(242, 134, 61, 0.06) 100%);
    border: 2px solid rgba(242, 134, 61, 0.3);
    box-shadow: 0 4px 20px rgba(242, 134, 61, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.project-card-horizontal[data-category="videography"] {
    background: linear-gradient(135deg, rgba(234, 113, 130, 0.12) 0%, rgba(234, 113, 130, 0.06) 100%);
    border: 2px solid rgba(234, 113, 130, 0.3);
    box-shadow: 0 4px 20px rgba(234, 113, 130, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.project-card-horizontal[data-category="ux-design"] {
    background: linear-gradient(135deg, rgba(244, 181, 55, 0.12) 0%, rgba(244, 181, 55, 0.06) 100%);
    border: 2px solid rgba(244, 181, 55, 0.3);
    box-shadow: 0 4px 20px rgba(244, 181, 55, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.project-image-wrapper-horizontal {
    width: 400px;
    min-width: 400px;
    height: 100%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--background-light);
    align-self: stretch;
    position: relative;
}

.project-image-wrapper-horizontal::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.project-image-wrapper-horizontal .project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out-expo);
}

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

.project-content-horizontal {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.project-content-horizontal .project-title {
    margin-bottom: 1.25rem;
    color: var(--text-color);
    text-align: left;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.project-card-horizontal:hover .project-content-horizontal .project-title {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-content-horizontal .project-description {
    margin-bottom: 0;
    color: #262222;
    line-height: 1.8;
    text-align: left;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

@media (max-width: 768px) {
    .project-card-horizontal {
        flex-direction: column;
        min-height: auto;
    }
    
    .project-image-wrapper-horizontal {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }
}

.project-card {
    background: var(--surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-slow);
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-light-teal);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.project-card > * {
    position: relative;
    z-index: 1;
}

.project-card:hover::before {
    opacity: 0.03;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl), 0 0 20px rgba(19, 83, 76, 0.2);
    border-color: rgba(19, 83, 76, 0.4);
    text-decoration: none;
    color: inherit;
}

/* Project Images */
.project-image-wrapper {
    width: calc(100% + 4rem);
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    margin: -2rem -2rem 1.5rem -2rem;
    background: #f0f0f0;
}

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

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

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

.project-description {
    margin-bottom: 1.5rem;
    color: #262222;
    line-height: 1.7;
}

.project-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary-dark); /* Darkened for WCAG AA contrast */
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    pointer-events: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    box-shadow: var(--shadow-sm);
}

.project-card:hover .project-link,
.project-card-filtered:hover .project-link {
    background: var(--color-dark);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(20, 83, 76, 0.4);
}

/* Projects List */
.projects-list {
    margin: 0 auto;
}

.project-detail {
    background: #f9f9f9;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.project-detail-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-detail-content {
    line-height: 1.8;
    color: #262222;
}

.project-detail-content p {
    margin-bottom: 1rem;
}

/* About Content */
.about-content {
    margin: 0 auto 3rem auto;
}

.about-section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 0.5rem;
}

.about-text {
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #262222;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* About Values */
.about-values {
    margin: 0 auto 3rem auto;
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    background: #fff;
    border-radius: 6px;
    color: #262222;
    line-height: 1.6;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.values-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-primary);
    border-radius: 6px 0 0 6px;
}

.values-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.values-list li:last-child {
    margin-bottom: 0;
}

/* What I Do Outside of Work */
.about-outside-work {
    margin: 0 auto 3rem auto;
}

.outside-work-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Responsive grid wrapping for smaller screens */
@media (max-width: 1024px) {
    .outside-work-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .outside-work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .outside-work-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.outside-work-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.outside-work-image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #f9f9f9;
    position: relative;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(234, 113, 130, 0.1) 0%, rgba(26, 163, 186, 0.1) 50%, rgba(244, 181, 55, 0.1) 100%);
    color: var(--color-neutral);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    padding: 1rem;
}

.outside-work-image-wrapper img,
.outside-work-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s var(--ease-out-expo);
}

.outside-work-item:hover .outside-work-image-wrapper img,
.outside-work-item:hover .outside-work-image {
    transform: scale(1.05);
}

/* Location tag on hover */
.outside-work-location {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(38, 34, 34, 0.95) 0%, rgba(38, 34, 34, 0.85) 100%);
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.outside-work-item:hover .outside-work-location {
    opacity: 1;
    transform: translateY(0);
}

.location-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.outside-work-caption {
    color: #262222;
    font-size: 0.9375rem;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

/* Technology Skills */
.about-skills {
    margin: 0 auto 3rem auto;
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.tech-skill-item {
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    text-align: center;
    border: 2px solid var(--border-color);
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-skill-item:hover {
    border-color: transparent;
    background: var(--accent-gradient);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(234, 113, 130, 0.3);
}

/* Learn More */
.about-learn-more {
    margin: 0 auto 3rem auto;
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.learn-more-content {
    color: var(--secondary-color);
    line-height: 1.8;
}

/* Work Together */
.about-work-together {
    margin: 0 auto 3rem auto;
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.work-together-content {
    color: #262222;
    line-height: 1.8;
}

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

.contact-cta {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 2rem !important;
}

.about-link {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.3s;
}

.about-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.resume-link-wrapper {
    margin-top: 2rem;
    text-align: center;
}

.btn-resume-link {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-primary-dark); /* Darkened for WCAG AA contrast */
    color: #fff !important;
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-resume-link:hover {
    background: var(--color-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 83, 76, 0.4);
    border-color: transparent;
}

/* Resume Content */
.resume-content {
    margin: 0 auto;
}

/* Resume Contact Information */
.resume-contact {
    background: #f9f9f9;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--color-primary-dark); /* Fallback */
    color: var(--color-neutral) !important; /* Dark text for contrast */
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

/* Email button - Brighter Orange gradient */
.btn-email {
    background: linear-gradient(135deg, #ff9a4d 0%, #ff8c3d 50%, #f2863d 100%);
    color: var(--color-neutral) !important;
}

.btn-email:hover {
    background: linear-gradient(135deg, #ff8c3d 0%, #f2863d 50%, #e67a35 100%);
    color: var(--color-neutral) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 154, 77, 0.5);
}

/* LinkedIn button - Brighter Pink gradient */
.btn-linkedin {
    background: linear-gradient(135deg, #ff8fa3 0%, #ff7a92 50%, #ea7182 100%);
    color: var(--color-neutral) !important;
}

.btn-linkedin:hover {
    background: linear-gradient(135deg, #ff7a92 0%, #ea7182 50%, #df6a7a 100%);
    color: var(--color-neutral) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 127, 162, 0.5);
}

/* Resume PDF button - Brighter Yellow gradient */
.btn-resume {
    background: linear-gradient(135deg, #ffc947 0%, #ffbf37 50%, #f4b537 100%);
    color: var(--color-neutral) !important;
}

.btn-resume:hover {
    background: linear-gradient(135deg, #ffbf37 0%, #f4b537 50%, #e5a428 100%);
    color: var(--color-neutral) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 201, 71, 0.5);
}

.btn-contact:active {
    transform: translateY(-1px);
}

.btn-contact .contact-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.contact-link:hover {
    color: var(--color-primary-dark);
    transform: translateX(4px);
}

.contact-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-link:hover .contact-icon {
    transform: scale(1.1);
}

.btn-download-resume {
    padding: 1rem 2rem;
    background: var(--color-primary-dark); /* Darkened for WCAG AA contrast */
    color: #fff !important;
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-download-resume:hover {
    background: var(--color-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 83, 76, 0.4);
    border-color: transparent;
}

.btn-download-resume:active {
    transform: translateY(-1px);
}

/* Resume Sections */
.resume-section {
    background: #f9f9f9;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.resume-section:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.resume-section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary-dark); /* Primary Dark Cyan - passes WCAG AA */
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.resume-section-title .section-icon {
    width: 28px;
    height: 28px;
    fill: var(--color-primary);
    flex-shrink: 0;
}

.section-toggle {
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-icon {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.resume-section-content {
    max-height: 5000px;
    overflow: visible;
    transition: max-height 0.5s ease, opacity 0.3s ease;
    opacity: 1;
    display: block;
}

.resume-section-content.collapsed {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.resume-section-title.collapsed {
    border-bottom: none;
    margin-bottom: 0;
}

/* Education Items */
.education-item {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.education-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #ffc947 0%, #ffbf37 50%, #f4b537 100%);
    border-radius: 6px 0 0 6px;
}

/* Scroll-to-reveal animations - initial state (only if JS adds scroll-reveal class) */
.resume-contact.scroll-reveal:not(.animate-in) {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.resume-section-title.scroll-reveal:not(.animate-in) {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.skill-category.scroll-reveal:not(.animate-in) {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.work-bullets li.scroll-reveal:not(.animate-in) {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.education-details.scroll-reveal:not(.animate-in),
.education-meta.scroll-reveal:not(.animate-in),
.education-involvement.scroll-reveal:not(.animate-in) {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.work-description.scroll-reveal:not(.animate-in),
.work-position.scroll-reveal:not(.animate-in),
.work-company.scroll-reveal:not(.animate-in) {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Work year label scroll reveal removed */

.work-item.scroll-reveal:not(.animate-in) {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Animate-in state */
.resume-contact.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.resume-section-title.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.skill-category.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.work-bullets li.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.education-details.animate-in,
.education-meta.animate-in,
.education-involvement.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.work-description.animate-in,
.work-position.animate-in,
.work-company.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.education-item.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Work year label animate-in removed */

.work-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.education-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.education-institution {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-neutral); /* Dark Gray - passes WCAG AA */
    margin: 0;
}

.education-degree {
    font-size: 0.9rem;
    color: #262222;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.education-field {
    font-size: 1.1rem;
    color: var(--color-primary-dark); /* Primary Dark Cyan - passes WCAG AA */
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.education-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.education-graduation,
.education-gpa {
    color: #262222;
    font-size: 0.95rem;
}

.education-involvement {
    color: #262222;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.skill-category {
    background: #fff;
    padding: 1.5rem 1.25rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.skill-category:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    background: #f9f9f9;
}

.skill-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ffb3d1 0%, #ffa8c8 50%, #ff9ec0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Light color gradients for each skill category */
.skill-category[data-skill="uxui"] .skill-icon {
    background: linear-gradient(135deg, #ffb3d1 0%, #ffa8c8 50%, #ff9ec0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-category[data-skill="design-tools"] .skill-icon {
    background: linear-gradient(135deg, #ffe5b3 0%, #ffdd99 50%, #ffd580 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-category[data-skill="project-management"] .skill-icon {
    background: linear-gradient(135deg, #ffccb3 0%, #ffc299 50%, #ffb880 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-icon svg {
    width: 100%;
    height: 100%;
}

.skill-category:hover .skill-icon {
    transform: scale(1.1);
}

.skill-category-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-neutral); /* Dark Gray - passes WCAG AA */
    margin: 0;
    line-height: 1.4;
}

/* Work Year Labels */
/* Work year labels removed - no longer used */

/* Work History */
.work-item {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 6px;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.work-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #ff9a4d 0%, #ff8c3d 50%, #f2863d 100%);
    border-radius: 6px 0 0 6px;
}

.work-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.work-dates {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #262222;
    font-weight: 500;
}

.work-date-separator {
    color: var(--color-primary-dark); /* Primary Dark Cyan - passes WCAG AA */
}

.work-company {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-neutral); /* Dark Gray - passes WCAG AA */
    text-align: right !important;
    margin: 0;
}

.work-position {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-teal-dark); /* Dark Teal - passes WCAG AA */
    margin-bottom: 1rem;
}

.work-description {
    color: #262222;
    line-height: 1.7;
}

.work-bullets {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.work-bullets li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.work-bullets li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #f2863d; /* Warm orange color */
    font-weight: bold;
}

.skills-list,
.projects-list-resume {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.skills-list li,
.projects-list-resume li {
    padding: 0.75rem;
    background: #fff;
    border-radius: 4px;
    position: relative;
}

.skills-list li::before,
.projects-list-resume li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-light-teal);
    border-radius: 4px 0 0 4px;
}

/* Footer */
.site-footer {
    background: #0D7684;
    color: #fff;
    padding: 3rem 0;
    margin-top: 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
}

.footer-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: var(--transition);
}

.footer-link:hover .footer-icon {
    transform: scale(1.1);
}

.footer-theme-toggle {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.theme-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.theme-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    transition: var(--transition);
}

.theme-icon-light {
    display: block;
}

.theme-icon-dark {
    display: none;
}

body.dark-mode .theme-icon-light {
    display: none;
}

body.dark-mode .theme-icon-dark {
    display: block;
}

.theme-toggle-text {
    font-size: 0.9rem;
}

.copyright {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .hero-section {
        padding: 4rem 0 3rem;
        margin-bottom: 3rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        font-size: 1.1rem;
    }

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

    .project-detail,
    .about-text,
    .about-values,
    .about-skills,
    .about-learn-more,
    .about-work-together,
    .about-outside-work,
    .resume-section {
        padding: 1.5rem;
    }

    /* Grid wrapping handled by responsive breakpoints above */
    
    .outside-work-image-wrapper {
        aspect-ratio: 3 / 4;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-link {
        font-size: 0.95rem;
    }

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

    .about-section-title {
        font-size: 1.5rem;
    }

    .project-image-wrapper {
        height: 180px;
        margin: -1.5rem -1.5rem 1rem -1.5rem;
    }

    .project-card-filtered .project-image-wrapper {
        height: 180px;
        margin: -2rem -2rem 1rem -2rem;
    }

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

    .contact-buttons {
        flex-direction: column;
    }

    .btn-contact {
        width: 100%;
    }

    .education-header,
    .work-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .education-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    /* Work year label responsive styles removed */
}

/* Skill Tooltip */
.skill-tooltip {
    position: absolute;
    background: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.skill-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.skill-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--primary-color);
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-color);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Print Styles */
@media print {
    .scroll-progress,
    .skill-tooltip,
    .section-toggle,
    .btn-download-resume {
        display: none !important;
    }

    .resume-section-content {
        max-height: none !important;
        opacity: 1 !important;
    }

    .resume-section-title.collapsed {
        border-bottom: 2px solid var(--accent-color) !important;
        margin-bottom: 1.5rem !important;
    }

    .work-item,
    .education-item {
        opacity: 1 !important;
        transform: none !important;
        page-break-inside: avoid;
    }

    .resume-contact {
        page-break-after: avoid;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .site-footer {
        padding: 2rem 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    
    .footer-icon {
        width: 20px;
        height: 20px;
    }
    
    .theme-toggle-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .theme-icon {
        width: 18px;
        height: 18px;
    }

    .site-logo {
        height: 35px;
    }

    .hero-section {
        padding: 3rem 0 2rem;
        margin-bottom: 2rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-image-wrapper {
        width: 200px;
        height: 200px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        font-size: 1.75rem;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Project Filters */
.project-filters {
    display: none !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
}

.filter-btn {
    padding: 0.75rem 1.75rem;
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(20, 83, 76, 0.2);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    text-transform: capitalize;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    display: none;
}

.filter-btn:hover {
    background: rgba(109, 175, 153, 0.15);
    border-color: rgba(109, 175, 153, 0.4);
    color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 175, 153, 0.2);
    font-weight: 500;
    letter-spacing: 0;
}

.filter-btn[data-filter="elearning"]:hover {
    background: rgba(26, 163, 186, 0.15);
    border-color: rgba(26, 163, 186, 0.4);
    color: var(--color-accent-blue);
    box-shadow: 0 4px 12px rgba(26, 163, 186, 0.2);
}

.filter-btn[data-filter="ux-design"]:hover {
    background: rgba(244, 181, 55, 0.15);
    border-color: rgba(244, 181, 55, 0.4);
    color: var(--color-accent-yellow);
    box-shadow: 0 4px 12px rgba(244, 181, 55, 0.2);
}

.filter-btn[data-filter="technical-writing"]:hover {
    background: rgba(242, 134, 61, 0.15);
    border-color: rgba(242, 134, 61, 0.4);
    color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(242, 134, 61, 0.2);
}

.filter-btn[data-filter="videography"]:hover {
    background: rgba(234, 113, 130, 0.15);
    border-color: rgba(234, 113, 130, 0.4);
    color: var(--color-accent-pink);
    box-shadow: 0 4px 12px rgba(234, 113, 130, 0.2);
}

.filter-btn[data-filter="project-management"]:hover {
    background: rgba(20, 83, 76, 0.15);
    border-color: rgba(20, 83, 76, 0.4);
    color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(20, 83, 76, 0.2);
}

.filter-btn.active {
    background: var(--gradient-category-all) !important;
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(109, 175, 153, 0.3), 0 0 0 2px rgba(109, 175, 153, 0.1);
    font-weight: 700;
}

.filter-btn[data-filter="elearning"].active {
    background: var(--gradient-category-elearning) !important;
    box-shadow: 0 4px 12px rgba(26, 163, 186, 0.3), 0 0 0 2px rgba(26, 163, 186, 0.1);
}

.filter-btn[data-filter="ux-design"].active {
    background: var(--gradient-category-ux-design) !important;
    box-shadow: 0 4px 12px rgba(244, 181, 55, 0.3), 0 0 0 2px rgba(244, 181, 55, 0.1);
}

.filter-btn[data-filter="technical-writing"].active {
    background: var(--gradient-category-technical-writing) !important;
    box-shadow: 0 4px 12px rgba(242, 134, 61, 0.3), 0 0 0 2px rgba(242, 134, 61, 0.1);
}

.filter-btn[data-filter="videography"].active {
    background: var(--gradient-category-videography) !important;
    box-shadow: 0 4px 12px rgba(234, 113, 130, 0.3), 0 0 0 2px rgba(234, 113, 130, 0.1);
}

.filter-btn[data-filter="project-management"].active {
    background: var(--gradient-category-project-management) !important;
    box-shadow: 0 4px 12px rgba(20, 83, 76, 0.3), 0 0 0 2px rgba(20, 83, 76, 0.1);
}

.filter-btn.active::before {
    display: none;
}

/* Projects Grid with Filters */
.projects-grid-filtered {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 300px));
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.project-card-filtered {
    background: var(--surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    min-height: auto;
    height: 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}

.project-card-filtered::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-category-all);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.project-card-filtered[data-category="elearning"]::before {
    background: var(--gradient-category-elearning);
}

.project-card-filtered[data-category="ux-design"]::before {
    background: var(--gradient-category-ux-design);
}

.project-card-filtered[data-category="web-design"]::before {
    background: var(--gradient-category-web-design);
}

.project-card-filtered[data-category="technical-writing"]::before {
    background: var(--gradient-category-technical-writing);
}

.project-card-filtered[data-category="videography"]::before {
    background: var(--gradient-category-videography);
}

.project-card-filtered[data-category="project-management"]::before {
    background: var(--gradient-category-project-management);
}

.project-card-filtered > * {
    position: relative;
    z-index: 1;
}

.project-card-filtered:hover::before {
    opacity: 0.03;
}

.project-card-filtered:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl), 0 0 20px rgba(20, 83, 76, 0.2);
    border-color: rgba(20, 83, 76, 0.4);
    text-decoration: none;
    color: inherit;
}

.project-card-filtered.hidden {
    display: none;
}

.project-card-filtered .project-image-wrapper {
    width: calc(100% + 4rem);
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    margin: -2rem -2rem 1.5rem -2rem;
    background: #f0f0f0;
    flex-shrink: 0;
}

.project-card-filtered .project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.project-category-badge {
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.project-card-filtered .project-title {
    flex-shrink: 0;
    margin-bottom: 0.75rem;
    color: var(--color-neutral); /* Dark gray #262222 */
}

.project-card-filtered .project-description {
    display: none;
}

.project-card-filtered .project-skills-preview {
    margin: 0.75rem 0 0 0;
    padding: 0.75rem .75;
    background: #fff;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #262222;
    border-left: 3px solid var(--accent-color);
    flex-shrink: 0;
    line-height: 1.6;
}

.project-card-filtered .project-link {
    display: none;
}

.project-card-filtered:hover .project-link {
    background: var(--color-dark);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
    color: #fff;
}

/* Category Tags */
.category-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: capitalize;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.category-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

/* Category tags with branding colors - 50% opacity background, darker text/outline */
.category-elearning {
    background-color: rgba(26, 163, 186, 0.5); /* Primary cyan at 50% opacity */
    color: #064e3b; /* Very dark teal for text - passes WCAG AA */
    border: 1.5px solid #064e3b; /* Very dark teal outline */
}

.category-ux-design {
    background-color: rgba(244, 181, 55, 0.5); /* Yellow at 50% opacity */
    color: #78350f; /* Very dark yellow/brown for text - passes WCAG AA */
    border: 1.5px solid #78350f; /* Very dark yellow/brown outline */
}

.category-web-design {
    background-color: rgba(169, 150, 202, 0.5); /* Purple at 50% opacity */
    color: #652a94; /* Very dark purple for text - passes WCAG AA */
    border: 1.5px solid #6b21a8; /* Very dark purple outline */
}

.category-technical-writing {
    background-color: rgba(242, 134, 61, 0.5); /* Orange at 50% opacity */
    color: #7c2d12; /* Very dark orange for text - passes WCAG AA */
    border: 1.5px solid #7c2d12; /* Very dark orange outline */
}

.category-videography {
    background-color: rgba(234, 113, 130, 0.5); /* Pink at 50% opacity */
    color: #9f1239; /* Very dark pink for text - passes WCAG AA */
    border: 1.5px solid #9f1239; /* Very dark pink outline */
}

.category-project-management {
    background-color: rgba(109, 175, 153, 0.5); /* Secondary teal at 50% opacity */
    color: #064e3b; /* Very dark teal for text - passes WCAG AA */
    border: 1.5px solid #064e3b; /* Very dark teal outline */
}

.project-skills-preview {
    margin: 1rem 0;
    padding: 1rem;
    background: #fff;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #262222;
    position: relative;
}


.project-skills-preview strong {
    color: var(--primary-color);
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.breadcrumb a {
    color: var(--color-primary);
    text-decoration: underline;
}

.breadcrumb a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Project Page Styles */
.project-page {
    margin: 0 auto;
}

.project-page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Project Hero Image */
.project-hero-image {
    width: 100%;
    max-width: 100%;
    margin-bottom: 3rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.project-main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Video Embed Styles */
.video-embed-wrapper {
    width: 100%;
    margin: 3rem 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-embed {
    width: 100%;
    height: 100%;
}

/* Articulate Storyline Embed */
.storyline-embed-wrapper {
    width: 100%;
    margin: 2.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: #fff;
    border: 1px solid var(--border-color);
}

.storyline-container {
    position: relative;
    padding-bottom: 75%; /* 4:3 aspect ratio for eLearning content */
    height: 0;
    overflow: hidden;
    width: 100%;
    min-height: 600px;
}

.storyline-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.storyline-embed {
    width: 100%;
    height: 100%;
}

.storyline-embed-wrapper .embed-fallback {
    text-align: center;
    padding: 1rem;
    margin: 0;
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.storyline-embed-wrapper .embed-fallback a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
}

.storyline-embed-wrapper .embed-fallback a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* PDF Embed */
.pdf-embed-wrapper {
    width: 100%;
    margin: 2.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: #f5f5f5;
    border: 1px solid var(--border-color);
    position: relative;
    min-height: 1020px;
}

.pdf-embed {
    width: 100%;
    min-height: 800px;
    height: 1020px;
    border: none;
    display: block;
    background: #fff;
}

.pdf-fallback {
    text-align: center;
    padding: 1rem;
    margin: 0;
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.pdf-fallback a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
}

.pdf-fallback a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .pdf-embed-wrapper {
        min-height: 800px;
    }
    
    .pdf-embed {
        min-height: 600px;
        height: 800px;
    }
}

/* Responsive video adjustments */
@media (max-width: 768px) {
    .video-embed-wrapper {
        margin: 2rem 0;
        border-radius: 6px;
    }
    
    .storyline-embed-wrapper {
        margin: 2rem 0;
        border-radius: 6px;
    }
    
    .storyline-container {
        min-height: 500px;
        padding-bottom: 100%; /* Taller on mobile for better viewing */
    }
    
    .pdf-embed-wrapper {
        margin: 2rem 0;
        border-radius: 6px;
    }
    
    .pdf-embed {
        min-height: 600px;
        height: 800px;
    }
    
    .video-container {
        padding-bottom: 56.25%; /* Maintain 16:9 on mobile */
    }
}

.project-meta {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.project-category {
    margin-bottom: 1.5rem;
}

.project-skills {
    margin-top: 1.5rem;
}

.project-skills h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.skills-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skills-tags {
    list-style: none;
    display: block;
    padding-left: 0;
    margin: 0;
}

.skills-tags li {
    padding: 0.25rem 0;
    background: transparent;
    border: none;
    font-size: 0.95rem;
    color: var(--text-color);
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 0.25rem;
}

.project-content {
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    line-height: 1.8;
}

.project-content h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-content h2:first-child {
    margin-top: 0;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.project-content p {
    margin-bottom: 1.5rem;
    color: #262222;
}

.project-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: #262222;
}

.project-content ul li {
    margin-bottom: 0.75rem;
}

.project-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.btn-back {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-primary-dark); /* Darkened for WCAG AA contrast */
    color: #fff !important;
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-back:hover {
    background: var(--color-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 83, 76, 0.4);
    border-color: transparent;
}

/* Responsive adjustments for filters and project pages */
@media (max-width: 768px) {
    .project-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

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

    .project-page-title {
        font-size: 2rem;
    }

    .project-content {
        padding: 1.5rem;
    }

    .project-meta {
        padding: 1.5rem;
    }
}

/* Contact Form Styles */
.page-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #262222;
    text-align: center;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-form-section {
    max-width: 800px;
    margin: 3rem auto;
    background: #f9f9f9;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

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

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

.form-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-family);
    color: #262222;
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    line-height: 1.5;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(20, 83, 76, 0.1);
}

.form-input:invalid:not(:placeholder-shown),
.form-textarea:invalid:not(:placeholder-shown) {
    border-color: var(--color-accent);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-error {
    color: var(--color-accent);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error.show {
    display: block;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.btn-submit,
.btn-reset {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.01em;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-submit {
    background: var(--color-primary-dark); /* Darkened for WCAG AA contrast */
    color: #fff !important;
    box-shadow: var(--shadow-md);
}

.btn-submit:hover {
    background: var(--color-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 83, 76, 0.4);
    border-color: transparent;
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-reset {
    background: #ffffff;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.btn-reset:hover {
    background: var(--color-primary-dark); /* Darkened for WCAG AA contrast */
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.btn-reset:active {
    transform: translateY(0);
}

.contact-info-section {
    max-width: 800px;
    margin: 3rem auto;
}

.contact-info-card {
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.contact-info-title {
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info-text {
    color: #262222;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-email-direct {
    margin: 0;
}

.contact-email-link {
    font-size: 1.25rem;
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.contact-email-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
    transform: translateY(-2px);
}

/* Contact Form Responsive */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 2rem 1.5rem;
        margin: 2rem 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-submit,
    .btn-reset {
        width: 100%;
    }

    .contact-info-card {
        padding: 2rem 1.5rem;
    }
}

/* Dark Mode Support - Class-based for manual toggle */
body.dark-mode {
    /* Dark mode background colors */
    --background-color: #1a1a1a;
    --background-light: #1a1a1a;
    --surface: rgba(30, 30, 30, 0.95);
    --surface-hover: rgba(40, 40, 40, 0.95);
    
    /* Dark mode text colors */
    --text-color: #e8e8e8;
    --text-light: #e8e8e8;
    --text-muted: #b8b8b8;
    
    /* Dark mode borders */
    --border-color: rgba(234, 113, 130, 0.3);
    --border-light: rgba(234, 113, 130, 0.2);
    
    /* Dark mode shadows - lighter and more subtle */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(234, 113, 130, 0.2);
}

body.dark-mode {
    background-color: var(--background-color);
    background-image: 
        radial-gradient(at 0% 0%, rgba(234, 113, 130, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(26, 163, 186, 0.1) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(244, 181, 55, 0.08) 0px, transparent 50%);
    color: var(--text-color);
}

body.dark-mode .site-header {
    background: rgba(26, 26, 26, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
    color: #e8e8e8;
}

body.dark-mode h5 {
    color: #e8e8e8;
}

body.dark-mode p {
    color: #e8e8e8;
}

body.dark-mode .hero-subtitle {
    color: #e8e8e8; /* Light text for dark mode */
}

body.dark-mode .hero-section::before {
    background: radial-gradient(circle, rgba(234, 113, 130, 0.02) 0%, rgba(26, 163, 186, 0.015) 35%, transparent 50%);
}

body.dark-mode .project-card-filtered {
    background: var(--surface);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .project-card-filtered .project-title {
    color: #e8e8e8; /* Light text for dark mode */
}

body.dark-mode .project-card-filtered:hover {
    border-color: rgba(234, 113, 130, 0.4);
}

body.dark-mode .project-skills-preview {
    background: rgba(40, 40, 40, 0.8);
    color: var(--text-color);
}

body.dark-mode .project-skills-preview strong {
    color: #4dd0e1; /* Use primary cyan for emphasis in dark mode */
}

/* Category tags in dark mode - use lighter text */
body.dark-mode .category-tag {
    color: #e8e8e8;
}

body.dark-mode .category-elearning,
body.dark-mode .category-ux-design,
body.dark-mode .category-web-design,
body.dark-mode .category-technical-writing,
body.dark-mode .category-videography,
body.dark-mode .category-project-management {
    background-color: rgba(40, 40, 40, 0.8);
    color: #e8e8e8; /* Light text for dark mode */
    border-color: rgba(255, 255, 255, 0.3); /* Lighter border for visibility */
}

body.dark-mode .project-card-filtered .project-skills-preview {
    background: rgba(40, 40, 40, 0.8); /* Dark background for dark mode */
    color: #e8e8e8; /* Light text for dark mode */
    border-left: 3px solid var(--color-primary); /* Use primary color for border */
}

body.dark-mode .resume-contact {
    background: rgba(30, 30, 30, 0.8);
}

body.dark-mode .education-item,
body.dark-mode .work-item {
    background: var(--surface);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .skill-category {
    background: var(--surface);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .skill-category:hover {
    background: rgba(40, 40, 40, 0.8);
    border-color: rgba(234, 113, 130, 0.4);
}

body.dark-mode .about-text,
body.dark-mode .about-values,
body.dark-mode .about-skills,
body.dark-mode .about-learn-more {
    background: rgba(30, 30, 30, 0.6);
}

body.dark-mode .contact-form-section {
    background: var(--surface);
}

body.dark-mode .contact-info-text {
    color: #e8e8e8; /* Light text for dark mode */
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: rgba(40, 40, 40, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-color);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    border-color: var(--color-primary);
    background: rgba(50, 50, 50, 0.8);
}

body.dark-mode .site-footer {
    background: #0D7684;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* In dark mode, use darker backgrounds and white text for project sections */
body.dark-mode .project-section-full[data-color="cyan"] {
    background-color: rgba(13, 122, 138, 0.4); /* Darker cyan */
}

body.dark-mode .project-section-full[data-color="yellow"] {
    background-color: rgba(180, 85, 35, 0.55); /* Darker orange */
}

body.dark-mode .project-section-full[data-color="pink"] {
    background-color: rgba(200, 80, 100, 0.4); /* Darker pink */
}

body.dark-mode .project-section-full[data-color="secondary"] {
    background-color: rgba(50, 120, 100, 0.4); /* Darker teal */
}

body.dark-mode .project-section-full[data-color="cyan"] .project-title,
body.dark-mode .project-section-full[data-color="cyan"] .project-description,
body.dark-mode .project-section-full[data-color="yellow"] .project-title,
body.dark-mode .project-section-full[data-color="yellow"] .project-description,
body.dark-mode .project-section-full[data-color="pink"] .project-title,
body.dark-mode .project-section-full[data-color="pink"] .project-description,
body.dark-mode .project-section-full[data-color="secondary"] .project-title,
body.dark-mode .project-section-full[data-color="secondary"] .project-description {
    color: #ffffff; /* White text on darker backgrounds */
}

/* Button styles for dark mode project sections */
body.dark-mode .project-section-full[data-color="secondary"] .btn-learn-more,
body.dark-mode .project-section-full[data-color="cyan"] .btn-learn-more,
body.dark-mode .project-section-full[data-color="yellow"] .btn-learn-more,
body.dark-mode .project-section-full[data-color="pink"] .btn-learn-more {
    background: transparent;
    color: #ffffff; /* White text */
    border-color: #ffffff; /* White border */
}

body.dark-mode .project-section-full[data-color="secondary"] .btn-learn-more:hover,
body.dark-mode .project-section-full[data-color="cyan"] .btn-learn-more:hover,
body.dark-mode .project-section-full[data-color="yellow"] .btn-learn-more:hover,
body.dark-mode .project-section-full[data-color="pink"] .btn-learn-more:hover {
    background: rgba(255, 255, 255, 0.1); /* Slight white tint on hover */
    color: #ffffff;
    border-color: #ffffff;
}

body.dark-mode .resume-section-title {
    color: #4dd0e1;
}

body.dark-mode .education-institution,
body.dark-mode .work-company,
body.dark-mode .skill-category-title {
    color: #e8e8e8;
}

body.dark-mode .work-position {
    color: #6daf99;
}

body.dark-mode .education-field {
    color: #4dd0e1;
}

body.dark-mode .project-content {
    color: var(--text-color);
}

body.dark-mode .project-content h2,
body.dark-mode .project-content h3 {
    color: #e8e8e8;
}

body.dark-mode a {
    color: #4dd0e1;
}

body.dark-mode a:hover {
    color: #80deea;
}

body.dark-mode .off-canvas-menu {
    background: rgba(26, 26, 26, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .off-canvas-nav a {
    color: var(--text-color);
}

body.dark-mode .off-canvas-nav a:hover {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Menu toggle in dark mode */
body.dark-mode .menu-toggle {
    background: rgba(40, 40, 40, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    color: #e8e8e8;
}

body.dark-mode .menu-toggle:hover {
    background: rgba(50, 50, 50, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* Breadcrumb in dark mode */
body.dark-mode .breadcrumb {
    color: #b8b8b8; /* Muted light text */
}

body.dark-mode .breadcrumb a {
    color: #4dd0e1; /* Use primary cyan for links */
}

body.dark-mode .breadcrumb a:hover {
    color: #80deea; /* Lighter cyan on hover */
}

/* Dark mode: ensure all text has accessible contrast (WCAG AA) */

/* Page titles - colored to match light mode per page (gradients fail on dark bg) */
body.dark-mode .page-title {
    color: #e8e8e8;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

/* Projects page - pink/coral to match light pink-orange */
body.dark-mode.projects-page .page-title {
    color: #f8a5b5;
}

/* Contact page - cyan to match light cyan-teal */
body.dark-mode.contact-page .page-title {
    color: #4dd0e1;
}

/* Resume page - teal/cyan to match light gradient */
body.dark-mode.resume-page .page-title {
    color: #5ce1e1;
}

body.dark-mode .project-page-title {
    color: #e8e8e8;
}

/* Resume: education & work text (base uses #262222 - invisible on dark) */
body.dark-mode .education-degree,
body.dark-mode .education-graduation,
body.dark-mode .education-gpa,
body.dark-mode .education-involvement {
    color: #e8e8e8;
}

body.dark-mode .work-dates {
    color: #e8e8e8;
}

body.dark-mode .work-date-separator {
    color: #4dd0e1;
}

body.dark-mode .work-description {
    color: #e8e8e8;
}

body.dark-mode .work-bullets li {
    color: #e8e8e8;
}

/* Contact: form labels, required, errors, subtitles */
body.dark-mode .form-label {
    color: #4dd0e1;
}

body.dark-mode .required {
    color: #80deea;
}

body.dark-mode .form-error,
body.dark-mode .form-error.show {
    color: #ffab91;
}

body.dark-mode .page-subtitle {
    color: #b8b8b8;
}

body.dark-mode .contact-info-title {
    color: #4dd0e1;
}

body.dark-mode .contact-email-link {
    color: #4dd0e1;
}

body.dark-mode .contact-email-link:hover {
    color: #80deea;
}

/* About: section titles */
body.dark-mode .about-section-title {
    color: #4dd0e1;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

/* About page: "About Me" h1 stays pink in dark mode (visible on dark bg) */
body.dark-mode.about-page .page-title {
    color: #f8a5b5;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

/* About page bottom section: dark background so text is visible */
body.dark-mode .about-work-together {
    background: rgba(30, 30, 30, 0.6);
}

body.dark-mode .contact-cta {
    color: #e8e8e8;
}

body.dark-mode .about-link {
    color: #4dd0e1;
}

body.dark-mode .about-link:hover {
    color: #80deea;
}

body.dark-mode .learn-more-content {
    color: #e8e8e8;
}

body.dark-mode .learn-more-content .about-link {
    color: #4dd0e1;
}

body.dark-mode .learn-more-content .about-link:hover {
    color: #80deea;
}

body.dark-mode .work-together-content,
body.dark-mode .work-together-content p {
    color: #e8e8e8;
}

/* Project detail & meta (project subpages) */
body.dark-mode .project-detail {
    background: rgba(30, 30, 30, 0.6);
}

body.dark-mode .project-detail-title {
    color: #4dd0e1;
}

body.dark-mode .project-detail-content,
body.dark-mode .project-detail-content p {
    color: #e8e8e8;
}

body.dark-mode .project-meta {
    background: rgba(30, 30, 30, 0.6);
}

body.dark-mode .project-skills h3 {
    color: #4dd0e1;
}

body.dark-mode .skills-tags li {
    color: #e8e8e8;
}

body.dark-mode .project-content p,
body.dark-mode .project-content ul,
body.dark-mode .project-content ul li {
    color: #e8e8e8;
}

/* Resume & contact cards: dark backgrounds so light text is readable */
body.dark-mode .resume-section {
    background: rgba(30, 30, 30, 0.6);
}

body.dark-mode .contact-info-card {
    background: var(--surface);
}

body.dark-mode .contact-info-card .contact-info-title {
    color: #4dd0e1;
}

/* Skills list / projects list on resume */
body.dark-mode .skills-list li,
body.dark-mode .projects-list-resume li {
    color: #e8e8e8;
    background: rgba(40, 40, 40, 0.8);
}

/* Off-canvas close button: light text on dark menu */
body.dark-mode .close-menu {
    color: #e8e8e8;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

body.dark-mode .close-menu:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

/* Contact form reset button in dark mode */
body.dark-mode .btn-reset {
    background: rgba(40, 40, 40, 0.9);
    color: #4dd0e1 !important;
    border-color: #4dd0e1;
}

body.dark-mode .btn-reset:hover {
    background: rgba(13, 122, 138, 0.4);
    color: #ffffff !important;
    border-color: #4dd0e1;
}
