:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #242424;
    --text-primary: #ffffff;
    --text-secondary: #a1a1a1;
    --accent: #64ffda;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background-color: var(--bg-secondary);
    padding: 2rem;
    position: fixed;
    height: 100vh;
    border-right: 1px solid #333;
}

.profile {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-img {
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
    position: relative;
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

.profile h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.title {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
    left: 0;
}

.nav-item:hover,
.nav-item.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.main-content {
    margin-left: 280px;
    padding: 2rem;
    flex: 1;
}

.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    animation: slideInLeft 0.5s ease forwards;
    animation-delay: 0.3s;
}

.about-content {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
}

.info-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

.bio {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.expertise h3 {
    margin-bottom: 1rem;
}

.expertise ul {
    list-style: none;
}

.expertise li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.expertise li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    margin-bottom: 0.5rem;
}

.project-status {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-card img {
    width: 100%;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .main-content {
        margin-left: 0;
    }
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    animation-delay: calc(var(--item-index) * 0.2s);
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -2rem;
    top: 1.5rem;
    width: 1rem;
    height: 1rem;
    background-color: var(--accent);
    border-radius: 50%;
}

.timeline-item h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.company {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.duration, .location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.skills {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.education-item {
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.education-item h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.degree {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.gpa {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.skill-item {
    padding: 1rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(100, 255, 218, 0.1),
        transparent
    );
    transition: 0.5s;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.skill-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.experience-details {
    list-style: none;
    margin-top: 1rem;
}

.experience-details li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.experience-details li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.language-item, .certificate-item {
    padding: 1rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.language-item h3, .certificate-item h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    background: linear-gradient(45deg, var(--bg-secondary), rgba(100, 255, 218, 0.1));
}

.contact-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--text-secondary);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}