* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f4f6f8;
  color: #222;
}

header {
  background: #0a66c2;
  color: white;
  padding: 20px 20px 40px;
  text-align: center;
}

.header-content {
  max-width: 900px;
  margin: 0 auto;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.9em;
}

.nav-left {
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 16px;
}

.nav-links a {
  color: #e5f1fb;
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
}

.profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  margin-top: 8px;
}

.location-line {
  margin-top: 4px;
  font-size: 0.95em;
  opacity: 0.9;
}

.location-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 50% 0;
  background: white;
  transform: rotate(-45deg);
  margin-right: 6px;
}

.location-icon::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  background: #0a66c2;
  border-radius: 50%;
  margin: 3px auto 0;
}

.links {
  margin-top: 12px;
}

.links a {
  display: inline-block;
  margin: 0 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: white;
  color: #0a66c2;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95em;
}

.links a:hover {
  background: #e5f1fb;
}

section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

h2 {
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}

.card {
  background: white;
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.experience-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.company-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.meta-row {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.95em;
}

.role {
  font-weight: bold;
  color: #555;
}

.dates,
.location {
  color: #666;
}

/* Legacy skills grid (unused currently) */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills-grid span {
  background: #e1ecf4;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9em;
}

.skills-section {
  background: white;
  padding: 20px 24px;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.skills-columns {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skills-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skill-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.skill-label {
  font-weight: bold;
  flex: 0 0 165px; /* fixed label width so headings/icons align */
}

.skill-list {
  flex: 1;
  color: #333;
}

/* Optional: if you later add image icons before labels, they will align nicely */
.skill-label img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 6px;
}

.contact-card {
  background: white;
  padding: 20px 24px;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}

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

.contact-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #e1ecf4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #0a66c2;
}

.contact-icon-email::before {
  content: "✉";
}

.contact-icon-phone::before {
  content: "☎";
}

.contact-icon-linkedin::before {
  content: "in";
  font-weight: bold;
}

#contact a {
  color: #0a66c2;
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: white;
}
