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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #5a8eb5 0%, #3d5a80 50%, #2c4661 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    display: block;
}

.main-info {
    flex: 1;
    text-align: center;
}

.engineer-name {
    font-size: 2.2em;
    font-weight: 600;
    color: #3d5a80;
    margin-bottom: 10px;
}

.title {
    font-size: 1.4em;
    color: #5a8eb5;
    margin-bottom: 25px;
    font-weight: 400;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-weight: 500;
    font-size: 0.95em;
}

.contact-item svg {
    width: 18px;
    height: 18px;
    fill: #5a8eb5;
}

.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.section.full-width {
    grid-column: 1 / -1;
}

.section-title {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c4661;
    border-bottom: 3px solid #5a8eb5;
    padding-bottom: 10px;
}

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

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

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

.company {
    font-size: 1.3em;
    font-weight: 600;
    color: #3d5a80;
}

.position {
    font-size: 1.1em;
    font-weight: 500;
    color: #555;
    margin: 5px 0;
}

.duration {
    color: #888;
    font-style: italic;
}

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

.achievements li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #555;
}

.achievements li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #5a8eb5;
    font-size: 0.8em;
}

.sub-achievements {
    list-style: none;
    margin: 10px 0 15px 20px;
}
 
.sub-achievements li {
    margin-bottom: 6px;
    padding-left: 15px;
    position: relative;
    color: #666;
    font-size: 0.95em;
}

.sub-achievements li::before {
    content: '';
}

.skill-category {
    margin-bottom: 25px;
}

.skill-category:last-child {
    margin-bottom: 0;
}

.skill-category h4 {
    font-size: 1.1em;
    font-weight: 600;
    color: #3d5a80;
    margin-bottom: 10px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: linear-gradient(135deg, #5a8eb5, #3d5a80);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(58, 142, 181, 0.3);
}

.summary {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555;
}

.education {
    text-align: center;
    padding: 20px;
}

.degree {
    font-size: 1.3em;
    font-weight: 600;
    color: #3d5a80;
    margin-bottom: 5px;
}

.university {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 5px;
}

.year {
    color: #888;
    font-style: italic;
}

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

.section {
    animation: fadeInUp 0.6s ease forwards;
}

.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.2s; }
.section:nth-child(4) { animation-delay: 0.3s; }
.section:nth-child(5) { animation-delay: 0.4s; }

@media (max-width: 768px) {
    .content {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .engineer-name {
        font-size: 1.8em;
    }

    .title {
        font-size: 1.2em;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .container {
        padding: 15px;
    }
    
    .header, .section {
        padding: 25px;
    }

    .logo {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .contact-info {
        gap: 12px;
    }

    .contact-item {
        font-size: 0.9em;
    }

    .engineer-name {
        font-size: 1.6em;
    }

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