body {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #f4f4f4;
  color: #24292e;
}

header {
  background: #24292e;
  color: #fff;
  padding: 2rem;
  text-align: center;
}

nav {
  background-color: #24292e;
  padding: 1rem;
  text-align: center;
}

nav a {
  color: #fff;
  margin: 0 1rem;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.3s, border-bottom 0.3s;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: #87ceeb;
  border-bottom: 2px solid #87ceeb;
}

section {
  padding: 2rem;
}

h2 {
  border-bottom: 2px solid #333;
  padding-bottom: 0.5rem;
}

form input,
form textarea {
  width: 100%;
  padding: 0.5rem;
  margin: 10px 0;
}

button,
.github-btn {
  padding: 0.7rem 1.5rem;
  margin: 5px;
  background-color: #24292e;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: inline-block;
}

button:hover,
.github-btn:hover {
  background-color: #0366d6;
  transform: translateY(-2px);
}

.github-button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8rem;
  margin: 4rem auto;
  max-width: 100%;
  width: fit-content;
}

/* 🔥 NEW: Project Cards with Images + Buttons */
.project-gallery {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 1.5rem;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-img {
  width: 480px;           
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


input {
  margin: 5px;
  padding: 5px;
}

#result {
  margin-top: 10px;
  font-weight: bold;
}

footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 1rem;
}

/* ==== Slider Container ==== */
.slider {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
}

/* ==== Individual Slide ==== */
.slide {
  display: none;
  text-align: center;
}

/* ==== Slide Image Styling ==== */
.slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ==== Show Active Slide ==== */
.active {
  display: block;
}

/* ==== Navigation Buttons ==== */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 1rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  font-size: 2rem;
  user-select: none;
  transform: translateY(-50%);
  z-index: 10;
}

.prev { left: 0; }
.next { right: 0; }
