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

/* Base */
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ffffff;
  color: #222;
  line-height: 1.6;
}

/* Centered container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header / Nav */
header {
  border-bottom: 1px solid #ddd;
}

nav {
  text-align: center;
  padding: 20px 0;
}

nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

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

/* Headings */
h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  text-align: center;
}

h2 {
  font-size: 1.6rem;
  margin: 40px 0 15px;
  border-bottom: 2px solid #eee;
  padding-bottom: 6px;
}

h3 {
  font-size: 1.1rem;
  margin-top: 20px;
}

/* Text */
p {
  margin-bottom: 12px;
}

ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 8px;
}

/* Sections */
.section {
  margin-bottom: 50px;
}

/* Project grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.project-grid img {
  width: 100%;
  border-radius: 4px;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #eee;
  margin-top: 60px;
}

/* Links */
a {
  color: #0066cc;
}
/* Centered sections */
.centered {
  text-align: center;
  margin-top: 40px;
}

/* Subtitle text */
.subtitle {
  font-size: 1.2rem;
  color: #555;
}

/* Profile photo */
.profile-photo img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 20px 0;
}

/* Quick links / buttons */
.button {
  display: inline-block;
  margin: 8px;
  padding: 10px 18px;
  background: #0066cc;
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
}
.button:hover {
  background: #0055aa;
}

/* Skills snapshot */
.skills-section {
  margin: 50px 0;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.skill-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
}

/* Featured project */
.featured-project .project-spotlight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}
.featured-project img {
  width: 240px;
  border-radius: 6px;
}
.project-text {
  max-width: 450px;
  text-align: left;
}
.button.small {
  font-size: 0.9rem;
  padding: 8px 14px;
}

