/* --- Keep your previous Variables & Reset --- */
:root {
    --bg-color: #0a192f;
    --light-bg: #112240;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --accent: #64ffda;
    --white: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-color); color: var(--text-primary); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }

/* --- Utility Classes --- */
.container { width: 85%; max-width: 1200px; margin: 0 auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.section { padding: 100px 0; }
.section-title { display: flex; align-items: center; font-size: 26px; font-weight: 700; margin-bottom: 40px; color: var(--text-primary); font-family: var(--font-heading); }
.section-title::after { content: ""; display: block; width: 200px; height: 1px; background-color: var(--text-secondary); margin-left: 20px; opacity: 0.3; }
.btn { display: inline-block; padding: 12px 24px; border-radius: 4px; font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.primary-btn { color: var(--accent); border: 1px solid var(--accent); background: transparent; }
.primary-btn:hover { background: rgba(100, 255, 218, 0.1); }

/* --- Navbar --- */
header { height: 80px; position: fixed; width: 100%; top: 0; z-index: 1000; background: rgba(10, 25, 47, 0.85); backdrop-filter: blur(10px); display: flex; align-items: center; box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7); }
.navbar { display: flex; justify-content: space-between; align-items: center; width: 90%; }
.logo { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--accent); }
.logo span { color: var(--text-primary); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--text-primary); }
.nav-links a:hover { color: var(--accent); }
.btn-nav { border: 1px solid var(--accent); padding: 8px 16px; border-radius: 4px; color: var(--accent) !important; }

/* --- Hero Section --- */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding-top: 80px; }
.greeting { color: var(--accent); font-family: var(--font-heading); font-size: 16px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 8vw, 70px); font-family: var(--font-heading); color: var(--text-primary); line-height: 1.1; }
.hero .bio { max-width: 540px; color: var(--text-secondary); font-size: 18px; margin-bottom: 50px; margin-top: 20px; }
.hero .bio strong { color: var(--accent); }
.hero-btns { display: flex; gap: 20px; }
.secondary-btn { color: var(--text-primary); border: 1px solid var(--text-secondary); }
.secondary-btn:hover { border-color: var(--accent); color: var(--accent); }

/* NEW: Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 600;
}
.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(100, 255, 218, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(100, 255, 218, 0); }
}

/* --- About Section --- */
.about-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 50px; align-items: start; }
.about-text p { margin-bottom: 15px; color: var(--text-secondary); }
.education-box { margin-top: 30px; padding: 20px; border: 1px solid var(--light-bg); background: var(--light-bg); border-radius: 6px; }
.education-box h3 { color: var(--white); margin-bottom: 10px; font-size: 18px; }
.education-box .school { color: var(--accent); font-weight: 600; }
.img-wrapper { position: relative; max-width: 300px; margin: 0 auto; }
.img-wrapper img { width: 100%; border-radius: 4px; display: block; filter: grayscale(100%) contrast(1); transition: var(--transition); border: 2px solid var(--accent); box-shadow: 10px 10px 0px rgba(100, 255, 218, 0.2); }
.img-wrapper:hover img { filter: none; transform: translate(-5px, -5px); box-shadow: 15px 15px 0px rgba(100, 255, 218, 0.2); }

/* --- NEW: Experience Section (Timeline) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--light-bg);
}
.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 50px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}
.timeline-left h3 {
    color: var(--text-primary);
    font-size: 20px;
    font-family: var(--font-heading);
}
.timeline-left .company {
    color: var(--accent);
    font-weight: 600;
    font-size: 16px;
    display: block;
}
.timeline-left .date {
    color: var(--text-secondary);
    font-size: 13px;
    font-family: monospace;
    margin-bottom: 15px;
    display: block;
}
.job-description li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 15px;
}
.job-description li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent);
}
.job-tags {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}
.job-tags span {
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--light-bg);
    padding: 4px 12px;
    border-radius: 20px;
}

/* --- Skills Section --- */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.skill-category { background-color: var(--light-bg); padding: 25px; border-radius: 6px; transition: var(--transition); }
.skill-category:hover { transform: translateY(-5px); }
.skill-category h3 { color: var(--white); margin-bottom: 20px; font-family: var(--font-heading); display: flex; align-items: center; gap: 10px; }
.skill-category h3 i { color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags span { font-size: 13px; color: var(--accent); background: rgba(100, 255, 218, 0.1); padding: 5px 10px; border-radius: 15px; }

/* --- Projects Section --- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.project-card { background-color: var(--light-bg); padding: 30px 25px; border-radius: 6px; transition: var(--transition); display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.project-card:hover { transform: translateY(-7px); box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7); }
.card-header { display: flex; justify-content: space-between; margin-bottom: 25px; align-items: center; }
.folder-icon { color: var(--accent); font-size: 40px; }
.external-links a { color: var(--text-secondary); font-size: 20px; margin-left: 15px; }
.external-links a:hover { color: var(--accent); }
.project-card h3 { color: var(--text-primary); font-size: 20px; margin-bottom: 10px; font-family: var(--font-heading); }
.project-card p { color: var(--text-secondary); font-size: 15px; margin-bottom: 20px; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 15px; font-size: 12px; color: var(--text-secondary); font-family: var(--font-heading); margin-top: auto; }

/* --- Contact Section --- */
.contact-container { text-align: center; max-width: 600px; }
.subtitle { color: var(--accent); font-family: var(--font-heading); margin-bottom: 15px; }
.big-heading { font-size: 45px; color: var(--text-primary); margin-bottom: 20px; font-family: var(--font-heading); }
.contact-text { color: var(--text-secondary); font-size: 18px; margin-bottom: 50px; }
.email-btn { padding: 15px 30px; font-size: 16px; }
.social-links { margin-top: 50px; display: flex; justify-content: center; gap: 30px; }
.social-links a { color: var(--text-secondary); font-size: 24px; transition: var(--transition); }
.social-links a:hover { color: var(--accent); transform: translateY(-3px); }

/* --- Footer --- */
footer { padding: 20px; text-align: center; color: var(--text-secondary); font-size: 12px; background-color: var(--bg-color); }

/* --- Burger Menu --- */
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background-color: var(--accent); margin: 5px; transition: var(--transition); }

/* --- Responsive --- */
@media screen and (max-width: 768px) {
    .nav-links { position: absolute; right: 0px; height: 100vh; top: 0vh; background-color: var(--light-bg); display: flex; flex-direction: column; align-items: center; width: 60%; transform: translateX(100%); transition: transform 0.5s ease-in; padding-top: 100px; z-index: 998; }
    .nav-links.nav-active { transform: translateX(0%); }
    .burger { display: block; z-index: 999; }
    .about-grid { grid-template-columns: 1fr; }
    .img-wrapper { margin: 40px auto 0; }
    .hero h1 { font-size: 40px; }
    .hero h2 { font-size: 30px; }
    .timeline::before { left: 20px; } /* Adjust timeline line for mobile */
    .timeline-item { padding-left: 50px; }
    .timeline-item::before { left: 16px; }
}
