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

body {
  font-family: system-ui, sans-serif;
  background: #f5f7fa;
  color: #222;
  line-height: 1.7;
}

/* Hero */
.hero {
  padding: 90px 20px;
  text-align: center;
  background: linear-gradient(135deg, #1e1e2f, #2a2a40);
  color: #fff;
}

.hero-name {
  font-size: 3rem;
}

.hero-role {
  margin-top: 8px;
  opacity: 0.85;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  z-index: 10;
}

.nav a {
  margin: 0 14px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

/* Section */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 20px;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  border-left: 6px solid #4c6ef5;
  padding-left: 12px;
}

/* About */
.about-box {
  display: flex;
  align-items: center;
  gap: 24px;
}

.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Skills */
.skill-group {
  margin-bottom: 24px;
}

.skill-group h3 {
  margin-bottom: 10px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list span {
  background: #4c6ef5;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* Achievements */
.achievement-card {
  background: #fff;
  padding: 26px;
  margin-bottom: 22px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.achievement-card.highlight {
  border-left: 6px solid #4c6ef5;
}

.date {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 10px;
}

.role-list,
.achievement-list {
  padding-left: 20px;
  margin-top: 10px;
}

.role-list li {
  list-style-type: "▸ ";
  margin-bottom: 6px;
}

.achievement-list li {
  margin-bottom: 6px;
}

/* Links */
.links {
  list-style: none;
}

.links li {
  margin-bottom: 10px;
}

.links a {
  color: #4c6ef5;
  font-weight: 600;
  text-decoration: none;
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px;
  background: #1e1e2f;
  color: #fff;
}

/* Mobile */
@media (max-width: 600px) {
  .about-box {
    flex-direction: column;
    text-align: center;
  }
}

.photo-link {
  margin-top: 12px;
}

.photo-link a {
  color: #4c6ef5;
  text-decoration: none;
  font-weight: 600;
}

.photo-link a:hover {
  text-decoration: underline;
}

/* Photo gallery */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.photo-grid img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.photo-grid figcaption {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #555;
  text-align: center;
}


/* ===== Projects Gallery ===== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.project-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
}

.project-card h3 {
  margin-bottom: 6px;
}

.project-card p {
  font-size: 0.9rem;
  color: #555;
}

