/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #222;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
}
img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.projectimg {
  width: 100%;
  aspect-ratio: 16 / 10; /* forces same shape for all */
  object-fit: cover;
  border-radius: 10px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: fixed;
  width: 100%;
  background-color: white;
  z-index: 100;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  padding: 100px 40px 40px;
  text-align: center;
  background-color: #fff;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #5592ff; /* Blue color from Naledi text */
}
.hero p {
  font-size: 1.5rem;
  color: #555;
}

/* Projects */
.projects {
  padding: 80px 40px;
  background-color: #f9f9f9;
}
.projects h2 {
  text-align: center;
  margin-bottom: 40px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.card {
  background-color: white;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-content {
  padding: 20px;
}

.tech-stack {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tech-stack span {
  background-color: #eef2f7;
  color: #333;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}


/* About Section */
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 40px;
  background-color: #fdfdfd;
  max-width: 1000px;
  margin: 0 auto;
}

.about-image img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #132562;
}

.about-text p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
}

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

.about-tags span {
  background-color: #eef2f7;
  color: #132562;
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 6px;
  font-weight: 500;
}

/* Contact Section */
.contact {
  padding: 60px 40px;
  text-align: center;
}

/* Footer */
footer {
  padding: 20px;
  text-align: center;
  background-color: #f0f0f0;
  font-size: 0.9rem;
  color: #777;
}
.skills-overview {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 60px 40px;
  background-color: #fdfdfd;
  gap: 40px;
}

.skill-box {
  flex: 1;
  min-width: 280px;
  max-width: 300px;
  text-align: center;
}

.skill-box img {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px auto;
  display: block;
  filter: hue-rotate(-20deg) saturate(130%);
}

.skill-box h3 {
  font-size: 1.25rem;
  color: #132562;
  margin-bottom: 15px;
}

.skill-box p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}
