* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.profile {
    margin-bottom: 40px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    margin-bottom: 15px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #1a1a1a;
    font-size: 24px;
    margin-bottom: 5px;
}

p {
    color: #666;
    font-size: 16px;
}

.nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.nav-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.nav-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.nav-card i {
    font-size: 40px;
    margin-bottom: 10px;
}

.nav-card h2 {
    font-size: 24px;
    color: #1a1a1a;
    margin: 0;
}

.nav-card p {
    color: #666;
    text-align: center;
    margin: 0;
}

/* Section-specific colors */
.nav-card[href="racing.html"] i {
    color: #f59e0b;
}

.nav-card[href="projects.html"] i {
    color: #10b981;
}

.nav-card[href="blog.html"] i {
    color: #8b5cf6;
}

.nav-card[href="connect.html"] i {
    color: #4a6cf7;
}

@media (max-width: 768px) {
    .nav-cards {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 10px;
    }

    .nav-card {
        padding: 20px;
    }
}