.card {
  /* ...existing card styles... */
  opacity: 1;
  transition: opacity 0.3s;
}

.card.hide {
  opacity: 0;
  pointer-events: none;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.search-input {
  width: 100%;
  padding: 10px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
  color: #222;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}

.search-input:focus {
  border-color: #4f8cff;
  box-shadow: 0 2px 8px rgba(79,140,255,0.10);
  background: #fff;
}
.back-button {
  display: inline-block;
  padding: 10px 28px;
  background: #fff;
  color: #2563eb;
  border: 2px solid #2563eb;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(37,99,235,0.06);
  margin: 16px 0;
}

.back-button:hover, .back-button:focus {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,0.12);
}
.certificate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}
/* Style and align the quiz submit button */
.submit-quiz {
  display: block;
  margin-left: auto;
  margin-right: 0;
  padding: 10px 32px;
  background: #4f8cff;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(79,140,255,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}

.submit-quiz:hover, .submit-quiz:focus {
  background: #2563eb;
  box-shadow: 0 4px 16px rgba(79,140,255,0.16);
}
body{
     font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.container {
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}

.card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.card img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.card h2 {
  font-size: 1.5rem;
  margin: 16px 16px 8px 16px;
}

.card p {
  font-size: 1rem;
  color: #555;
  margin: 0 16px 16px 16px;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* Remove list style for quiz options */
.question ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .question ul {
    grid-template-columns: 1fr;
  }
}


.shows .cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

@media (max-width: 1024px) {
  .shows  .cards-container{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .shows  .cards-container{
    grid-template-columns: 1fr;
  }
}

.action-buttons{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}