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

:root {
    --primary-blue: #0066ff;
    --dark-bg: #0a0e27;
    --darker-bg: #050814;
    --card-bg: #151b35;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-glow: rgba(0, 102, 255, 0.4);
    --success-green: #10b981;
    --error-red: #ef4444;
    
    /* Light mode colors */
    --light-bg: #ffffff;
    --light-card-bg: #f8f9fa;
    --light-text-primary: #1a1a1a;
    --light-text-secondary: #6b7280;
    --light-border: #e5e7eb;
}

/* Light Mode */
body.light-mode {
    --darker-bg: var(--light-bg);
    --dark-bg: var(--light-card-bg);
    --card-bg: var(--light-card-bg);
    --text-primary: var(--light-text-primary);
    --text-secondary: var(--light-text-secondary);
}

body.light-mode #particleCanvas {
    opacity: 0.3;
}

body.light-mode header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--light-border);
}

.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-blue);
    color: white;
    padding: 1rem 2rem;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
}

.skip-to-main:focus {
    top: 0;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: var(--darker-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(10, 14, 39, 0.95);
    box-shadow: 0 4px 30px rgba(0, 102, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.logo a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo a:hover,
.logo a:focus {
    color: var(--primary-blue);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.contact-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: color 0.3s ease;
}

.contact-link:hover,
.contact-link:focus {
    color: var(--primary-blue);
}

.pdf-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0052cc 100%);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.pdf-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.pdf-btn:hover::before {
    left: 100%;
}

.pdf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 102, 255, 0.5);
}

.pdf-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#cv-content {
    padding-top: 0;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    animation: pulse 6s ease-in-out infinite;
}

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

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

.glitch-wrapper {
    margin-bottom: 1rem;
}

.glitch {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    position: relative;
    color: var(--text-primary);
    animation: glitch-text 8s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--primary-blue);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #ff00ff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 31px, 0); }
    10% { clip: rect(85px, 9999px, 140px, 0); }
    20% { clip: rect(50px, 9999px, 95px, 0); }
    30% { clip: rect(120px, 9999px, 175px, 0); }
    40% { clip: rect(30px, 9999px, 80px, 0); }
    50% { clip: rect(90px, 9999px, 145px, 0); }
    60% { clip: rect(20px, 9999px, 60px, 0); }
    70% { clip: rect(100px, 9999px, 150px, 0); }
    80% { clip: rect(40px, 9999px, 90px, 0); }
    90% { clip: rect(70px, 9999px, 120px, 0); }
    100% { clip: rect(60px, 9999px, 110px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 119px, 0); }
    10% { clip: rect(5px, 9999px, 45px, 0); }
    20% { clip: rect(130px, 9999px, 180px, 0); }
    30% { clip: rect(25px, 9999px, 70px, 0); }
    40% { clip: rect(95px, 9999px, 140px, 0); }
    50% { clip: rect(15px, 9999px, 55px, 0); }
    60% { clip: rect(110px, 9999px, 160px, 0); }
    70% { clip: rect(35px, 9999px, 85px, 0); }
    80% { clip: rect(75px, 9999px, 125px, 0); }
    90% { clip: rect(45px, 9999px, 95px, 0); }
    100% { clip: rect(80px, 9999px, 135px, 0); }
}

@keyframes glitch-text {
    0%, 90%, 100% { opacity: 1; }
    92%, 98% { opacity: 0.8; }
}

.typing-effect {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    background: linear-gradient(135deg, var(--primary-blue), #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-blue), #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--primary-blue), transparent);
}

.hero-bio {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.9;
    padding: 0 1rem;
}

.hero-bio strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-links .cta-primary,
.hero-links .cta-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-blue);
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 220px;
    flex-shrink: 0;
}

.hero-links .cta-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.hero-links .cta-primary:hover,
.hero-links .cta-primary:focus {
    background: #0052cc;
    border-color: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.hero-links .cta-secondary:hover,
.hero-links .cta-secondary:focus {
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.hero-links .cta-secondary svg {
    width: 20px;
    height: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.9rem 1.8rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 102, 255, 0.3);
    background: transparent;
}

.social-link:hover,
.social-link:focus {
    background: rgba(0, 102, 255, 0.1);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.company-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
}

.company-badges .badge {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.company-badges .badge:hover {
    background: rgba(0, 102, 255, 0.2);
    transform: translateY(-2px);
}

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

.cta-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0052cc 100%);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-primary:hover,
.cta-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 102, 255, 0.5);
}

.cta-primary:active {
    transform: translateY(0);
}

.cta-primary.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.cta-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-blue);
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-secondary:hover,
.cta-secondary:focus {
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.cta-secondary.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--primary-blue);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 2px;
    animation: scroll-down 2s infinite;
}

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

section {
    padding: 8rem 0;
    opacity: 0;
    transform: translateY(80px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), transparent);
    border-radius: 3px;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary-blue), transparent);
}

.experience-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    margin-left: 40px;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.experience-card::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary-blue);
    border-radius: 50%;
    border: 3px solid var(--darker-bg);
    box-shadow: 0 0 20px var(--accent-glow);
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-blue), #00d4ff);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(10px);
}

.experience-card:hover .card-glow {
    opacity: 0.3;
}

.experience-card:hover {
    transform: translateX(10px);
    border-color: rgba(0, 102, 255, 0.3);
}

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

.exp-left {
    flex: 1;
}

.experience-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

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

.experience-period {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 8px;
}

.experience-details {
    margin-top: 1.5rem;
}

.exp-intro {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.achievements {
    list-style: none;
    margin-bottom: 1.5rem;
}

.achievements li {
    color: var(--text-secondary);
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    position: relative;
    line-height: 1.7;
}

.achievements li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: bold;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.tech-pill {
    background: rgba(0, 102, 255, 0.15);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 102, 255, 0.3);
    transition: all 0.3s ease;
}

.tech-pill:hover {
    background: rgba(0, 102, 255, 0.25);
    transform: translateY(-2px);
}

.personal-projects {
    border: 2px solid rgba(255, 193, 7, 0.3);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 193, 7, 0.05) 100%);
}

.warning-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 193, 7, 0.5);
    font-size: 0.9rem;
}

.skills-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.skills-grid.highlighted {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: var(--card-bg);
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-card:hover::before {
    left: 100%;
}

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

.skill-card.featured {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2) 0%, var(--card-bg) 100%);
    border-color: var(--primary-blue);
}

.skill-card span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.skill-card.featured span {
    color: var(--primary-blue);
    font-size: 1.05rem;
}

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

.language-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 102, 255, 0.1);
    transition: all 0.3s ease;
}

.language-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 40px var(--accent-glow);
}

.language-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.language-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.education-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px var(--accent-glow);
}

.edu-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.education-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.edu-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

.edu-year {
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.contact-section {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, transparent 100%);
    border-radius: 20px;
    padding: 6rem 2rem !important;
}

.contact-info-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.contact-info-centered p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto 3rem;
    text-align: left;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.contact-info-item.email .contact-icon {
    background: rgba(59, 130, 246, 0.15);
}

.contact-info-item.location .contact-icon {
    background: rgba(236, 72, 153, 0.15);
}

.contact-info-item.linkedin .contact-icon {
    background: rgba(148, 163, 184, 0.15);
}

.contact-info-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info-item a:hover,
.contact-info-item a:focus {
    color: var(--primary-blue);
}

.contact-info-item span:not(.contact-icon) {
    color: var(--text-primary);
    font-weight: 500;
}

.contact-location {
    display: none;
}

.contact-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact-cta-buttons .cta-primary,
.contact-cta-buttons .cta-secondary {
    width: 100%;
    justify-content: flex-start;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    position: relative;
    text-align: left;
}

.contact-cta-buttons .cta-primary {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: none;
}

.contact-cta-buttons .cta-primary:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: none;
}

.contact-cta-buttons .cta-secondary {
    background: rgba(236, 72, 153, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.contact-cta-buttons .cta-secondary:hover {
    background: rgba(236, 72, 153, 0.15);
    border-color: rgba(236, 72, 153, 0.5);
}

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

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

.contact-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-item .icon {
    font-size: 1.5rem;
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover,
.contact-item a:focus {
    color: #0052cc;
}

.contact-form {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group label span {
    color: var(--primary-blue);
}

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

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

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

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

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

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
    border: 1px solid var(--success-green);
}

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

footer {
    text-align: center;
    padding: 4rem 0 3rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(0, 102, 255, 0.1);
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
    color: var(--primary-blue);
}

@media (max-width: 1024px) {
    .timeline::before {
        display: none;
    }
    
    .experience-card {
        margin-left: 0;
    }
    
    .experience-card::before {
        display: none;
    }
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .contact-link {
        display: none;
    }
    
    .pdf-btn span {
        display: none;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-divider {
        height: 40px;
    }
    
    .company-badges {
        gap: 0.5rem;
    }
    
    .company-badges .badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-primary.large,
    .cta-secondary.large {
        width: 100%;
        justify-content: center;
    }
    
    .experience-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .experience-period {
        align-self: flex-start;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.8rem;
    }
    
    .skills-grid.highlighted {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .education-grid,
    .languages-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        padding: 4rem 1.5rem !important;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
}

body.pdf-mode {
    overflow: visible !important;
    font-size: 10px !important;
}

body.pdf-mode #particleCanvas {
    display: none !important;
}

body.pdf-mode header {
    position: relative !important;
    background: transparent !important;
    border: none !important;
    padding: 0.5rem 0 !important;
}

body.pdf-mode .header-actions,
body.pdf-mode .contact-link {
    display: none !important;
}

body.pdf-mode .hero {
    min-height: auto !important;
    padding: 1rem 0 0.5rem !important;
}

body.pdf-mode .hero::before {
    display: none !important;
}

body.pdf-mode .glitch {
    font-size: 2.5rem !important;
}

body.pdf-mode .typing-effect {
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
}

body.pdf-mode .company-badges {
    display: none !important;
}

body.pdf-mode .hero-stats {
    margin-bottom: 1rem !important;
}

body.pdf-mode .stat-number {
    font-size: 1.8rem !important;
}

body.pdf-mode .stat-label {
    font-size: 0.7rem !important;
}

body.pdf-mode .hero-bio {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1rem !important;
}

body.pdf-mode .hero-cta {
    display: none !important;
}

body.pdf-mode .scroll-indicator {
    display: none !important;
}

body.pdf-mode section {
    padding: 1rem 0 !important;
    opacity: 1 !important;
    transform: none !important;
}

body.pdf-mode .section-title {
    font-size: 1.4rem !important;
    margin-bottom: 0.8rem !important;
}

body.pdf-mode .section-title::before {
    height: 2px !important;
    width: 40px !important;
    bottom: -5px !important;
}

body.pdf-mode .timeline::before {
    display: none !important;
}

body.pdf-mode .experience-card {
    margin-bottom: 0.8rem !important;
    padding: 0.8rem !important;
    margin-left: 0 !important;
    border-radius: 8px !important;
}

body.pdf-mode .experience-card::before {
    display: none !important;
}

body.pdf-mode .card-glow {
    display: none !important;
}

body.pdf-mode .experience-title {
    font-size: 1rem !important;
    margin-bottom: 0.2rem !important;
}

body.pdf-mode .experience-company {
    font-size: 0.85rem !important;
}

body.pdf-mode .experience-period {
    font-size: 0.75rem !important;
    padding: 0.3rem 0.6rem !important;
}

body.pdf-mode .exp-intro {
    font-size: 0.85rem !important;
    margin-bottom: 0.5rem !important;
}

body.pdf-mode .achievements {
    margin-bottom: 0.5rem !important;
}

body.pdf-mode .achievements li {
    font-size: 0.75rem !important;
    margin-bottom: 0.3rem !important;
    padding-left: 1.2rem !important;
    line-height: 1.3 !important;
}

body.pdf-mode .achievements li::before {
    font-size: 0.9rem !important;
}

body.pdf-mode .tech-stack {
    margin-top: 0.5rem !important;
    gap: 0.3rem !important;
}

body.pdf-mode .tech-pill {
    font-size: 0.65rem !important;
    padding: 0.2rem 0.5rem !important;
}

body.pdf-mode .personal-projects .achievements li {
    font-size: 0.7rem !important;
}

body.pdf-mode .warning-badge {
    font-size: 0.65rem !important;
    padding: 0.3rem 0.6rem !important;
    margin-bottom: 0.5rem !important;
}

body.pdf-mode .skills-category {
    margin-bottom: 1rem !important;
}

body.pdf-mode .category-title {
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
}

body.pdf-mode .skills-grid {
    gap: 0.3rem !important;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)) !important;
}

body.pdf-mode .skills-grid.highlighted {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)) !important;
}

body.pdf-mode .skill-card {
    padding: 0.3rem 0.5rem !important;
    border-radius: 4px !important;
}

body.pdf-mode .skill-card span {
    font-size: 0.7rem !important;
}

body.pdf-mode .skill-card.featured span {
    font-size: 0.75rem !important;
}

body.pdf-mode .languages-grid {
    gap: 1rem !important;
}

body.pdf-mode .language-card {
    padding: 1rem !important;
}

body.pdf-mode .language-card h3 {
    font-size: 1.2rem !important;
    margin-bottom: 0.3rem !important;
}

body.pdf-mode .language-card p {
    font-size: 0.8rem !important;
}

body.pdf-mode .education-grid {
    gap: 1rem !important;
}

body.pdf-mode .education-card {
    padding: 1rem !important;
}

body.pdf-mode .edu-icon {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
}

body.pdf-mode .education-title {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
}

body.pdf-mode .edu-description {
    font-size: 0.8rem !important;
}

body.pdf-mode .edu-year {
    font-size: 0.75rem !important;
}

body.pdf-mode .contact-section {
    display: none !important;
}

body.pdf-mode footer {
    padding: 0.8rem 0 0.5rem !important;
}

body.pdf-mode footer p {
    font-size: 0.7rem !important;
    margin: 0.2rem 0 !important;
}

@media print {
    #particleCanvas,
    header,
    .scroll-indicator {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        page-break-inside: avoid;
        opacity: 1;
        transform: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}
