body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f8f9fa;
  color: #333;
}

header {
  background: #198754;
  color: white;
  padding: 1.5rem;
}

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

.logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

.header-text h1, .header-text p {
  margin: 0;
  text-align: left;
}

#portfolio-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  padding: 2rem;
}

.student-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.student-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.student-card h3 {
  margin: 0.5rem 0 0.2rem;
}

.student-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}
.contribute-section {
  background-color: #f9fafb;
  padding: 40px 20px;
  max-width: 850px;
  margin: 60px auto;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-family: "Poppins", sans-serif;
}

.contribute-section h2 {
  text-align: center;
  color: #222;
  margin-bottom: 15px;
}

.contribute-section .intro-text {
  text-align: center;
  color: #555;
  margin-bottom: 20px;
}

.contribute-section ol {
  text-align: left;
  line-height: 1.8;
  color: #444;
  margin: 0 auto 20px auto;
  max-width: 700px;
}

.contribute-section .repo-link {
  text-align: center;
  font-weight: 500;
  margin: 20px 0;
}

.contribute-section .repo-link a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
}

.contribute-section .repo-link a:hover {
  text-decoration: underline;
}

.contribute-section .thank-you {
  text-align: center;
  color: #2c3e50;
  font-weight: 600;
  margin-top: 10px;
}
.modal-content {
  background-color: #fff;
  margin: 100px auto;
  padding: 25px 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease;
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 15px;
}

.modal-content ol {
  color: #444;
  line-height: 1.6;
  padding-left: 20px;
}

.modal-content a {
  color: #007bff;
  text-decoration: none;
}

.modal-content a:hover {
  text-decoration: underline;
}

.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
  #portfolio-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    padding: 1rem;
  }

  .student-card {
    padding: 0.5rem;
    border-radius: 8px;
  }

  .student-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 0.3rem;
  }

  .student-card h3 {
    font-size: 0.8rem;
  }

  .student-card p {
    font-size: 0.7rem;
  }
}
