* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
}

.hero {
    text-align: center;
    background: #1e1e2e;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid #a78bfa;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.title {
    font-size: 1.2rem;
    color: #a78bfa;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1rem;
    color: #a0a0a0;
    max-width: 500px;
    margin: 0 auto;
}

.contact, .skills, .projects, .experience, .certificates {
    background: #1e1e2e;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.contact {
    padding: 1.5rem;
}

.skills, .experience, .certificates {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.skills h2, .projects h2, .experience h2, .certificates h2 {
    text-align: center;
    margin-bottom: 1.25rem;
    color: #ffffff;
    font-size: 1.6rem;
}

.contact-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #2a2a3a;
    border-radius: 8px;
    text-decoration: none;
    color: #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 0.9rem;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-item .icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    color: #a78bfa;
}

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

.skill-item {
    text-align: center;
    padding: 1rem;
    background: #2a2a3a;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-2px);
}

.skill-item h3 {
    color: #a78bfa;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.skill-item p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

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

.project-item {
    text-align: center;
    padding: 1.5rem;
    background: #2a2a3a;
    border-radius: 10px;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-item:hover {
    transform: translateY(-2px);
}

.project-image {
    width: 300px;
    height: 158px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.project-item h3 {
    color: #a78bfa;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.project-item p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.lang-toggle {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
}

#lang-switch {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#lang-switch:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .lang-toggle {
        top: 1rem;
        right: 1rem;
    }
    
    #lang-switch {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.experience-item {
    padding: 1rem;
    background: #2a2a3a;
    border-radius: 10px;
    transition: transform 0.3s ease;
    border-left: 4px solid #a78bfa;
}

.experience-item:hover {
    transform: translateY(-2px);
}

.experience-item h3 {
    color: #a78bfa;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.experience-item .company {
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 0.3rem;
}

.experience-item .duration {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.experience-item p:last-child {
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.experience-item ul {
    margin: 0.5rem 0 0 1rem;
    padding: 0;
}

.experience-item li {
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

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

.certificate-item {
    padding: 1rem;
    background: #2a2a3a;
    border-radius: 10px;
    transition: transform 0.3s ease;
    border-left: 4px solid #a78bfa;
}

.certificate-item:hover {
    transform: translateY(-2px);
}

.certificate-item h3 {
    color: #a78bfa;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.certificate-item .issuer {
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 0.3rem;
}

.certificate-item p:last-child {
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Print styles for better accessibility */
@media print {
    body {
        background: white;
        color: black;
    }
    .container {
        max-width: 100%;
    }
    .hero, .contact, .skills, .projects, .experience, .certificates {
        background: white;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    .lang-toggle {
        display: none;
    }
}

footer {
    text-align: center;
    padding: 2rem 1.5rem;
    color: #a0a0a0;
    font-size: 0.9rem;
}