/* Career Portfolio Site - Modern Professional Design */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Bright Modern Earth Tones */
    --primary: #6bbf85;        /* Bright emerald green */
    --primary-dark: #58a372;   /* Darker emerald green */
    --secondary: #d4c8a8;      /* Bright warm beige */
    --accent: #7ab3d3;         /* Bright sky blue */
    --success: #72d687;        /* Bright success green */
    --warning: #f7d078;        /* Bright golden yellow */
    --background: #fefdfb;     /* Keep warm off-white */
    --surface: #fcfbf8;        /* Brighter warm surface */
    --surface-elevated: #ffffff;
    --text-primary: #1a1812;   /* Strong contrast dark */
    --text-secondary: #2d2923; /* Bright medium dark */
    --text-muted: #5a544b;     /* Bright muted text */
    --border: #f5f1e9;         /* Bright light border */
    --border-light: #f9f6f2;   /* Bright very light border */
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 5rem 0;
    --section-padding-mobile: 3rem 0;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    scroll-behavior: smooth;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    /* Fallback for browsers without backdrop-filter support */
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(58, 56, 50, 0.98);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .nav-brand {
    color: white;
}

.navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--accent);
}

.navbar.scrolled .bar {
    background-color: white;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.logo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--primary);
    background: var(--background);
    transition: all 0.3s ease;
}

.logo:hover {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(107, 191, 133, 0.3);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.name {
    font-size: 1.125rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

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

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

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.25rem;
}

.bar {
    width: 1.5rem;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Hero Banner Section */
.hero-banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    filter: brightness(0.8) saturate(1.1);
    /* Show the complete square image while maintaining aspect ratio */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(31, 29, 23, 0.85) 0%,
        rgba(31, 29, 23, 0.75) 50%,
        rgba(31, 29, 23, 0.85) 100%
    );
}

.hero-banner .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    color: white;
}

.hero-banner .hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-banner .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.hero-tagline .highlight {
    color: var(--accent);
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-banner .hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Profile Section */
.profile-section {
    background: var(--background);
    padding: 6rem 0;
}

.profile-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.profile-info h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.profile-info .role-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.profile-bio {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.profile-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--surface-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* Profile Card */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card {
    background: var(--surface-elevated);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.profile-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

/* Rubber Duck Hero Visual */
.rubber-duck-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.rubber-duck {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.duck-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.rubber-duck:hover .duck-image {
    transform: scale(1.1) rotate(5deg);
}

.code-bubble {
    position: absolute;
    top: -30px;
    right: -60px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 10px 14px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    animation: bubble-bounce 2s ease-in-out infinite 1s;
    z-index: 10;
}

@keyframes bubble-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.bubble-tail {
    position: absolute;
    bottom: -10px;
    left: 25px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--primary);
}

.bubble-tail::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

/* Responsive adjustments for duck image */
@media (max-width: 768px) {
    .duck-image {
        width: 80px;
        height: 80px;
    }
    
    .code-bubble {
        top: -25px;
        right: -45px;
        padding: 6px 10px;
        font-size: 0.65rem;
    }
    
    .bubble-tail {
        bottom: -8px;
        left: 20px;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid var(--primary);
    }
    
    .bubble-tail::after {
        left: -6px;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid white;
    }
}

.role-title {
    font-weight: 600;
    color: var(--primary) !important;
    font-size: 0.95rem !important;
}

.location {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
}

.profile-avatar {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.profile-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.profile-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.profile-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: var(--transition-fast);
    padding: 0.5rem;
    border-radius: 0.375rem;
}

.profile-links a:hover {
    color: var(--primary);
    background: var(--surface);
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.title-icon {
    margin-right: 0.75rem;
}

.title-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Achievements Section */
.achievements {
    background: var(--surface);
}

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

.achievement-card {
    background: var(--surface-elevated);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.achievement-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

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

.achievement-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.achievement-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.tag {
    display: inline-block;
    background: var(--surface);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

/* Opportunities Section */
.opportunities-grid {
    display: grid;
    gap: 2rem;
}

.opportunity-card {
    background: var(--surface-elevated);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.opportunity-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.opportunity-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-md);
}

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

.opportunity-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.primary {
    background: var(--primary);
    color: white;
}

.status-badge {
    background: var(--surface);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.role {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.opportunity-details {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.detail {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.detail-label {
    font-weight: 500;
    color: var(--text-primary);
    min-width: fit-content;
}

.detail-value {
    color: var(--text-secondary);
    text-align: right;
}

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

/* Assessments Section */
.assessments {
    background: var(--surface);
}

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

.assessment-card {
    background: var(--surface-elevated);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.assessment-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

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

.assessment-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.status-badge.completed {
    background: var(--success);
    color: white;
}

.assessment-type {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.assessment-details {
    margin-bottom: 1.5rem;
}

.assessment-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

/* AI System Section */
.ai-system {
    background: linear-gradient(135deg, #f8fafc 0%, #e7f3ff 100%);
}

.ai-system-overview {
    margin-bottom: 4rem;
}

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

.ai-stat {
    text-align: center;
    padding: 2rem;
    background: var(--surface-elevated);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.ai-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.ai-stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.ai-feature-card {
    background: var(--surface-elevated);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.ai-feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

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

.ai-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.ai-feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ai-feature-details {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.detail-badge {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.ai-innovation-highlight {
    background: var(--surface-elevated);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    margin-top: 2rem;
}

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

.innovation-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.innovation-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.innovation-content li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.innovation-summary {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary);
    font-style: italic;
    margin-bottom: 0 !important;
}

/* Resume Section */
.resume {
    background: var(--background);
    padding: var(--section-padding);
}

.resume-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--surface-elevated);
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.resume-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.resume-info h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.resume-summary {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.resume-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.contact-item {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-reveal-mini {
    font-size: 0.875rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-style: italic;
}

.contact-reveal-mini:hover {
    color: var(--primary);
    background: var(--surface);
}

.contact-reveal-mini.revealed {
    font-style: normal;
    color: var(--text-secondary);
}

.resume-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.resume-section {
    background: var(--surface-elevated);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.resume-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

/* Skills Grid */
/* Original Skills Grid (for resume pages) */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Interactive Skills Visualization */
.skills-visualization {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.skill-category-interactive {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-category-interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.skill-category-interactive:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.skill-category-interactive h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.skill-item {
    margin-bottom: 1.2rem;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 8px;
}

.skill-item:hover {
    background: rgba(var(--primary-rgb), 0.05);
    transform: translateX(4px);
}

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

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
}

.skill-level {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--surface-alt);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    border-radius: 4px;
    position: relative;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, 
        var(--color-start, var(--primary)), 
        var(--color-end, var(--accent))
    );
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    animation: shimmer 2s infinite;
    animation-delay: var(--shimmer-delay, 0s);
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Proficiency Level Colors */
.skill-progress.expert {
    --color-start: #059669;
    --color-end: #10b981;
    --shimmer-delay: 0.2s;
}

.skill-progress.advanced {
    --color-start: #0284c7;
    --color-end: #0ea5e9;
    --shimmer-delay: 0.4s;
}

.skill-progress.intermediate {
    --color-start: #d97706;
    --color-end: #f59e0b;
    --shimmer-delay: 0.6s;
}

.skill-progress.beginner {
    --color-start: #64748b;
    --color-end: #94a3b8;
    --shimmer-delay: 0.8s;
}

/* Skill Item Tooltip */
.skill-item::after {
    content: attr(data-years) ' years experience';
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: var(--surface);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    pointer-events: none;
}

.skill-item::before {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: var(--text-primary);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.skill-item:hover::after,
.skill-item:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Animation for skill bars on scroll */
.skill-item.animate .skill-progress {
    animation: fillBar 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fillBar {
    from { width: 0%; }
    to { width: var(--target-width); }
}

@keyframes skillPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0);
    }
}

/* Interactive Career Timeline */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        var(--primary), 
        var(--accent), 
        var(--warning),
        var(--primary)
    );
    border-radius: 2px;
}

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

.timeline-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.timeline-marker {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--surface);
    border: 4px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
}

.timeline-marker:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
}

.timeline-marker.current {
    border-color: #059669;
    background: linear-gradient(135deg, #d1fae5, #bbf7d0);
    animation: currentPulse 2s ease-in-out infinite;
}

.timeline-marker.milestone-marker {
    border-color: var(--warning);
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

.timeline-marker.foundation-marker {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
}

.timeline-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.timeline-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #059669;
    opacity: 0;
    animation: pulse 2s ease-out infinite;
}

@keyframes currentPulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
    }
    50% { 
        box-shadow: 0 0 0 15px rgba(5, 150, 105, 0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.timeline-content {
    margin-left: 2rem;
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 30px;
    border: 8px solid transparent;
    border-right-color: var(--surface);
    z-index: 1;
}

.timeline-content::after {
    content: '';
    position: absolute;
    left: -16px;
    top: 30px;
    border: 8px solid transparent;
    border-right-color: var(--border);
}

.timeline-content:hover::after {
    border-right-color: var(--primary);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.timeline-company {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.tech-tag {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.tech-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

.tech-tag.milestone-tag {
    background: var(--warning);
    color: var(--text-primary);
}

.tech-tag.foundation-tag {
    background: #8b5cf6;
    color: white;
}

/* Special timeline items */
.timeline-item.milestone .timeline-content {
    border-left: 4px solid var(--warning);
}

.timeline-item.foundation .timeline-content {
    border-left: 4px solid #8b5cf6;
}

.timeline-item.current .timeline-content {
    border-left: 4px solid #059669;
    background: linear-gradient(135deg, var(--surface), rgba(209, 250, 229, 0.3));
}

.skill {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid;
    transition: var(--transition-fast);
}

.skill.expert {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.skill.advanced {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.skill.intermediate {
    background: var(--warning);
    color: white;
    border-color: var(--warning);
}

.skill.beginner {
    background: var(--surface);
    color: var(--text-secondary);
    border-color: var(--border);
}

/* Experience Items */
.experience-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.experience-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

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

.job-title h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.company {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
}

.company-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.company-link:hover {
    color: var(--accent);
    text-decoration: none;
}

.company-link::after {
    content: ' ↗';
    font-size: 0.8em;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--accent);
}

.company-link:hover::after {
    opacity: 1;
}

.job-duration {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.job-location {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

.job-achievements {
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.job-achievements li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.job-achievements li:last-child {
    margin-bottom: 0;
}

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

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

.education-item {
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.education-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

.education-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.duration {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.institution {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.education-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Project Items */
.project-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.project-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

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

.project-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.project-type {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--surface-elevated);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    white-space: nowrap;
}

.project-achievements {
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.project-achievements li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.project-achievements li:last-child {
    margin-bottom: 0;
}

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

/* Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.summary-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.summary-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.summary-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.summary-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Resume Actions */
.resume-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--surface);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.resume-actions .btn-primary,
.resume-actions .btn-secondary {
    min-width: 150px;
}

/* Print Styles */
@media print {
    .navbar,
    .resume-actions,
    .hero-cta,
    .footer {
        display: none !important;
    }
    
    /* Override collapsible section behavior for print */
    .collapsible-section,
    .collapsible-section.collapsed,
    .collapsible-section.expanded {
        max-height: none !important;
        opacity: 1 !important;
        padding: inherit !important;
        margin: inherit !important;
        transform: none !important;
        overflow: visible !important;
    }
    
    /* Hide section expand/collapse indicators */
    .section-header::after {
        display: none !important;
    }
    
    /* Ensure hero banner doesn't interfere with resume printing */
    .hero-banner {
        display: none !important;
    }
    
    .resume {
        padding: 0;
        background: white;
    }
    
    .resume-header,
    .resume-section {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
    
    .experience-item,
    .project-item,
    .education-item {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .resume-section h3 {
        border-bottom-color: #333;
    }
    
    body {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .resume-info h1 {
        font-size: 24px;
    }
    
    .resume-info h2 {
        font-size: 18px;
    }
    
    /* Ensure only resume section prints */
    .profile-section,
    .case-studies,
    .portfolio,
    .ai-tooling,
    .achievements,
    .opportunities,
    .assessments,
    .ai-system,
    .contact {
        display: none !important;
    }
}

/* AI Tooling Section */
.ai-tooling {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: var(--section-padding);
}

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

.tooling-card {
    background: var(--surface-elevated);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.tooling-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

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

.tooling-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tooling-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tooling-metrics {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.metric {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.title-badge {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 1rem;
}

/* Contact Section */
.contact {
    background: var(--surface);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--surface-elevated);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.contact-method:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.contact-reveal {
    cursor: pointer;
    position: relative;
}

.contact-reveal:hover .contact-value {
    color: var(--primary);
}

.contact-reveal.revealed {
    cursor: default;
}

.contact-reveal .contact-value {
    transition: var(--transition-fast);
    font-style: italic;
    color: var(--text-muted);
}

.contact-reveal.revealed .contact-value {
    font-style: normal;
    color: var(--text-primary);
}

.contact-icon {
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border-radius: 0.5rem;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

.contact-cta {
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
}

.contact-cta p {
    margin: 0;
    font-weight: 500;
}

/* Contact Form Styles */
.contact-form-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.contact-form-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

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

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

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: 6px;
    background: var(--background);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--text-secondary);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #059669;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
    display: block;
}

.form-status.loading {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #2563eb;
    display: block;
}

.summary-card {
    background: var(--surface-elevated);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.summary-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.highlight-grid {
    display: grid;
    gap: 1rem;
}

.highlight-item {
    padding: 0.75rem;
    background: var(--surface);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    border: 1px solid var(--border);
}

/* Footer */
.footer {
    width: 100%;
    margin: 0;
    padding: 0;
}

.terminal-banner {
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
}

.terminal-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 4rem;
        flex-direction: column;
        background-color: var(--surface-elevated);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        gap: 0;
        padding: 2rem 0;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    /* Hero Banner Mobile Styles */
    .hero-banner {
        min-height: 80vh;
    }
    
    .hero-banner .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-banner .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-banner .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    /* Profile Section Mobile */
    .profile-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .profile-info h2 {
        font-size: 2.2rem;
    }
    
    .profile-stats {
        justify-content: center;
    }

    /* Resume Mobile Styles */
    .resume-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    /* Interactive Skills Mobile */
    .skills-visualization {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-category-interactive {
        padding: 1rem;
    }
    
    .skill-category-interactive h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .skill-item {
        margin-bottom: 1rem;
        padding: 0.4rem;
    }
    
    .skill-info {
        font-size: 0.85rem;
    }
    
    .skill-bar {
        height: 6px;
    }
    
    /* Tooltip adjustments for mobile */
    .skill-item::after {
        bottom: -40px;
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }
    
    .skill-item::before {
        bottom: -30px;
    }
    
    /* Timeline Mobile */
    .timeline-container {
        padding: 1rem 0;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .timeline-marker {
        width: 60px;
        height: 60px;
    }
    
    .timeline-icon {
        font-size: 1.4rem;
    }
    
    .timeline-content {
        margin-left: 1rem;
        padding: 1rem;
    }
    
    .timeline-content h4 {
        font-size: 1.1rem;
    }
    
    .timeline-company {
        font-size: 0.9rem;
    }
    
    .timeline-preview {
        font-size: 0.9rem;
    }
    
    .tech-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .timeline-content::before,
    .timeline-content::after {
        left: -10px;
        border-width: 6px;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-header,
    .project-header,
    .education-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .job-duration,
    .duration {
        align-self: flex-start;
    }
    
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .resume-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Contact Section Mobile Styles */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-section {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .contact-form {
        gap: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    section {
        padding: var(--section-padding-mobile);
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .achievements-grid,
    .assessments-grid,
    .ai-features {
        grid-template-columns: 1fr;
    }
    
    .opportunities-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .ai-stats {
        grid-template-columns: 1fr;
    }
    
    .profile-card {
        padding: 1.5rem;
    }
    
}

/* Smooth scrolling enhancements */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border: #000000;
        --text-secondary: #000000;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --background: #0f172a;
        --surface: #1e293b;
        --surface-elevated: #334155;
        --text-primary: #f8fafc;
        --text-secondary: #cbd5e1;
        --text-muted: #64748b;
        --border: #334155;
        --border-light: #475569;
    }
    
    .navbar {
        background: rgba(15, 23, 42, 0.95);
    }
    
    .hero {
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    }
}

/* ===============================================
   CASE STUDIES SECTION
   =============================================== */

.case-studies {
    padding: var(--section-padding);
    background: var(--background);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.case-study-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.case-study-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.case-study-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.case-study-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.case-study-meta h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.case-study-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.metric {
    text-align: center;
    padding: 1rem;
    background: var(--background);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    line-height: 1.3;
}

.case-study-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem 0;
}

.case-study-content h4:first-child {
    margin-top: 0;
}

.case-study-content p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.case-study-content ul {
    margin: 0 0 1.5rem 0;
    padding-left: 1rem;
}

.case-study-content li {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    list-style: disc;
}

.case-study-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.case-study-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.tech-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
}

.tech-tag:hover {
    background: var(--primary-dark);
}

/* Responsive Design */
@media (min-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-study-card {
        padding: 2.5rem;
    }
}

@media (max-width: 767px) {
    .case-study-metrics {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .metric {
        padding: 0.75rem;
    }
    
    .metric-value {
        font-size: 1.25rem;
    }
    
    .case-study-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* Error States and User Feedback */
.error-state {
    background-color: #fee2e2 !important;
    border: 2px solid #fecaca !important;
    color: #991b1b !important;
}

.error-state:hover {
    background-color: #fecaca !important;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Network Error Indicator */
.network-error {
    position: relative;
}

.network-error::before {
    content: '⚠️';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fee2e2;
    border: 2px solid #f87171;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    z-index: 1000;
}

/* Notification Enhancements */
.notification {
    max-width: 90vw;
    word-break: break-word;
}

.notification.error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border: 2px solid #f87171;
    color: #991b1b;
}

.notification.warning {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    border: 2px solid #f59e0b;
    color: #92400e;
}

.notification.success {
    background: linear-gradient(135deg, #d1fae5, #bbf7d0);
    border: 2px solid #10b981;
    color: #065f46;
}

.notification.info {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border: 2px solid #3b82f6;
    color: #1e40af;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

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

.project-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #1a202c;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.project-screenshot {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.project-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    border-radius: 15px 15px 0 0;
}

.project-content {
    padding: 1.5rem;
}

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

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #1a202c;
}

.project-category {
    font-size: 0.8rem;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 1rem;
}

.project-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1rem;
}

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

.tech-tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.project-loc {
    font-size: 0.8rem;
    color: #718096;
    font-weight: 500;
}

.project-status {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-active {
    background: #10f194;
    color: #065f46;
}

.status-development {
    background: #fed7aa;
    color: #9a3412;
}

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

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: translateY(-2px);
}

.project-link.disabled {
    background: #9ca3af;
    color: #6b7280;
    cursor: not-allowed;
}

.project-highlights {
    margin: 1rem 0;
}

.project-highlights h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

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

.highlight-list li {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
    padding-left: 1rem;
    position: relative;
}

.highlight-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

/* Mobile Responsive Design for Portfolio */
@media (max-width: 768px) {
    .portfolio {
        padding: 3rem 0;
    }
    
    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .project-card {
        border-radius: 15px;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .project-link {
        justify-content: center;
        padding: 0.75rem 1rem;
    }
}

/* ===============================================
   COLLAPSIBLE SECTIONS
   =============================================== */

.collapsible-section {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.collapsible-section.collapsed {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    transform: translateY(-20px);
}

.collapsible-section.expanded {
    max-height: none;
    opacity: 1;
    transform: translateY(0);
}

.collapsible-section.expanding {
    max-height: 200vh;
    opacity: 1;
    transform: translateY(0);
}

/* Section Headers with Expand/Collapse Indicators */
.section-header {
    cursor: pointer;
    position: relative;
    padding: 1rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.section-header:hover {
    border-bottom-color: var(--primary);
}

.section-header::after {
    content: '▼';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    color: var(--primary);
}

.section-header.expanded::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Hero banner is always visible */
.hero-banner {
    opacity: 1 !important;
    max-height: none !important;
    transform: none !important;
}

/* Navigation active state for expanded sections */
.nav-link.active-section {
    color: var(--primary);
    font-weight: 600;
}

/* Smooth focus transitions for accessibility */
@media (prefers-reduced-motion: reduce) {
    .collapsible-section {
        transition: none;
    }
    
    .section-header::after {
        transition: none;
    }
}