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

.lang-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    background: #232f3e;
    color: #fff;
    border: 2px solid #ff9900;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    z-index: 100;
    transition: background 0.3s;
}

.lang-btn:hover { background: #ff9900; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 30px auto;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #232f3e, #ff9900);
    color: #fff;
    padding: 40px;
    text-align: center;
}

header h1 { font-size: 2.2em; margin-bottom: 5px; }
header .title { font-size: 1.2em; opacity: 0.9; margin-bottom: 15px; }

.contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    font-size: 0.9em;
}

.contact a { color: #fff; text-decoration: underline; }

section { padding: 25px 40px; border-bottom: 1px solid #eee; }
section:last-child { border-bottom: none; }

h2 {
    color: #232f3e;
    font-size: 1.4em;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 3px solid #ff9900;
    display: inline-block;
}

h3 { color: #232f3e; margin-bottom: 5px; }

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

.skill-category h3 {
    font-size: 0.95em;
    color: #ff9900;
    margin-bottom: 8px;
}

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

.skill {
    background: #232f3e;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
}

.experience {
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 3px solid #ff9900;
}

.experience:last-child { margin-bottom: 0; }

.date {
    display: inline-block;
    background: #ff9900;
    color: #fff;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.85em;
    margin-bottom: 8px;
}

.role {
    font-style: italic;
    color: #555;
    margin-bottom: 8px;
}

ul { padding-left: 20px; }
li { margin-bottom: 4px; font-size: 0.92em; }

.cert-group { margin-bottom: 15px; }
.cert-group h3 { font-size: 0.95em; color: #ff9900; }
.cert-group ul { columns: 2; }

.education .edu-item { margin-bottom: 10px; }
.education .edu-item p { color: #666; font-size: 0.9em; }

.languages {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.lang {
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

@media (max-width: 600px) {
    header { padding: 25px 20px; }
    header h1 { font-size: 1.6em; }
    section { padding: 20px; }
    .contact { flex-direction: column; align-items: center; gap: 8px; }
    .cert-group ul { columns: 1; }
}
