:root {
    --background: #111111;
    --surface: #1d1d1d;
    --primary: #007BFF;
    --on-background: #FFFFFF;
    --on-surface: #E0E0E0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--on-background);
    line-height: 1.6;
}

header {
    position: fixed;
    width: 100%;
    z-index: 10;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo { font-size: 1.5rem; font-weight: 700; }
.nav-links { list-style: none; display: flex; }
.nav-links li { margin-left: 2rem; }
.nav-links a { text-decoration: none; color: var(--on-surface); font-weight: 600; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--primary); }

main { padding-top: 70px; }
section { padding: 6rem 5%; max-width: 1200px; margin: 0 auto; text-align: center; }

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-content h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 1rem; }
.hero-content p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 2rem auto; color: var(--on-surface); }

.cta-button, .contact-button {
    background: var(--primary);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s;
    display: inline-block;
}
.cta-button:hover, .contact-button:hover {
    transform: scale(1.05);
    background-color: #0056b3;
}

.glow-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, rgba(0, 123, 255, 0) 70%);
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

h2 { font-size: 2.8rem; margin-bottom: 3.5rem; }

/* New Skills Section Styles */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.skill-card {
    background: var(--surface);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.skill-card p {
    color: var(--on-surface);
}


/* Projects Section Styles */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.project-card {
    background: var(--surface);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.project-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, var(--surface) 0%, rgba(0, 123, 255, 0.05) 100%);
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-card h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.project-card p { flex-grow: 1; color: var(--on-surface); margin-bottom: 1rem; }

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    background: rgba(0, 123, 255, 0.2);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    align-self: flex-start;
    transition: transform 0.2s ease;
}

.project-link:hover {
    transform: translateX(5px);
}

.project-link.disabled { color: #888; pointer-events: none; }

#contact p { margin-bottom: 2rem; }

footer { padding: 2rem 5%; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.1); }

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    h2 { font-size: 2.2rem; }
    .nav-links { display: none; } /* Consider a hamburger menu for mobile */
}