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

:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #0f3460;
  --highlight: #e94560;
  --text: #eaeaea;
  --text-muted: #a0a0a0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.6;
}

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

header {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  padding: 60px 0;
  text-align: center;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--highlight);
  object-fit: cover;
  margin-bottom: 20px;
}

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

header .title {
  color: var(--highlight);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

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

.contact-info a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: var(--highlight);
}

nav {
  background: var(--secondary);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover, nav a.active {
  color: var(--highlight);
}

section {
  padding: 60px 0;
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--highlight);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 10px;
}

.summary {
  background: var(--secondary);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--highlight);
}

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

.skill-card {
  background: var(--secondary);
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s;
}

.skill-card:hover {
  transform: translateY(-5px);
}

.skill-card h3 {
  color: var(--highlight);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.skill-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.experience-item {
  background: var(--secondary);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid var(--highlight);
}

.experience-item h3 {
  color: var(--highlight);
  font-size: 1.3rem;
}

.experience-item .role {
  font-weight: 600;
  margin-bottom: 5px;
}

.experience-item .period {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.experience-item ul {
  list-style: none;
}

.experience-item li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.experience-item li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--highlight);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tech-tag {
  background: var(--accent);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
}

footer {
  background: var(--secondary);
  padding: 30px 0;
  text-align: center;
  color: var(--text-muted);
}

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

  nav ul {
    gap: 15px;
    flex-wrap: wrap;
  }

  .contact-info {
    flex-direction: column;
    gap: 10px;
  }
}
