/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores principais */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #7c3aed;
    --accent-color: #0891b2;
    --success-color: #059669;
    --warning-color: #d97706;
    --error-color: #dc2626;

    /* Cores de texto */
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --text-inverse: #ffffff;

    /* Cores de fundo */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --bg-overlay: rgba(0, 0, 0, 0.5);

    /* Bordas e divisores */
    --border-color: #e5e7eb;
    --border-hover: #d1d5db;

    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Utilitários */
    --border-radius: 8px;
    --transition: all 0.2s ease-in-out;
}

/* Tema escuro automático */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #3b82f6;
        --primary-dark: #2563eb;
        --secondary-color: #8b5cf6;
        --accent-color: #06b6d4;
        --success-color: #10b981;
        --warning-color: #f59e0b;
        --error-color: #ef4444;

        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --text-muted: #9ca3af;
        --text-inverse: #111827;

        --bg-primary: #111827;
        --bg-secondary: #1f2937;
        --bg-tertiary: #374151;
        --bg-overlay: rgba(0, 0, 0, 0.7);

        --border-color: #374151;
        --border-hover: #4b5563;

        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
        --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
        --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    }
}

/* Tema escuro manual */
[data-theme="dark"] {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;

    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --text-inverse: #111827;

    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --bg-overlay: rgba(0, 0, 0, 0.7);

    --border-color: #374151;
    --border-hover: #4b5563;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Tema claro manual */
[data-theme="light"] {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #7c3aed;
    --accent-color: #0891b2;
    --success-color: #059669;
    --warning-color: #d97706;
    --error-color: #dc2626;

    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --text-inverse: #ffffff;

    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --bg-overlay: rgba(0, 0, 0, 0.5);

    --border-color: #e5e7eb;
    --border-hover: #d1d5db;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

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

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

/* Animações simplificadas */

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

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

/* Classes de animação */
/* Animações desabilitadas para melhor performance */
.fade-in, .fade-in-left, .fade-in-right, .fade-in-up {
    opacity: 1;
    transform: none;
}

/* Scroll animations desabilitadas */
.animate-on-scroll {
    opacity: 1;
    transform: none;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

@media (prefers-color-scheme: dark) {
    .navbar {
        background: var(--bg-primary);
        border-bottom-color: var(--border-color);
    }
}

[data-theme="dark"] .navbar {
    background: var(--bg-primary);
    border-bottom-color: var(--border-color);
}

.navbar.scrolled {
    background: var(--bg-primary);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}

[data-theme="dark"] .navbar.scrolled {
    background: var(--bg-primary);
}

/* Theme Toggle */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Selector */
.theme-selector {
    position: relative;
    display: inline-block;
}

.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    min-width: 120px;
    justify-content: space-between;
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.theme-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.theme-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    color: #1f2937; /* Escuro para modo claro */
}

.theme-option:hover {
    background: var(--bg-secondary);
    color: #111827; /* Mais escuro no hover do modo claro */
}

.theme-option.active {
    background: var(--primary-color);
    color: #ffffff;
}

/* Modo escuro - cores claras no dropdown */
@media (prefers-color-scheme: dark) {
    .theme-option {
        color: #e5e7eb !important; /* Claro para modo escuro */
    }

    .theme-option:hover {
        background: var(--bg-secondary);
        color: #f9fafb !important; /* Mais claro no hover do modo escuro */
    }
}

[data-theme="dark"] .theme-option {
    color: #e5e7eb !important; /* Claro para modo escuro manual */
}

[data-theme="dark"] .theme-option:hover {
    background: var(--bg-secondary);
    color: #f9fafb !important; /* Mais claro no hover do modo escuro manual */
}

/* Modo claro manual - garantir cores escuras */
[data-theme="light"] .theme-option {
    color: #1f2937 !important; /* Escuro para modo claro manual */
}

[data-theme="light"] .theme-option:hover {
    background: var(--bg-secondary);
    color: #111827 !important; /* Mais escuro no hover do modo claro manual */
}

.theme-option:first-child {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.theme-option:last-child {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

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

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: var(--warning-color);
    position: relative;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border-color: var(--text-inverse);
}

.btn-secondary:hover {
    background: var(--bg-primary);
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

.hero-avatar {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: float 6s ease-in-out infinite;
    transition: var(--transition);
}

.hero-avatar i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

/* Modo escuro - avatar mais escuro e discreto */
@media (prefers-color-scheme: dark) {
    .hero-avatar {
        background: rgba(0, 0, 0, 0.3);
        border: 3px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .hero-avatar i {
        color: rgba(255, 255, 255, 0.7);
    }
}

[data-theme="dark"] .hero-avatar {
    background: rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero-avatar i {
    color: rgba(255, 255, 255, 0.7);
}

/* Modo claro manual - avatar mais vibrante */
[data-theme="light"] .hero-avatar {
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .hero-avatar i {
    color: rgba(255, 255, 255, 0.95);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--text-inverse);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: float 2s ease-in-out infinite;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
    margin-top: 0;
}

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

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

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

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: var(--text-primary);
}

.skill-item:hover {
    transform: translateY(-5px);
}

.skill-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

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

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

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

.service-card {
    background: var(--bg-primary);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

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

.service-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Portfolio Section */
.portfolio {
    background: #f9fafb;
}

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

.portfolio-item {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.7);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.portfolio-overlay p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.portfolio-links {
    display: flex;
    gap: 1rem;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.portfolio-link:hover {
    background: #1d4ed8;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

.contact-form {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skills {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-avatar {
        width: 200px;
        height: 200px;
    }
    
    .hero-avatar i {
        font-size: 5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    section {
        padding: 60px 0;
    }
}

/* Experience Section */
.experience {
    padding: 100px 0;
    background: var(--bg-secondary);
}

/* Trajectory Hint */
.trajectory-hint {
    text-align: center;
    margin: 2rem 0;
    opacity: 0.8;
}

.hint-text {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hint-text:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

/* Estilos para o roadmap interativo da trajetória */
.career-roadmap {
    position: relative;
    padding: 4rem 0;
    margin: 3rem 0;
}

.roadmap-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.roadmap-line {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.career-milestone {
    position: relative;
    z-index: 2;
    margin: 2rem 0;
    cursor: pointer;
}

.career-milestone[data-position="1"] {
    margin-left: 5%;
}

.career-milestone[data-position="2"] {
    margin-left: 25%;
}

.career-milestone[data-position="3"] {
    margin-left: 45%;
}

.career-milestone[data-position="4"] {
    margin-left: 65%;
}

.milestone-marker {
    position: relative;
    width: 20px;
    height: 20px;
    margin: 0 auto 1rem;
}

.milestone-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: 4px solid var(--bg-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.milestone-dot.current {
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.3);
    animation: currentPulse 2s infinite;
}

.milestone-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    animation: pulse 2s infinite;
}

.milestone-pulse.current {
    background: rgba(255, 107, 107, 0.1);
}

.milestone-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    max-width: 280px;
    margin: 0 auto;
}

.milestone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.milestone-card.current {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(255, 107, 107, 0.05) 100%);
}

.milestone-card.active {
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.milestone-year {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.milestone-card h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0.5rem 0;
    font-weight: 600;
}

.milestone-company {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.3rem 0;
    font-weight: 500;
}

.milestone-description {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0.8rem 0;
    line-height: 1.4;
}

.milestone-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 1rem;
}

.milestone-skills span {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.current-indicator {
    margin-top: 1rem;
    text-align: center;
}

.current-badge {
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

/* Detalhes da carreira */
.career-details {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem 0;
    min-height: 200px;
    transition: all 0.3s ease;
}

.details-header {
    text-align: center;
    margin-bottom: 2rem;
}

.details-header h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.details-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.details-placeholder {
    text-align: center;
    color: var(--text-secondary);
    padding: 3rem 0;
}

.details-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.details-content {
    transition: all 0.3s ease;
}

/* Milestone Tooltips */
.milestone-tooltip {
    position: absolute;
    top: 0;
    right: calc(100% + 15px);
    transform: translateX(10px);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    width: 320px;
    backdrop-filter: blur(15px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    pointer-events: none;
}

.milestone-tooltip::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid rgba(255, 255, 255, 0.1);
}

.career-milestone:hover .milestone-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.tooltip-content h4 {
    color: var(--accent-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.tooltip-company {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    font-weight: 500;
}

.tooltip-description {
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.tooltip-achievements {
    margin-top: 1rem;
}

.tooltip-achievements strong {
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.tooltip-achievements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tooltip-achievements li {
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.4;
    font-size: 0.85rem;
}

.tooltip-achievements li::before {
    content: "▸";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Responsive tooltips */
@media (max-width: 1200px) {
    .milestone-tooltip {
        width: 280px;
        padding: 1.2rem;
    }
    
    .tooltip-content h4 {
        font-size: 1rem;
    }
    
    .tooltip-company {
        font-size: 0.85rem;
    }
    
    .tooltip-description {
        font-size: 0.85rem;
    }
    
    .tooltip-achievements strong {
        font-size: 0.9rem;
    }
    
    .tooltip-achievements li {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .milestone-tooltip {
        position: fixed;
        top: 50%;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%) scale(0.9);
        min-width: 280px;
        max-width: 90vw;
        z-index: 2000;
    }
    
    .milestone-tooltip::before {
        display: none;
    }
    
    .career-milestone:hover .milestone-tooltip {
        transform: translate(-50%, -50%) scale(1);
    }
    
    /* Overlay for mobile */
    .career-milestone:hover::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1500;
        backdrop-filter: blur(2px);
    }
}

/* Estilos para detalhes expandidos */
.milestone-detail {
    background: var(--bg-color);
    border-radius: 16px;
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
}

.detail-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.detail-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.detail-company {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0.3rem 0;
}

.detail-period {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.detail-description {
    margin: 1.5rem 0;
}

.detail-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.detail-achievements {
    margin: 2rem 0;
}

.detail-achievements h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.detail-achievements ul {
    list-style: none;
    padding: 0;
}

.detail-achievements li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
}

.detail-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.detail-skills {
    margin: 2rem 0;
}

.detail-skills h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.skill-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Animações */
@keyframes currentPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(255, 107, 107, 0.1); }
    100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.3); }
}

/* Trajectory Summary */
.trajectory-summary {
    margin-bottom: 50px;
    background: var(--bg-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.trajectory-overview {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.trajectory-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
}

.trajectory-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

.trajectory-item.current {
    border-left-color: var(--secondary-color);
    background: linear-gradient(135deg, var(--primary-color)10, var(--bg-secondary));
}

.trajectory-item.current::after {
    content: "ATUAL";
    position: absolute;
    top: -8px;
    right: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.trajectory-year {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-color);
    text-align: center;
}

.trajectory-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.trajectory-company {
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
}

.trajectory-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.trajectory-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.trajectory-toggle i {
    transition: var(--transition);
}

.trajectory-toggle.expanded i {
    transform: rotate(180deg);
}

/* Responsividade */
@media (max-width: 768px) {
    .career-milestone {
        margin-left: 0 !important;
        margin: 1.5rem auto;
    }
    
    .roadmap-path {
        display: none;
    }
    
    .milestone-card {
        max-width: 100%;
    }
    
    .career-roadmap {
        padding: 2rem 0;
    }
    
    .trajectory-item {
        grid-template-columns: 60px 1fr;
        gap: 15px;
    }
    
    .trajectory-company {
        grid-column: 2;
        margin-top: 5px;
    }
    
    .trajectory-year {
        font-size: 16px;
    }
    
    .trajectory-title {
        font-size: 14px;
    }
}

.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    width: 100%;
}

.timeline-item:nth-child(odd) {
    padding-right: 50%;
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--bg-color);
    z-index: 2;
}

.timeline-item:nth-child(odd)::before {
    right: -8px;
}

.timeline-item:nth-child(even)::before {
    left: -8px;
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.timeline-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

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

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

/* Education Section */
.education-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.education-title {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.education-item {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.education-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.education-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.education-institution {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education-period {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

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

.portfolio-item {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.portfolio-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.tech-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.portfolio-links {
    display: flex;
    gap: 1rem;
}

.portfolio-link {
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.portfolio-link:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-color);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-details h3 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--text-secondary);
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-actions {
        order: 2;
    }

    .hamburger {
        order: 3;
    }

    .theme-toggle {
        min-width: 100px;
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .theme-dropdown {
        min-width: 120px;
        position: fixed;
        right: 10px;
        top: 60px;
        z-index: 1002;
        border: 2px solid var(--border-color);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .theme-dropdown.active {
        animation: fadeInMobile 0.3s ease-in-out;
    }

    @keyframes fadeInMobile {
        from {
            opacity: 0;
            transform: scale(0.9) translateY(-10px);
        }
        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }

    .theme-option {
        padding: 15px;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-color);
        transition: background-color 0.2s ease;
    }

    .theme-option:last-child {
        border-bottom: none;
    }

    .theme-option:active {
        background-color: var(--primary-color);
        color: white;
    }

    /* Remover hover em mobile - apenas clique/toque */
    .career-milestone:hover .milestone-tooltip,
    .skill-item:hover,
    .stat-item:hover,
    .service-card:hover,
    .portfolio-item:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .nav-link:hover,
    .social-link:hover {
        transform: none !important;
        box-shadow: none !important;
        opacity: inherit !important;
    }

    /* Classe para estado ativo em mobile */
    .mobile-active .milestone-tooltip {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Melhorar área de toque */
    .career-milestone {
        min-height: 44px;
        min-width: 44px;
        padding: 8px;
    }

    .btn {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    .experience-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-item::before {
        left: 12px !important;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-skills,
    .portfolio-tech {
        justify-content: center;
    }
}