/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Navigation CTA Button */
.nav-item-cta {
    margin-left: 1rem;
}

.nav-cta-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    font-family: inherit;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white !important;
}

.nav-cta-emoji {
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-cta-btn:hover .nav-cta-emoji {
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
    80% { transform: translateY(-2px); }
}

/* Questionnaire Modal */
.questionnaire-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.questionnaire-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.questionnaire-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.questionnaire-header h2 {
    color: #2d3748;
    font-size: 1.8rem;
    font-weight: 600;
}

.questionnaire-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #a0aec0;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.questionnaire-close:hover {
    background: #f7fafc;
    color: #4a5568;
}

.questionnaire-body {
    padding: 30px;
}

.questionnaire-step {
    display: none;
}

.questionnaire-step.active {
    display: block;
    animation: stepFadeIn 0.3s ease-out;
}

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

.questionnaire-step h3 {
    color: #2d3748;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Option Groups */
.tech-options,
.experience-options,
.area-options {
    display: grid;
    gap: 15px;
}

.tech-options,
.area-options {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.tech-option,
.experience-option,
.area-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.tech-option:hover,
.experience-option:hover,
.area-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.tech-option input,
.experience-option input,
.area-option input {
    margin-right: 12px;
    transform: scale(1.2);
    accent-color: #667eea;
}

.tech-option input:checked + span,
.experience-option input:checked + span,
.area-option input:checked + span {
    font-weight: 600;
    color: #667eea;
}

.tech-option:has(input:checked),
.experience-option:has(input:checked),
.area-option:has(input:checked) {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
}

/* Match Summary */
.match-summary {
    text-align: center;
}

.match-header {
    margin-bottom: 30px;
}

.match-score {
    display: inline-block;
    padding: 20px 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
    border: 2px solid currentColor;
}

.score-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.score-text {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 5px;
}

.match-details {
    text-align: left;
    margin-bottom: 25px;
}

.match-details h4 {
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.match-items {
    margin-bottom: 15px;
    padding: 12px 15px;
    background: #f7fafc;
    border-radius: 8px;
    line-height: 1.5;
}

.match-items strong {
    color: #4a5568;
}

.match-items em {
    color: #e53e3e;
    font-style: normal;
}

.match-recommendation {
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #38a169;
    margin-top: 25px;
}

.match-recommendation p {
    margin: 0;
    color: #2d3748;
    line-height: 1.6;
}

/* Footer Buttons */
.questionnaire-footer {
    padding: 20px 30px 30px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.questionnaire-footer .btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-item-cta {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }
    
    .nav-link-cta {
        width: 100%;
        justify-content: center;
        padding: 12px 20px !important;
        font-size: 16px;
        border-radius: 12px;
    }
    
    .questionnaire-content {
        margin: 10px;
        border-radius: 15px;
    }
    
    .questionnaire-header,
    .questionnaire-body,
    .questionnaire-footer {
        padding: 20px;
    }
    
    .questionnaire-header h2 {
        font-size: 1.5rem;
    }
    
    .tech-options,
    .area-options {
        grid-template-columns: 1fr;
    }
    
    .questionnaire-footer {
        flex-direction: column-reverse;
    }
    
    .questionnaire-footer .btn {
        width: 100%;
    }
    
    .score-number {
        font-size: 2.5rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
}

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

/* Header Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Brand */
.nav-brand-link {
    text-decoration: none;
    color: #2d3748;
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.nav-link:hover {
    color: #2b6cb0;
}

/* Language Switcher */
.nav-lang {
    display: flex;
    gap: 0.5rem;
}

.nav-lang-link {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #4a5568;
    background: #f7fafc;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.nav-lang-link:hover {
    background: #2b6cb0;
    color: white;
}

/* Mobile Toggle Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.25rem;
    z-index: 1001;
}

.nav-toggle-bar {
    width: 25px;
    height: 3px;
    background: #2d3748;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Toggle Animation */
.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #4a5568 100%);
    color: white;
    margin-top: 70px;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-availability {
    margin-bottom: 1.5rem;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.2);
    color: #10b981;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(34, 197, 94, 0.5);
    backdrop-filter: blur(10px);
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: white;
    color: #2b6cb0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.logo-image {
    width: 280px;
    height: 280px;
    object-fit: contain;
    filter: invert(1) brightness(1) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: invert(1) brightness(1.1) drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4)) drop-shadow(0 8px 25px rgba(0, 0, 0, 0.3));
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #2d3748;
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

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

.timeline-marker {
    position: absolute;
    left: 22px;
    top: 0;
    width: 16px;
    height: 16px;
    background: #2b6cb0;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #e2e8f0;
}

.timeline-marker.current {
    background: #059669;
    box-shadow: 0 0 0 2px #059669, 0 0 20px rgba(5, 150, 105, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 2px #059669, 0 0 20px rgba(5, 150, 105, 0.4);
    }
    50% {
        box-shadow: 0 0 0 2px #059669, 0 0 20px rgba(5, 150, 105, 0.8);
    }
    100% {
        box-shadow: 0 0 0 2px #059669, 0 0 20px rgba(5, 150, 105, 0.4);
    }
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.timeline-content.current {
    border: 2px solid #059669;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.15);
}

.timeline-header {
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.job-company {
    font-weight: 600;
    color: #2b6cb0;
    display: block;
    margin-bottom: 0.25rem;
}

.job-period {
    color: #718096;
    font-size: 0.875rem;
}

.current-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: #059669;
    color: white;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 1rem;
}

.job-description {
    margin-bottom: 1rem;
    color: #4a5568;
}

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

.job-highlights li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

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

.tech-tag {
    background: #ebf8ff;
    color: #2b6cb0;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Projects Section */
.projects {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border-left: 4px solid #2b6cb0;
}

.projects h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.project-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

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

.project-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.project-period {
    color: #718096;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

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

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.project-tech {
    background: #e6fffa;
    color: #047857;
    font-size: 0.75rem;
}

/* Skills Section */
.skills {
    background: #f7fafc;
}

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

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.skill-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.skill-item:last-child {
    border-bottom: none;
}

.skill-name {
    font-weight: 500;
    color: #2d3748;
}

.skill-level {
    font-size: 0.875rem;
    color: #718096;
    background: #ebf8ff;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.certifications {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.certifications h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.certification-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.certification-item:last-child {
    border-bottom: none;
}

.certification-item h4 {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.certification-item p {
    color: #718096;
    font-size: 0.875rem;
}

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

.education-item {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.education-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.institution {
    font-weight: 600;
    color: #2b6cb0;
    margin-bottom: 0.5rem;
}

.period {
    color: #718096;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.location {
    color: #718096;
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    background: #2d3748;
    color: white;
}

.contact .section-title {
    color: white;
}

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

.contact-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s;
    font-weight: 500;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-legal {
    margin-bottom: 2rem;
}

.footer-copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
}

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

.legal-info h4 {
    color: #e2e8f0;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #2b6cb0;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.legal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.legal-section {
    color: #a0aec0;
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
}

.legal-section strong {
    color: #e2e8f0;
    margin-bottom: 0.75rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
}

.legal-line {
    height: 1.6rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}

.legal-section a {
    color: #63b3ed;
    text-decoration: none;
}

.legal-section a:hover {
    color: #90cdf4;
    text-decoration: underline;
}

.address {
    margin-top: 0.5rem;
    font-style: normal;
}

.disclaimer {
    background: #2d3748;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid #2b6cb0;
}

.disclaimer h5 {
    color: #e2e8f0;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.disclaimer p {
    color: #a0aec0;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    /* Show mobile toggle button */
    .nav-toggle {
        display: flex;
    }
    
    /* Hide menu by default on mobile */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border: 1px solid #e2e8f0;
        border-top: none;
    }
    
    /* Show menu when active */
    .nav-menu.active {
        display: flex;
    }
    
    /* Mobile menu list */
    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    /* Mobile menu items */
    .nav-item {
        width: 100%;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    /* Mobile menu links */
    .nav-link {
        display: block;
        padding: 1rem 0;
        color: #2d3748;
        font-size: 1.1rem;
        text-align: center;
        width: 100%;
    }
    
    /* Mobile CTA button */
    .nav-item-cta {
        margin: 1rem 0 0 0;
        border: none;
        width: 100%;
        text-align: center;
    }
    
    .nav-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    /* Mobile language switcher */
    .nav-lang {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-lang-link {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero {
        padding: 6rem 0 3rem;
        text-align: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .brand-logo {
        height: 32px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-logo {
        display: none;
    }
    
    .timeline-item {
        padding-left: 2rem;
        margin-bottom: 2rem;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-marker {
        left: 7px;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-header {
        margin-bottom: 0.75rem;
    }
    
    .job-title {
        font-size: 1.125rem;
        margin-bottom: 0.25rem;
    }
    
    .current-badge {
        margin-left: 0.5rem;
        margin-top: 0;
        display: inline-flex;
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .job-description {
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .projects {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .projects h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .project-item {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
    
    .project-item h5 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
    
    .project-description {
        margin-bottom: 0.75rem;
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .job-highlights {
        margin-bottom: 0.75rem;
        padding-left: 1rem;
    }
    
    .job-highlights li {
        margin-bottom: 0.25rem;
        font-size: 0.875rem;
    }
    
    .technologies {
        gap: 0.375rem;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
    
    .project-tech {
        font-size: 0.7rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    
    .legal-details {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .desktop-only {
        display: none;
    }
    
    .legal-section {
        background: #2d3748;
        padding: 1.25rem;
        border-radius: 0.5rem;
        border-left: 3px solid #2b6cb0;
    }
    
    .legal-info h4 {
        text-align: center;
    }
    
    .disclaimer {
        padding: 1rem;
    }
}