/* --------------------------- */
/*   MOBILE FIRST (default)    */
/* --------------------------- */

.course-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

/* Base card – now the <a> tag itself */
.course-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fff;
  border: none;
  border-radius: 12px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06); */
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s;
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: inherit; /* ensure text stays normal */
  cursor: pointer;
  /* max-width: 560px; */
}

/* Hover animation */
@media (hover: hover) {
  .course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  }
}

/* Title */
.course-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #111827;
  line-height: 1.3;
}

/* Description */
.course-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #6b7280;
}

/* "Learn more" line */
.course-card .accent-color {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.95rem;
  color: #f98c1e; /* your blue accent */
  display: flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  transition: color 0.2s ease;
}

/* Add arrow after text */
.course-card .accent-color::after {
  content: "→";
  font-weight: 600;
  color: #f98c1e;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

/* Hover effect for arrow */
@media (hover: hover) {
  .course-card:hover .accent-color {
    color: #f98c1e;
  }
  .course-card:hover .accent-color::after {
    transform: translateX(3px);
    color: #f98c1e;
  }
}

/* --------------------------- */
/*   TABLET GRID (≥768px)      */
/* --------------------------- */

@media (min-width: 768px) {
  .course-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

/* --------------------------- */
/*   DESKTOP GRID (≥1200px)    */
/* --------------------------- */

@media (min-width: 1200px) {
  .course-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.awards-section {
  padding: 2rem 0;
}

.awards-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.awards-section p {
  margin-bottom: 3rem;
  /* color: #6b7280; */
}

/* Grid for awards */
.awards-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr; /* mobile */
}

/* Tablet & up: 2–4 columns automatically */
@media (min-width: 768px) {
  .awards-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.awards-grid li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 1rem;

  /* background: #f9fafb; */
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 1px solid #e6e7eb;
}

.awards-grid li img {
  /* width: 56px; */
  height: auto;
  object-fit: contain;
  max-width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.awards-grid li span {
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  text-align: center;
}
