:root {
    --bg-color: #0a192f;        /* Deep Navy */
    --text-color: #8892b0;      /* Muted Blue-Grey */
    --heading-color: #ccd6f6;   /* Off-White */
    --accent-color: #64ffda;    /* Neon Teal/Emerald */
    --card-bg: #112240;         /* Slightly lighter Navy */
    
    --font-main: 'Inter', sans-serif;
    --font-code: 'Fira Code', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3 {
    color: var(--heading-color);
    margin: 0 0 20px 0;
}

h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -1px; }
h2 { font-size: 2rem; font-weight: 700; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; }

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(10, 25, 47, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo {
    font-family: var(--font-code);
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links { display: flex; gap: 30px; }
.nav-links a {
    font-family: var(--font-code);
    font-size: 0.9rem;
}
.nav-links a:hover { color: var(--accent-color); }

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;    /* Center vertically */
    padding: 0 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.greeting {
    font-family: var(--font-code);
    color: var(--accent-color);
    margin-bottom: 20px;
}

.subtitle {
    font-size: 2.5rem;
    color: var(--text-color);
}

.accent { color: var(--accent-color); }

.bio-text {
    max-width: 500px;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-family: var(--font-code);
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid var(--accent-color);
}

.btn.primary {
    background-color: transparent;
    color: var(--accent-color);
}

.btn.primary:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

.btn.secondary {
    border: none;
    color: var(--heading-color);
    margin-left: 20px;
}
.btn.secondary:hover { text-decoration: underline; }

/* Sections General */
.section {
    padding: 80px 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-title h2 {
    display: flex;
    align-items: center;
    font-family: var(--font-code);
    font-size: 1.5rem;
}

.section-title h2::after {
    content: "";
    display: block;
    width: 200px;
    height: 1px;
    background-color: #233554;
    margin-left: 20px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

.about-skills-list ul li::before {
    content: "▹";
    color: var(--accent-color);
    margin-right: 10px;
}

/* Skills Cards */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border: 1px solid var(--accent-color); /* Adds a teal border */
    box-shadow: 0 10px 30px -15px rgba(100, 255, 218, 0.3); /* Adds a teal glow */
}

.skill-card h3 { color: var(--heading-color); }

.skill-card ul li {
    font-family: var(--font-code);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Projects */
.project-card {
    background-color: var(--card-bg);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 5px;
}

.project-type {
    font-family: var(--font-code);
    color: var(--accent-color);
    font-size: 0.85rem;
}

.tech-stack {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    font-family: var(--font-code);
    font-size: 0.8rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 50px;
    margin-top: 50px;
}

.email-link {
    display: inline-block;
    margin: 20px 0;
    padding: 15px 30px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 5px;
    font-family: var(--font-code);
}

.social-links { margin-bottom: 20px; }
.social-links a { margin: 0 15px; font-family: var(--font-code); }
.copyright { font-size: 0.8rem; font-family: var(--font-code); }

/* Mobile Response */
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2.5rem; }
    .navbar { padding: 20px; }
    .hero { padding: 0 20px; }
}

/* Profile Picture */
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover; /* Ensures image doesn't stretch */
    border: 2px solid var(--accent-color); /* The Teal Border */
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3); /* Soft Teal Glow */
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Experience Section */
.job-card {
    background-color: var(--card-bg);
    padding: 25px;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent-color); /* Green line on the left */
    border-radius: 0 5px 5px 0;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.job-header h3 {
    font-size: 1.2rem;
    color: var(--heading-color);
    margin: 0;
}

.company {
    color: var(--accent-color);
    font-family: var(--font-code);
    font-size: 0.9rem;
}

.date {
    display: block;
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

/* NEW: Bullet points styling */
.job-details {
    margin-top: 15px;
    padding-left: 0;
}

.job-details li {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 8px;
    list-style: none;
    position: relative;
    padding-left: 20px;
}

.job-details li::before {
    content: "▹"; /* The cool arrow */
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px); /* Start 30px lower */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* End in normal spot */
    }
}

/* Apply animation to Hero content */
.hero-content {
    animation: fadeInUp 1s ease-out forwards; /* Runs for 1 second */
}