* {
    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, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.profile-info h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.profile-info .title {
    font-size: 1.3em;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 20px;
}

.header-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.header-link {
    color: white;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    padding: 8px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s;
}

.header-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
}

section {
    padding: 50px 40px;
    border-bottom: 1px solid #eee;
}

section:last-of-type {
    border-bottom: none;
}

h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #667eea;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.about p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

.languages {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.languages h3 {
    color: #764ba2;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.language-list {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.language-list li {
    font-size: 1.05em;
    color: #555;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

/* Experience Section */
.experience-item {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.experience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.experience-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 15px;
}

.experience-header h3 {
    color: #764ba2;
    font-size: 1.4em;
    margin: 0;
}

.experience-header .company {
    color: #667eea;
    font-weight: 600;
    font-size: 1.1em;
}

.experience-header .period {
    color: #888;
    font-style: italic;
    margin-left: auto;
}

/* Education Section */
.education-item {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.education-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.education-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 15px;
}

.education-header h3 {
    color: #764ba2;
    font-size: 1.4em;
    margin: 0;
}

.education-header .institution {
    color: #667eea;
    font-weight: 600;
    font-size: 1.1em;
}

.education-header .period {
    color: #888;
    font-style: italic;
    margin-left: auto;
}

.experience-description {
    color: #555;
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 15px;
}

.experience-achievements {
    list-style: none;
    margin-bottom: 15px;
}

.experience-achievements li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.experience-achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.tech-stack {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 6px;
    color: #555;
    font-size: 0.95em;
    border-left: 3px solid #667eea;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category h3 {
    color: #764ba2;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.skill-category li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.plans-intro {
    font-size: 1.15em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.plans-subheading {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 15px;
    margin-top: 10px;
}

.plans-list {
    list-style: none;
    margin-bottom: 25px;
}

.plans-list li {
    padding: 10px 0;
    padding-left: 35px;
    position: relative;
    font-size: 1.05em;
    color: #555;
    line-height: 1.7;
}

.plans-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2em;
}

.plans-footer {
    font-size: 1.1em;
    color: #333;
    padding: 15px 20px;
    background: #f8f9fa;
    border-left: 3px solid #667eea;
    border-radius: 6px;
    margin-top: 10px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.project-card h3 {
    color: #764ba2;
    margin-bottom: 15px;
    font-size: 1.4em;
}

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

.project-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    display: inline-block;
}

.project-link:hover {
    color: #764ba2;
}

.project-group {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.project-group:last-child {
    margin-bottom: 0;
}

.project-group-title {
    color: #764ba2;
    font-size: 1.1em;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer {
    background: #f8f9fa;
    padding: 40px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-links a {
    color: #667eea;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #764ba2;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 10px;
    }

    .header {
        padding: 40px 20px;
    }

    .profile-info h1 {
        font-size: 2em;
    }

    .profile-info .title {
        font-size: 1.1em;
    }

    section {
        padding: 30px 20px;
    }

    h2 {
        font-size: 1.6em;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .social-links {
        flex-direction: column;
        gap: 15px;
    }

    .experience-header,
    .education-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .experience-header .period,
    .education-header .period {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .profile-photo {
        width: 120px;
        height: 120px;
    }

    .profile-info h1 {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.4em;
    }
}