/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    min-height: 100vh;
    padding: 2rem;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Header Styles */
.header {
    background: linear-gradient(to right, #6366f1, #8b5cf6);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.profile {
    margin-bottom: 2rem;
}

.avatar {
    width: 128px;
    height: 128px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 4px solid white;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.avatar img {
    width: 100%;
    object-fit: cover;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.contact-info span:hover {
    opacity: 1;
}

/* Content Styles */
.content {
    padding: 2rem;
}

.section {
    margin-bottom: 2.5rem;
}

.section h2 {
    color: #4f46e5;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.separator {
    height: 2px;
    background: #e5e7eb;
    margin-bottom: 1.5rem;
}

/* Skills Styles */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: #f3f4f6;
    color: #4f46e5;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.skill-tag:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.skills-section h3 {
    color: #4f46e5;
    margin-bottom: 0.75rem;
}

.skills-section ul {
    list-style-position: inside;
    color: #4b5563;
}

/* Education Styles */
.education-item {
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
    margin-bottom: 1.5rem;
}

.education-item:hover {
    background: #f9fafb;
}

.education-item h3 {
    color: #4f46e5;
    margin-bottom: 0.5rem;
}

.institution {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .header {
        padding: 2rem 1rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .content {
        padding: 1.5rem;
    }

    .avatar {
        width: 96px;
        height: 96px;
    }

    .header h1 {
        font-size: 2rem;
    }
}