:root {
  color-scheme: light;
  color: #1f2937;
  background: #f8fafc;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.6;
  background: #f8fafc;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  text-decoration: none;
  color: #111827;
}

nav a {
  margin-left: 1.25rem;
  text-decoration: none;
  color: #374151;
}

nav a:hover {
  color: #111827;
}

.main-content {
  padding: 2rem 0;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}

.hero-photo img {
  display: block;
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
}

.hero p,
.info-card p,
.quick-links ul {
  max-width: 45rem;
}

.info-card,
.project-card,
.edu-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.cert-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.cert-gallery img {
  width: 100%;
  max-width: 180px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  display: block;
  object-fit: cover;
}

.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links li {
  margin-bottom: 0.75rem;
}

.quick-links a {
  color: #1d4ed8;
  text-decoration: none;
}

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

.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.site-footer p {
  margin: 0;
  padding: 1rem 0;
  color: #6b7280;
}

@media (max-width: 700px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    margin-left: 0;
    margin-right: 1rem;
  }
}
