/* Modern CV Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

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

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.header {
  background: linear-gradient(120deg, #2c3e50, #4a6491);
  color: white;
  padding: 40px;
  text-align: center;
  position: relative;
}

.avatar {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.header h2 {
  font-weight: 300;
  font-size: 1.5rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

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

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

.section {
  padding: 30px;
  border-bottom: 1px solid #eee;
}

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

.section-title {
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3498db;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: #e74c3c;
}

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

.skill-category {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.skill-category ul {
  list-style-type: none;
}

.skill-category li {
  padding: 5px 0;
  position: relative;
  padding-left: 20px;
}

.skill-category li::before {
  content: '▶';
  color: #3498db;
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 0.8rem;
}

.summary-list {
  padding-left: 20px;
}

.summary-list li {
  margin-bottom: 10px;
}

.experience-item {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #eee;
}

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

.experience-item h3 {
  color: #2c3e50;
  margin-bottom: 5px;
}

.experience-item h4 {
  color: #3498db;
  font-weight: 500;
  margin-bottom: 10px;
}

.experience-item p {
  margin-bottom: 8px;
  font-weight: 500;
}

.experience-item ul {
  margin: 10px 0 10px 20px;
}

.experience-item li {
  margin-bottom: 5px;
}

.education-item h3 {
  color: #2c3e50;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .header {
    padding: 30px 20px;
  }
  
  .avatar {
    position: relative;
    top: 0;
    right: 0;
    margin: 0 auto 20px;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 10px;
  }
  
  .skills-container {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 20px;
  }
}