* {
  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;
  background: #f5f5f5;
}

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

header {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 40px;
}

header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.role {
  font-size: 1.4em;
  margin-bottom: 10px;
  opacity: 0.95;
  font-weight: 400;
}

header p {
  font-size: 1.2em;
  opacity: 0.9;
}

.tagline {
  font-size: 1.1em;
  margin-top: 15px;
  font-weight: 300;
}

section {
  background: white;
  padding: 40px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
  color: #2c3e50;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 3px solid #3498db;
  font-size: 1.8em;
}

h3 {
  color: #34495e;
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 1.3em;
}

a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s;
}

.highlight-box {
  background: #e8f4f8;
  border-left: 4px solid #3498db;
  padding: 20px;
  margin: 20px 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.project-card {
  border: 1px solid #ddd;
  padding: 25px;
  border-radius: 6px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project-card h3 {
  margin-top: 0;
  color: #2c3e50;
}

.project-role {
  color: #3498db;
  font-weight: 600;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.tech-tag {
  background: #ecf0f1;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85em;
  color: #555;
}

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

.skill-category {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
}

.skill-category h4 {
  color: #2c3e50;
  margin-bottom: 12px;
}

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

.skill-category li {
  padding: 6px 0;
  color: #555;
}

.skill-category li:before {
  content: "▸ ";
  color: #3498db;
  font-weight: bold;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item a {
  color: #2c3e50;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: #3498db;
}

.contact-item svg {
  transition: transform 0.2s;
}

.contact-item a:hover svg {
  transform: scale(1.1);
}

.cta-button {
  display: inline-block;
  background: #3498db;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #2980b9;
}

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

.language-item {
  background: #e8f4f8;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 500;
}

footer {
  text-align: center;
  padding: 40px 20px;
  color: #7f8c8d;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2em;
  }

  section {
    padding: 25px;
  }

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