/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: #0f0f1e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    min-height: 100vh;
    padding: 20px;
    padding-top: max(20px, env(safe-area-inset-top));
    padding-bottom: max(20px, env(safe-area-inset-bottom));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(22, 22, 40, 0.8);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

/* Header Styles */
header {
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 2px solid rgba(100, 100, 255, 0.3);
    margin-bottom: 40px;
}

.name {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.title {
    font-size: 1.1rem;
    color: #b0b0d0;
    margin-bottom: 5px;
}

.graduation {
    font-size: 0.95rem;
    color: #8888aa;
    margin-bottom: 20px;
}

.subheading {
    font-size: 1.5rem;
    color: #a0a0ff;
    font-weight: 500;
    margin-top: 15px;
}

/* Bio Section */
.bio {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 40px;
}

.bio p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #c0c0d0;
    max-width: 800px;
    margin: 0 auto;
}

/* Projects Section */
.projects {
    margin-bottom: 50px;
}

.projects h2 {
    font-size: 2rem;
    color: #a0a0ff;
    margin-bottom: 30px;
    text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.project-card {
    background: rgba(40, 40, 70, 0.6);
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(100, 100, 255, 0.2);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(100, 100, 255, 0.3);
}

.project-card h3 {
    font-size: 1.5rem;
    color: #b0b0ff;
    margin-bottom: 8px;
}

.project-type {
    font-size: 0.9rem;
    color: #8888cc;
    font-style: italic;
    margin-bottom: 15px;
}

.project-card p {
    color: #b0b0c0;
    margin-bottom: 15px;
    line-height: 1.6;
}

.status {
    display: inline-block;
    background: rgba(100, 100, 255, 0.2);
    color: #a0a0ff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Experience Section */
.experience {
    margin-bottom: 40px;
}

.experience h2 {
    font-size: 2rem;
    color: #a0a0ff;
    margin-bottom: 25px;
    text-align: center;
}

.experience-card {
    background: rgba(40, 40, 70, 0.6);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(100, 100, 255, 0.2);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 5px;
}

.experience-card h3 {
    font-size: 1.4rem;
    color: #b0b0ff;
}

.dates {
    font-size: 0.95rem;
    color: #8888cc;
    font-style: italic;
}

.company {
    font-size: 1.1rem;
    color: #8888cc;
    margin-bottom: 15px;
    font-weight: 500;
}

.description {
    color: #b0b0c0;
    line-height: 1.7;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 2px solid rgba(100, 100, 255, 0.3);
    color: #8888aa;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 25px;
    }

    .name {
        font-size: 2rem;
    }

    .subheading {
        font-size: 1.2rem;
    }

    .bio p {
        font-size: 1rem;
    }

    .projects h2,
    .experience h2 {
        font-size: 1.6rem;
    }

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

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
        padding-top: max(10px, env(safe-area-inset-top));
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }

    .container {
        padding: 20px;
        border-radius: 15px;
    }

    .name {
        font-size: 1.75rem;
    }

    .title {
        font-size: 1rem;
    }

    .subheading {
        font-size: 1.1rem;
    }

    .bio p {
        font-size: 0.95rem;
    }

    .project-card,
    .experience-card {
        padding: 20px;
    }
}
