section {
    padding: 4rem 0;
}

.tab-content {
    display: none;
    opacity: 0;
}

.tab-content.active {
    display: block;
    animation: fadeInTab 0.35s ease forwards;
}

#hero.active {
    display: flex;
    align-items: center;
    min-height: 75vh;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 2.25rem;
}

#projects h2, #contact h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-links a {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-tip {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.75;
    margin-bottom: 0.6rem;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}