/* --- General Styles & CSS Variables --- */
:root {
    --primary-color: #00bfa5; /* A professional teal accent */
    --background-color: #1a1a1a;
    --surface-color: #2c2c2c;
    --text-color: #f0f0f0;
    --text-muted-color: #a0a0a0;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

h1, h2, h3, h4 { font-family: var(--heading-font); font-weight: 700; color: var(--text-color); margin-bottom: 1rem; }

h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; position: relative; }

h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background-color: var(--primary-color); }

p { color: var(--text-muted-color); margin-bottom: 1rem; }

a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #ffffff; }

ul { list-style: none; }
strong { color: var(--text-color); }

.content-section { padding: 6rem 0; }

/* --- Navbar --- */
.navbar { background-color: rgba(26, 26, 26, 0.9); backdrop-filter: blur(10px); position: fixed; width: 100%; top: 0; z-index: 1000; padding: 1rem 0; border-bottom: 1px solid #333; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-family: var(--heading-font); font-size: 1.5rem; font-weight: 700; color: var(--text-color); }
.navbar nav ul { display: flex; }
.navbar nav ul li { margin-left: 2rem; }
.navbar nav a { font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.navbar nav a.active { color: var(--primary-color); }

/* --- Hero Section --- */
.hero-section { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 1rem; }
.hero-section h1 { font-size: 3.5rem; max-width: 900px; }
.hero-section .subtitle { font-size: 1.2rem; max-width: 600px; margin: 1rem auto 2rem; color: var(--text-muted-color); }
.cta-button { background-color: var(--primary-color); color: #111; padding: 0.8rem 2.5rem; border-radius: 50px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; }
.cta-button:hover { background-color: #fff; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 191, 165, 0.4); }

/* --- About Section --- */
#about p { font-size: 1.1rem; text-align: center; max-width: 800px; margin: 0 auto; }

/* --- Technical Toolbox Section --- */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.skill-category { background-color: var(--surface-color); padding: 2rem; border-radius: 8px; border: 1px solid #333; }
.skill-category h3 { color: var(--primary-color); margin-bottom: 1.5rem; border-bottom: 2px solid var(--primary-color); display: inline-block; padding-bottom: 0.5rem; }
.skill-category ul li { margin-bottom: 0.75rem; }

/* --- Awards Section --- */
.awards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.award-item { background-color: var(--surface-color); padding: 2rem; border-radius: 8px; text-align: center; border: 1px solid #333; }
.award-item h3 { color: var(--primary-color); }
.award-item p { margin: 0; }

/* --- Career & Project Showcase Section --- */
.showcase-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.showcase-item { background-color: var(--surface-color); padding: 2rem; border-radius: 8px; border-left: 5px solid var(--primary-color); transition: all 0.3s ease; }
.showcase-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.showcase-item h3 { color: var(--text-color); margin-bottom: 0.25rem; }
.showcase-item .role { font-weight: bold; color: var(--primary-color); margin-bottom: 1rem; }
.showcase-item h4 { margin-top: 1rem; margin-bottom: 0.5rem; color: var(--text-muted-color); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.showcase-item p { margin-bottom: 0.5rem; }
.showcase-item .tech-stack { margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-muted-color); }

/* --- Contact Section --- */
#contact { text-align: center; }
#contact p { max-width: 600px; margin: 0 auto 2rem; }
.contact-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.contact-link { font-size: 1.2rem; font-weight: bold; }

/* --- Footer --- */
footer { padding: 2rem 0; text-align: center; border-top: 1px solid #333; margin-top: 4rem; }

/* --- Animations & Responsive Design --- */
.hidden { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.show { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    
    .navbar { padding: 1rem; }
    .navbar .container { flex-direction: column; }
    .navbar nav ul { margin-top: 1rem; padding-left: 0; }
    .navbar nav ul li { margin: 0 0.75rem; }

    .skills-grid { grid-template-columns: 1fr; }
}