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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #fafafa;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #2c3e50;
}

h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 40px 0 20px 0;
  color: #34495e;
  border-bottom: 2px solid #3498db;
  padding-bottom: 8px;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

p {
  margin-bottom: 12px;
  color: #555;
}

.header {
  margin-bottom: 40px;
}

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

.header-content > div {
  flex: 1;
}

img {
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

img:hover {
  transform: scale(1.05);
}

.email-dropdown {
  position: relative;
  display: inline-block;
  margin-top: 15px;
}

.email-btn {
  background: none;
  color: #7f8c8d;
  padding: 8px 16px;
  border: 1px solid #e9ecef;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.email-btn:hover {
  color: #3498db;
  border-color: #3498db;
  transform: translateY(-1px);
}

.email-content {
  display: none;
  margin-top: 10px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.email-content a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
}

.email-content a:hover {
  text-decoration: underline;
}

.email-content.show {
  display: block;
}

.social-links {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #7f8c8d;
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  color: #3498db;
  transform: translateY(-2px);
}

.job, .education {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #3498db;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job:hover, .education:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.date {
  font-size: 0.9rem;
  color: #7f8c8d;
  font-weight: 500;
  margin-bottom: 10px;
}

section {
  margin-bottom: 40px;
}

nav {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #ecf0f1;
}

nav a {
  display: inline-block;
  margin: 0 15px;
  padding: 12px 24px;
  text-decoration: none;
  color: #3498db;
  border: 2px solid #3498db;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

nav a:hover {
  background-color: #3498db;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

@media (max-width: 600px) {
  body {
    padding: 20px 15px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  nav a {
    display: block;
    margin: 10px 0;
  }
  
  .job, .education {
    padding: 15px;
  }
}