:root {
    --primary-color: #6f42c1;
    --secondary-color: #6c757d;
    --accent-color: #0d6efd;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.profile-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

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

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

.contact-info {
    font-size: 1.1rem;
}

.contact-info i {
    margin-right: 0.5rem;
    width: 20px;
}

.section-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.skill-badge {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.875rem;
    margin: 0.25rem;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    display: inline-block;
}

.job-card {
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1.5rem;
}

.job-duration {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    display: inline-block;
}

.company-name {
    color: var(--accent-color);
    font-weight: 600;
}

.tech-stack {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.language-level {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
}

.education-item,
.course-item {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.25rem;
    }

    .contact-info {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }
}

.w260 {
    width: 260px;
}