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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    /* background: linear-gradient(135deg, #ffffff 0%, #5e5e5e 100%); */
    background: #ffffff;
    min-height: 100vh;
    padding: 20px;
}

.cv-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cv-header {
    /* background: linear-gradient(135deg, #ecf5ff 0%, #c4c4c4 100%); */
    /* background: #e4e3e3; */
    background: #f8f9fa;
    color: rgb(4, 105, 145);
    padding: 40px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e9ecef;
}

.cv-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat; */
    opacity: 0.3;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid rgba(0, 0, 0, 0.2);
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.profile-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    /* margin-bottom: 10px; */
    letter-spacing: -0.5px;
}

.profile-info h2 {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 15px;
    color: rgb(4, 105, 145);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
}

.contact-item i {
    width: 20px;
    color: #3498db;
    font-size: 1.1rem;
}

.cv-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
}

.left-column {
    background: #f8f9fa;
    padding: 40px;
    border-right: 1px solid #e9ecef;
}

.right-column {
    padding: 40px;
}

.cv-section {
    margin-bottom: 35px;
}

.cv-section:last-child {
    margin-bottom: 0;
}

.cv-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.cv-section h3 i {
    color: #3498db;
    font-size: 1.2rem;
}

.cv-section p {
    color: #555;
    text-align: justify;
    line-height: 1.7;
}

.skills-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-badge {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.skill-badge:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.skill-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.skill-badge:hover:before {
    left: 100%;
}

.language-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.language-level {
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.experience-list, .education-list, .certification-list, .project-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.experience-item, .education-item, .certification-item, .project-item {
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    background: #f8f9fa;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience-item:hover, .education-item:hover, .certification-item:hover, .project-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.experience-header {
    margin-bottom: 15px;
}

.experience-header h4, .education-item h4, .certification-item h4, .project-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.company, .institution, .issuer {
    display: block;
    font-weight: 500;
    color: #3498db;
    margin-bottom: 5px;
}

.period {
    display: inline-block;
    background: #2c3e50;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.experience-details {
    list-style: none;
    padding-left: 0;
}

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

.experience-details li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 0.8rem;
}

.grade {
    color: #27ae60;
    font-weight: 500;
    margin-top: 8px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tech-tag {
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

    .cv-header {
        padding: 25px;
    }

    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

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

    .contact-info {
        grid-template-columns: 1fr;
    }

    .cv-content {
        grid-template-columns: 1fr;
    }

    .left-column, .right-column {
        padding: 25px;
    }

    .left-column {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }

    .cv-section h3 {
        font-size: 1.2rem;
    }

    .experience-item, .education-item, .certification-item, .project-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .cv-header {
        padding: 20px;
    }

    .profile-image img {
        width: 120px;
        height: 120px;
    }

    .profile-info h1 {
        font-size: 1.8rem;
    }

    .left-column, .right-column {
        padding: 20px;
    }

    .experience-item, .education-item, .certification-item, .project-item {
        padding: 15px;
    }
}