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

body {
font-family: ‘Inter’, -apple-system, BlinkMacSystemFont, ‘Segoe UI’, Roboto, sans-serif;
line-height: 1.6;
color: #333;
background: #f8fafc;
font-size: 14px;
}

.container {
max-width: 800px;
margin: 0 auto;
background: white;
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
min-height: 100vh;
}

.header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 2rem;
text-align: center;
}

.profile-section {
display: flex;
align-items: center;
gap: 2rem;
flex-wrap: wrap;
}

.profile-image {
width: 120px;
height: 120px;
border-radius: 50%;
border: 4px solid rgba(255,255,255,0.3);
object-fit: cover;
flex-shrink: 0;
}

.profile-info {
flex: 1;
text-align: left;
min-width: 300px;
}

.profile-info h1 {
font-size: 2.2rem;
font-weight: 700;
margin-bottom: 0.5rem;
text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.profile-info h2 {
font-size: 1.2rem;
font-weight: 400;
opacity: 0.9;
margin-bottom: 1.5rem;
line-height: 1.4;
}

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

.contact-item {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.9rem;
}

.contact-item .icon {
font-size: 1rem;
font-weight: 600;
}

.contact-item a {
color: white;
text-decoration: none;
border-bottom: 1px solid rgba(255,255,255,0.3);
transition: all 0.3s ease;
}

.contact-item a:hover {
border-bottom-color: white;
}

.section {
padding: 1.8rem 2rem;
border-bottom: 1px solid #e2e8f0;
}

.section:last-child {
border-bottom: none;
}

.section h3 {
color: #2d3748;
font-size: 1.4rem;
font-weight: 600;
margin-bottom: 1.2rem;
display: flex;
align-items: center;
gap: 0.5rem;
}

.section h4 {
color: #4a5568;
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 0.5rem;
}

.section p {
color: #718096;
line-height: 1.7;
margin-bottom: 1rem;
}

.experience-item {
margin-bottom: 2rem;
padding: 1.2rem;
background: #f8fafc;
border-radius: 8px;
border-left: 4px solid #667eea;
}

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

.company {
color: #667eea;
font-weight: 600;
font-size: 1rem;
}

.period {
color: #a0aec0;
font-size: 0.9rem;
font-style: italic;
margin-bottom: 0.8rem;
}

.location {
color: #a0aec0;
font-size: 0.85rem;
font-style: italic;
}

.experience-item ul,
.section ul:not(.soft-skills):not(.certification-list) {
margin-left: 1.2rem;
margin-top: 0.5rem;
}

.experience-item li,
.section li {
margin-bottom: 0.3rem;
color: #4a5568;
}

.education-item {
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 1px solid #e2e8f0;
}

.education-item:last-child {
border-bottom: none;
margin-bottom: 0;
}

.institution {
color: #667eea;
font-weight: 500;
}

.certification-group {
margin-bottom: 1.8rem;
padding: 1rem;
background: #f8fafc;
border-radius: 6px;
}

.certification-group:last-child {
margin-bottom: 0;
}

.certification-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 0.3rem;
margin-top: 0.5rem;
list-style: none;
margin-left: 0;
}

.certification-list li {
background: #e6fffa;
color: #234e52;
padding: 0.3rem 0.8rem;
border-radius: 20px;
font-size: 0.85rem;
text-align: center;
font-weight: 500;
}

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

.skills-column ul {
margin-left: 1rem;
}

.skills-column li {
margin-bottom: 0.5rem;
color: #4a5568;
}

.skills-column strong {
color: #2d3748;
}

.soft-skills {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 0.5rem;
list-style: none;
margin-left: 0;
}

.soft-skills li {
background: #f0fff4;
color: #22543d;
padding: 0.6rem 1rem;
border-radius: 6px;
border-left: 3px solid #38a169;
}

.footer {
text-align: center;
padding: 1.5rem;
background: #f8fafc;
color: #a0aec0;
font-size: 0.85rem;
}

.print-button-container {
position: fixed;
bottom: 2rem;
right: 2rem;
z-index: 1000;
}

.print-button {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
padding: 1rem 1.5rem;
border-radius: 50px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
transition: all 0.3s ease;
}

.print-button:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.print-instructions {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.8);
z-index: 2000;
align-items: center;
justify-content: center;
}

.instructions-content {
background: white;
padding: 2rem;
border-radius: 12px;
max-width: 500px;
text-align: left;
}

.instructions-content h3 {
color: #2d3748;
margin-bottom: 1rem;
}

.instructions-content ul {
margin: 1rem 0;
}

.instructions-content li {
margin-bottom: 0.5rem;
color: #4a5568;
}

.close-btn {
background: #667eea;
color: white;
border: none;
padding: 0.5rem 1.5rem;
border-radius: 6px;
cursor: pointer;
margin-top: 1rem;
}

@media (max-width: 768px) {
.profile-section {
flex-direction: column;
text-align: center;
}

```
.profile-info {
    text-align: center;
    min-width: auto;
}

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

.skills-grid {
    grid-template-columns: 1fr;
}

.container {
    margin: 0;
    box-shadow: none;
}

.section {
    padding: 1.2rem 1rem;
}

.header {
    padding: 1.5rem 1rem;
}
```

}

@media print {
.no-print {
display: none !important;
}

```
body {
    background: white;
    font-size: 12px;
}

.container {
    box-shadow: none;
    max-width: none;
}

.section {
    padding: 1rem 1.5rem;
    break-inside: avoid;
}

.experience-item {
    break-inside: avoid;
    margin-bottom: 1.2rem;
}

.header {
    break-after: avoid;
}
```

}