.dr1044assignments {
  width: 100%;
  background: #f5f8fc;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  font-family: 'Arial', sans-serif;
  overflow-x: hidden;
  box-sizing: border-box;
}

.assignment-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Header */
.assignment-header {
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
}

.assignment-header h2 {
  font-size: 2.4rem;
  color: #0b1d2e;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.assignment-header p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
  word-wrap: break-word;
}

/* Cards */
.assignment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.assignment-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
}

.assignment-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.assignment-card h3 {
  font-size: 1.5rem;
  color: #0b1d2e;
  margin-bottom: 12px;
  border-bottom: 2px solid #ffab40;
  display: inline-block;
  padding-bottom: 5px;
}

.assignment-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

/* Fade-in animation */
@keyframes fadeInUpPA {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .assignment-header h2 {
    font-size: 2rem;
  }
  .assignment-card h3 {
    font-size: 1.3rem;
  }
  .assignment-list {
    grid-template-columns: 1fr;
  }
}