html,
body {
  height: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.body-styles {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #111;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100%;

}

.header-styles {
  background-color: rgb(45, 45, 45);
  padding: 1rem;
}

.header-container {
  margin-left: 2rem;
  margin-right: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0.5rem 0;
}

.nav-styles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.nav-link {
  color: #ffffff;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.nav-link:hover {
  color: #ffffff;
}

.main-styles {
  flex-grow: 1;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
  /* Optional: better spacing on mobile */

  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* .main-styles {
  display:block;
  /* flex-grow: 1;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center; 
}
 */

.simple-section-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.section-card {
  text-align: center;
  background-color: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  max-width: 48rem;
  width: 100%;
}

.welcome-heading {
  font-size: 2.25rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 1rem;
}

.welcome-paragraph {
  font-size: 1.125rem;
  color: #4b5563;
  opacity: 0.9;
}

.footer-styles {
  background-color: #fff;
  border-top: 1px solid #e5e7eb;
  margin-top: auto;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.footer-text-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #4b5563;
}

/* Project grid container */
.projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding: 20px 1rem;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Card link wrapper */
.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card-link:hover .project-card {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Card layout */
.project-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect */
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Image */
.project-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

/* Title */
.project-title {
  font-size: 1.25rem;
  margin: 16px 16px 8px;
  color: #333;
}

.project-title a {
  text-decoration: none;
  color: inherit;
}

.project-title a:hover {
  color: #0070f3;
}

/* Description */
.project-description {
  flex-grow: 1;
  margin: 0 16px 16px;
  color: #555;
  font-size: 1rem;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .header-container {
    flex-direction: row;
  }

  .site-title {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) {
  .welcome-heading {
    font-size: 3rem;
  }

  .welcome-paragraph {
    font-size: 1.25rem;
  }
}

@media (max-width: 640px) {
  .projects-list {
    grid-template-columns: 1fr;
  }
}