:root {
    --bg-color: #0a0a0a;
    --card-bg: #161616;
    --primary-color: #00e5ff; /* Cyan for Tech/Energy */
    --secondary-color: #7000ff; /* Purple for AI */
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --font-main: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between; /* Pushes Logo left, Links right */
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000; /* Fixed the typo here */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 60px;
    width: auto;
    border-radius: 50%; /* Optional: Makes profile pic round */
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-text .dot {
    color: #007bff;
}

/* THIS WAS MISSING: Aligns the list items horizontally */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px; /* Space between each link */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Contact Button Styling */
.cta-btn {
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--primary-color);
    color: #000 !important;
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
}

.greeting {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.name {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.roles {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    height: 30px;
}

.tagline {
    max-width: 600px;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.2);
}

.socials {
    margin-bottom: 30px;
}

.socials a {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.socials a:hover { color: var(--primary-color); }

.scroll-down {
    position: absolute;
    bottom: 30px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* --- SECTIONS GENERAL --- */
.section {
    padding: 100px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 0;
}

/* --- ABOUT GRID --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.stat-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid var(--secondary-color);
    margin-bottom: 20px;
}

/* --- SKILLS --- */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-category {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.skill-category h3 {
    margin-bottom: 20px;
    color: #fff;
}

.skill-category h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags span {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- TIMELINE (EXPERIENCE) --- */
.timeline {
    position: relative;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    margin-left: 20px;
    padding-left: 40px;
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--bg-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    left: -50px;
    top: 5px;
}

.timeline-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* --- PROJECTS GRID --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.card-content {
    padding: 30px;
}

.project-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.project-card h3 {
    margin-bottom: 10px;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.tech-stack {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    flex-wrap: wrap;
}

.tech-stack span {
    color: var(--primary-color);
}

/* --- CONTACT --- */
.contact-box {
    background: linear-gradient(145deg, #161616, #0f0f0f);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info {
    margin: 30px 0;
}

.contact-info p {
    margin: 10px 0;
    color: var(--text-muted);
}

footer {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- ANIMATIONS & JS CLASSES --- */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none; /* JS will toggle 'active' class to show it */
        flex-direction: column;
        position: absolute;
        top: 80px; /* Height of navbar */
        right: 0;
        background: rgba(10, 10, 10,