html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(34, 211, 238, 0.12), transparent 60%),
                linear-gradient(135deg, #0a0a0a 0%, #0f172a 40%, #031a1d 70%, #001215 100%);
    min-height: 100vh;
}

/* Scroll progress bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #22d3ee 0%, #0891b2 100%);
    z-index: 1001;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(34, 211, 238, 0.15), transparent 60%);
    transition: background 0.2s ease;
    z-index: 0;
}

body::before {
    content: '';
    position: fixed;
    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    body::after {
        background: radial-gradient(180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(34, 211, 238, 0.08), transparent 60%);
    }
}

body.paused::before {
    animation: ripple-ring 0.8s ease-out;
}

@keyframes ripple-ring {
    0% { opacity: 0.6; box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); }
    100% { opacity: 0; box-shadow: 0 0 0 120px rgba(34, 211, 238, 0); }
}

/* Reduzir movimento para quem prefere menos animações */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    body::before,
    body::after {
        animation: none !important;
        background: none !important;
    }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(34, 211, 238, 0.25);
}

.header.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 2px 20px rgba(34, 211, 238, 0.3);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22d3ee;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: #0891b2;
}

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

.nav-link {
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #22d3ee;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #22d3ee 0%, #0891b2 100%);
    transition: width 0.3s ease;
}

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

/* Foco visível consistente */
.nav-link:focus-visible,
.btn:focus-visible,
.project-link:focus-visible,
#back-to-top:focus-visible,
.whatsapp-btn:focus-visible {
    outline: 3px solid rgba(34, 211, 238, 0.9);
    outline-offset: 3px;
    border-radius: 6px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #22d3ee;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(3, 26, 29, 0.6) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15) 0%, rgba(8, 145, 178, 0.25) 100%);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

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

.hero-content {
    z-index: 2;
}

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

.hero-greeting {
    display: block;
    font-size: 1.25rem;
    color: #cbd5e1;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.hero-name {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-role {
    display: block;
    font-size: 2rem;
    background: linear-gradient(90deg, #22d3ee 0%, #0891b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    min-height: 2.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-shape {
    width: 400px;
    height: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%; /* Ajustado para focar melhor no rosto */
    border-radius: 60px; /* Alterado de 50% para um quadrado arredondado (squircle) para cortar menos */
    border: 4px solid rgba(34, 211, 238, 0.5);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.2);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease;
}

.hero-shape:hover img {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.4);
    border-color: rgba(34, 211, 238, 0.8);
    border-radius: 70px; /* Ligeira alteração na forma ao passar o mouse */
}

.hero-shape::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 75px; /* Acompanha o novo formato da imagem */
    border: 2px solid rgba(34, 211, 238, 0.3);
    animation: pulse 3s infinite;
    z-index: 1;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 211, 238, 0.35);
}

.btn-outline {
    background: transparent;
    color: #22d3ee;
    border: 2px solid #22d3ee;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 211, 238, 0.3);
}

section {
    padding: 5rem 0;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #22d3ee 0%, #0891b2 100%);
    border-radius: 2px;
}

.about {
    background: rgba(26, 26, 46, 0.3);
}

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

.about-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

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

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(26, 26, 46, 0.8);
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(34, 211, 238, 0.3);
}

.social-link:hover {
    color: #22d3ee;
    border-color: #22d3ee;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.3);
}

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

.project-card {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 211, 238, 0.25);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(34, 211, 238, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    height: auto;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 0.75rem;
}

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

.project-tech {
    display: none;
}

.project-tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.project-tech-icons i {
    font-size: 24px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.project-tech-icons .devicon-nextjs-original {
    background: #ffffff;
    border-radius: 50%;
    padding: 4px;
}

.project-tech-icons i:hover {
    transform: scale(1.1);
}

.project-tech-icons .tech-logo {
    width: 24px;
    height: 24px;
    display: inline-block;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.project-tech-icons .tech-logo:hover {
    transform: scale(1.1);
}

.project-tech-icons .tech-next {
    background: #ffffff;
    border-radius: 50%;
    padding: 3px;
}

.tech-tag {
    background: rgba(34, 211, 238, 0.2);
    color: #22d3ee;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

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

.project-link {
    color: #22d3ee;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid #22d3ee;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}

.project-link:hover {
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
    color: white;
}

.skills {
    background: rgba(26, 26, 46, 0.3);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    overflow: visible;
}

.skill-category {
    background: rgba(26, 26, 46, 0.8);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(34, 211, 238, 0.25);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 1.5rem;
    text-align: center;
}

.skills-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1.5rem;
    justify-items: center;
    justify-content: center;
    align-content: center;
}

@media (max-width: 768px) {
    .skills-container {
        content-visibility: auto;
        contain-intrinsic-size: 400px;
    }
    .skills-icons {
        content-visibility: auto;
        contain-intrinsic-size: 300px;
    }
}

.skill-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    width: 140px;
    height: 150px;
    border-radius: 0.75rem;
    background: rgba(34, 211, 238, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.skill-icon:hover {
    background: rgba(34, 211, 238, 0.18);
    border-color: #22d3ee;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(34, 211, 238, 0.2);
}

.skill-icon svg {
    width: 48px;
    height: 48px;
    fill: #22d3ee;
    transition: all 0.3s ease;
}

.skill-icon i {
    font-size: 48px;
    line-height: 1;
}

.skill-icon .skill-logo {
    width: 48px;
    height: 48px;
    display: block;
    object-fit: contain;
}

.skill-icon.skill-next .skill-logo {
    background: #ffffff;
    border-radius: 50%;
    padding: 6px;
}

.skill-icon:hover svg {
    fill: #0891b2;
    transform: scale(1.1);
}

.skill-icon.skill-next svg,
.skill-icon.skill-sass svg,
.skill-icon.skill-vite svg,
.skill-icon.skill-java svg,
.skill-icon.skill-node svg,
.skill-icon.skill-express svg,
.skill-icon.skill-mysql svg,
.skill-icon.skill-git svg,
.skill-icon.skill-github svg,
.skill-icon.skill-vercel svg,
.skill-icon.skill-netlify svg,
.skill-icon.skill-postman svg,
.skill-icon.skill-vscode svg,
.skill-icon.skill-jest svg {
    display: none;
}

.skill-icon span {
    font-size: 0.75rem;
    font-weight: 500;
    color: #cbd5e1;
    text-align: center;
}

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

.methodology-item {
    background: rgba(34, 211, 238, 0.08);
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(34, 211, 238, 0.25);
}

.methodology-item:hover {
    background: rgba(34, 211, 238, 0.18);
    border-color: #22d3ee;
    transform: translateY(-2px);
}

.methodology-name {
    font-weight: 500;
    color: #f1f5f9;
    font-size: 0.875rem;
}

/* Brand colors for skill icons */
.skill-icon.skill-html svg { fill: #E34F26; }
.skill-icon.skill-html:hover svg { fill: #CC4521; }

.skill-icon.skill-css svg { fill: #1572B6; }
.skill-icon.skill-css:hover svg { fill: #0A5CAD; }

.skill-icon.skill-js svg { fill: #F7DF1E; }
.skill-icon.skill-js:hover svg { fill: #E5C700; }

.skill-icon.skill-react svg { fill: #61DAFB; }
.skill-icon.skill-react:hover svg { fill: #3FBCEB; }

.skill-icon.skill-vite svg { fill: #646CFF; }
.skill-icon.skill-vite:hover svg { fill: #7C83FF; }

.skill-icon.skill-sass svg { fill: #CC6699; }
.skill-icon.skill-sass:hover svg { fill: #B25586; }

.skill-icon.skill-next svg { fill: #000000; }
.skill-icon.skill-next:hover svg { fill: #333333; }

.skill-icon.skill-node svg { fill: #339933; }
.skill-icon.skill-node:hover svg { fill: #2B7A2B; }

.skill-icon.skill-express svg { fill: #000000; }
.skill-icon.skill-express:hover svg { fill: #333333; }

.skill-icon.skill-java svg { fill: #ED8B00; }
.skill-icon.skill-java:hover svg { fill: #c97100; }

.skill-icon.skill-mysql svg { fill: #4479A1; }
.skill-icon.skill-mysql:hover svg { fill: #2F5F85; }

.skill-icon.skill-git svg { fill: #F05032; }
.skill-icon.skill-git:hover svg { fill: #D6432A; }

.skill-icon.skill-github svg { fill: #000000; }
.skill-icon.skill-github:hover svg { fill: #333333; }

.skill-icon.skill-vercel svg { fill: #000000; }
.skill-icon.skill-vercel:hover svg { fill: #333333; }

.skill-icon.skill-netlify svg { fill: #00C7B7; }
.skill-icon.skill-netlify:hover svg { fill: #00AFA0; }

.skill-icon.skill-postman svg { fill: #FF6C37; }
.skill-icon.skill-postman:hover svg { fill: #E35D2F; }

.skill-icon.skill-vscode svg { fill: #007ACC; }
.skill-icon.skill-vscode:hover svg { fill: #005F99; }

.skill-icon.skill-jest svg { fill: #99425B; }
.skill-icon.skill-jest:hover svg { fill: #7D3549; }

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

.education-category {
    background: rgba(26, 26, 46, 0.8);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(34, 211, 238, 0.25);
}

.education-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 2rem;
    text-align: center;
}

.education-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.education-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-left: 4px solid #22d3ee;
    background: rgba(34, 211, 238, 0.08);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.education-item:hover {
    background: rgba(34, 211, 238, 0.18);
    transform: translateX(5px);
}

.education-date {
    font-weight: 600;
    color: #22d3ee;
    min-width: 100px;
    font-size: 0.875rem;
}

.education-info {
    flex: 1;
}

.education-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 0.25rem;
}

.education-institution {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #0f172a 100%);
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(34, 211, 238, 0.25);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-description {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Back to top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    left: 50%;
    right: auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
    color: #0a0a0a;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(34, 211, 238, 0.35);
    transform: translate(-50%, 20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}

#back-to-top.visible {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}
.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(34, 211, 238, 0.25);
    color: #94a3b8;
}

/* WhatsApp Button Styles */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.whatsapp-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-name {
        font-size: 3rem;
    }
    
    .hero-shape {
        width: 300px;
        height: 300px;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .education-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(10px);
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(34, 211, 238, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .nav-toggle {
        display: flex;
        position: relative;
        width: 28px;
        height: 20px;
        gap: 0;
    }
    
    .nav-toggle span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
    }
    
    .nav-toggle span:nth-child(1) { top: 3px; }
    .nav-toggle span:nth-child(2) { top: 9px; }
    .nav-toggle span:nth-child(3) { top: 15px; }
    
    .nav-toggle.active span:nth-child(1) {
        top: 9px;
        transform: rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        top: 9px;
        transform: rotate(-45deg);
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .hero-role {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-shape {
        width: 250px;
        height: 250px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-links {
        flex-direction: column;
        align-items: center;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .skills-icons {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .education-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .education-date {
        min-width: auto;
    }
    
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
    }
    
    .hero-role {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .project-card {
        margin: 0 0.5rem;
    }
    
    .skill-category,
    .education-category {
        padding: 1.5rem;
    }
    
    .skills-icons {
        grid-template-columns: repeat(2, 1fr);
    }
}
