/* Technology Leader Portfolio - Final */
:root {
    /* Background / Structure - paleta z bak/styles.css */
    --bg: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    
    /* Text */
    --text: #f5f5f5;
    --text-secondary: #a3a3a3;
    --text-tertiary: #737373;
    
    /* Accent (jedyny kolor akcentowy) */
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-light: #60a5fa;
    
    /* Borders */
    --border: #262626;
    --border-light: #404040;
    --border-subtle: rgba(38, 38, 38, 0.5);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.7);
    
    /* Legacy compatibility - nowe nazwy mapują na stare */
    --color-bg-primary: var(--bg);
    --color-bg-secondary: var(--bg-secondary);
    --color-bg-surface: var(--bg-tertiary);
    --color-text-primary: var(--text);
    --color-text-secondary: var(--text-secondary);
    --color-text-muted: var(--text-tertiary);
    --color-accent: var(--accent);
    --color-accent-muted: var(--accent-hover);
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #f8fafc;
        --bg-secondary: #ffffff;
        --bg-tertiary: #f1f5f9;
        --text: #0f172a;
        --text-secondary: #475569;
        --text-tertiary: #64748b;
        --accent: #3b82f6;
        --accent-hover: #2563eb;
        --accent-light: #60a5fa;
        --border: #e2e8f0;
        --border-light: #cbd5e1;
        --border-subtle: rgba(226, 232, 240, 0.5);
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
        --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);
        --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.25);
        --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.3);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 0.5px solid var(--border-subtle);
    padding: 1.5rem 0;
}

@media (prefers-color-scheme: light) {
    .nav {
        background: rgba(248, 250, 252, 0.9);
    }
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text);
}

.logo-bk {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
}

.menu-toggle {
    display: none !important;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    color: var(--text);
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
    border-radius: 2px;
    pointer-events: none;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a:hover {
    color: var(--text);
    background: rgba(59, 130, 246, 0.05);
    padding: 0.25rem 0.5rem;
    margin: -0.25rem -0.5rem;
    border-radius: 4px;
}

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 10rem 3rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}


.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    color: var(--text);
    opacity: 0;
    animation: fadeInUp 0.6s ease 0s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.6s forwards;
}

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

.hero-title .accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.3s forwards;
}


.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.6s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    border-color: var(--accent-hover);
    color: var(--accent);
    background: rgba(59, 130, 246, 0.05);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
    border: 1px solid var(--border);
    position: relative;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.btn-secondary:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.05);
    outline: 1px solid var(--accent);
    outline-offset: 2px;
}

.btn-secondary:hover::after {
    transform: scaleX(1);
}

.btn-primary svg {
    transition: transform 0.3s;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

/* Sections */
.section {
    padding: 14rem 3rem;
    position: relative;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section-number {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--bg-secondary);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -1px;
    flex: 1;
    transition: color 0.3s;
    position: relative;
    display: inline-block;
    color: var(--text);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

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

.section-title:hover::after {
    width: 100%;
}

/* About */
.about-section {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 3rem;
    align-items: start;
}

.about-photo-wrapper {
    position: sticky;
    top: 8rem;
}

.about-photo {
    width: 100%;
    max-width: 340px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: block;
}

.about-text-wrapper {
    min-width: 0;
}

.about-intro {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.6;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 3rem;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.about-subheading {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.about-subheading:first-of-type {
    margin-top: 2rem;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.95;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.about-list li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.about-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

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

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-box {
    padding: 2rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.3s;
}

.highlight-box:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.highlight-box p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Work */
.work-section {
    background: var(--bg);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.work-card {
    background: var(--bg-secondary);
    border: 0.5px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.work-card:nth-child(1) { animation-delay: 0.05s; }
.work-card:nth-child(2) { animation-delay: 0.1s; }
.work-card:nth-child(3) { animation-delay: 0.15s; }
.work-card:nth-child(4) { animation-delay: 0.2s; }
.work-card:nth-child(5) { animation-delay: 0.25s; }
.work-card:nth-child(6) { animation-delay: 0.3s; }

/* Work Numbers - 3x larger */
.work-number {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.75rem;
    display: block;
}

.work-number-label {
    font-size: 1rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.work-context {
    font-size: 0.9375rem;
    color: var(--accent);
    line-height: 1.6;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s, max-height 0.3s, margin-top 0.3s, padding-top 0.3s;
    font-style: italic;
}

.work-card:hover .work-context {
    opacity: 1;
    max-height: 100px;
    margin-top: 1rem;
    padding-top: 1rem;
}

.work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.work-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    outline: 1px solid var(--accent);
    outline-offset: -1px;
}

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

.work-card {
    grid-column: span 12;
}

@media (min-width: 1024px) {
    .work-card:nth-child(1),
    .work-card:nth-child(2),
    .work-card:nth-child(3) {
        grid-column: span 4;
    }
    
    .work-card:nth-child(4),
    .work-card:nth-child(5) {
        grid-column: span 6;
    }
}

.work-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--accent);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.work-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

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

.work-metric {
    font-size: 0.9375rem;
    color: var(--accent);
    font-weight: 500;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-style: italic;
}

.work-meta {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: 1.5rem;
}

/* Experience */
.experience-section {
    background: var(--bg-secondary);
}

.experience-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding-left: 4rem;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
}

.exp-item {
    margin-bottom: 4rem;
    position: relative;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.exp-item:nth-child(1) { animation-delay: 0.05s; }
.exp-item:nth-child(2) { animation-delay: 0.1s; }
.exp-item:nth-child(3) { animation-delay: 0.15s; }
.exp-item:nth-child(4) { animation-delay: 0.2s; }

.exp-item::before {
    content: '';
    position: absolute;
    left: -4rem;
    top: 0.75rem;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    border: 4px solid var(--bg-secondary);
    box-shadow: 0 0 0 4px var(--bg);
}

.exp-item.current::before {
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 0 8px rgba(59, 130, 246, 0.2);
}

.exp-year {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    padding-top: 0.25rem;
}

.exp-content {
    background: var(--bg-tertiary);
    border: 0.5px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s;
}

.exp-content:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.exp-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--accent);
    color: var(--bg);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.exp-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.exp-company {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.exp-period {
    font-size: 0.9375rem;
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
}

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

.exp-scope {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.exp-scope strong {
    color: var(--text);
    font-weight: 600;
}

/* Skills */
.skills-section {
    background: var(--bg);
}

.skills-strategic {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 3rem;
    background: var(--bg-tertiary);
    border: 0.5px solid var(--border-subtle);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.1s forwards;
}

.skills-strategic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    border-radius: 24px 24px 0 0;
}

.skills-strategic-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text);
    font-family: 'Inter', sans-serif;
}

.skills-strategic-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.strategic-item {
    font-size: 1.125rem;
    color: var(--text-secondary);
    padding: 1rem 1.5rem;
    background: var(--bg);
    border: 0.5px solid var(--border-subtle);
    border-radius: 12px;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.strategic-item:nth-child(1) { animation-delay: 0.05s; }
.strategic-item:nth-child(2) { animation-delay: 0.1s; }
.strategic-item:nth-child(3) { animation-delay: 0.15s; }
.strategic-item:nth-child(4) { animation-delay: 0.2s; }
.strategic-item:nth-child(5) { animation-delay: 0.25s; }
.strategic-item:nth-child(6) { animation-delay: 0.3s; }

.strategic-item:hover {
    border-color: var(--accent);
    color: var(--text);
    transform: translateY(-2px);
    outline: 1px solid var(--accent);
    outline-offset: 2px;
}

.skills-technical {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

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

.skills-technical-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.skills-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 0.5px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.skills-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(59, 130, 246, 0.05);
    outline: 1px solid var(--accent);
    outline-offset: 2px;
}

.skills-toggle-icon {
    transition: transform 0.3s;
}

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

.skills-technical-intro {
    font-size: 1rem;
    color: var(--text-tertiary);
    margin-bottom: 2rem;
    font-style: italic;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.skills-container.expanded {
    max-height: 5000px;
    opacity: 1;
    margin-top: 2rem;
}

.skill-group h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.skill-tags span {
    padding: 0.875rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: all 0.3s;
    display: inline-block;
}

.skill-tags span:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    outline: 1px solid var(--accent);
    outline-offset: 2px;
}


/* Certifications */
.certifications-section {
    background: var(--bg);
    padding-top: 8rem;
}

.certifications-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.cert-group {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cert-group-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.cert-group.leadership {
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.cert-group.leadership .cert-group-title {
    font-size: 1.25rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

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

.cert-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.cert-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    outline: 1px solid var(--accent);
    outline-offset: 2px;
}

.cert-item:visited {
    color: inherit;
}

.cert-category {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.cert-item h3,
.cert-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--text);
}

.cert-item h4 {
    font-size: 1.125rem;
}

.cert-item p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.cert-link {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 500;
    margin-top: auto;
    opacity: 0;
    transition: opacity 0.3s;
}

.cert-item:hover .cert-link {
    opacity: 1;
}

/* Contact */
.contact-section {
    background: var(--bg-secondary);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 4rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    outline: 1px solid var(--accent);
    outline-offset: 2px;
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
    text-align: left;
}

.contact-value {
    font-weight: 600;
    color: var(--text);
    text-align: left;
}

/* Footer */
.footer {
    padding: 4rem 3rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

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

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

/* Responsive */

@media (max-width: 768px) {
    .nav {
        padding: 1rem 0;
    }
    
    .nav-wrapper {
        padding: 0 1.5rem;
        position: relative;
    }
    
    .logo-text {
        display: none;
    }
    
    .menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        order: 2;
    }
    
    .nav-logo {
        order: 1;
    }
    
    .nav-links {
        display: none !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg);
        border-left: 1px solid var(--border);
        flex-direction: column;
        gap: 0;
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links.active {
        display: flex !important;
        right: 0;
    }
    
    .nav-overlay {
        display: none;
    }
    
    .nav-overlay.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    .nav-links a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
        font-size: 1.125rem;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .hero {
        padding: 7rem 1.5rem 3rem;
    }
    
    .section {
        padding: 8rem 1.5rem;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .about-bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-large,
    .bento-item:not(.bento-large),
    .bento-wide {
        grid-column: span 1;
    }
    
    .power-quote {
        font-size: 1.75rem;
        padding: 3rem 1.5rem;
    }
    
    .power-quote::before,
    .power-quote::after {
        font-size: 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-secondary {
        text-align: center;
        justify-content: center;
    }
    
    .skills-technical-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-photo-wrapper {
        position: static;
        text-align: center;
    }
    
    .about-photo {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .about-intro {
        font-size: 1.125rem;
    }
    
    .about-subheading {
        font-size: 1.125rem;
        margin-top: 2rem;
    }
    
    
    .skills-strategic {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }
    
    .skills-strategic-list {
        grid-template-columns: 1fr;
    }
    
    .strategic-item {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }
    
    .about-photo {
        max-width: 280px;
    }
    
    .about-intro {
        font-size: 1.25rem;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .work-card {
        grid-column: span 1 !important;
    }
    
    
    .exp-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .exp-year {
        margin-bottom: 0.5rem;
    }
    
    .experience-timeline {
        padding-left: 2rem;
    }
    
    .exp-item::before {
        left: -2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
}