/* ----------  CARD BASE  ---------- */
.academy-card {
  --card-width: 350px;
  --img-height: 250px;
  --accent: #4a6bff;

  width: var(--card-width);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  transition: transform .25s;
}
.academy-card:hover {
  transform: translateY(-5px);
}

/* ----------  IMAGE AREA  ---------- */
.academy-img {
  height: var(--img-height);
  background: #e0e5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 24px;
  position: relative;
}
.academy-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ----------  CONTENT AREA  ---------- */
.academy-details {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.academy-name {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
}
.academy-type {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.academy-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.stars { color: #ffb400; }
.reviews { font-size: 12px; color: #6b7280; }

.academy-features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}
.feature {
  background: #eef2ff;
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
}

/* ----------  ACTIONS  ---------- */
.academy-actions {
  margin-top: auto;          /* push to bottom */
  display: flex;
  justify-content: center;   /* center the single button */
  padding-top: 10px;
}

/* button skin (your code) */
.call-btn {
  padding: 8px 24px;
  border: none;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background .2s;

  /* center it */
  display: block;          /* make it a block element */
  margin: 10px auto 0;     /* top margin 10px, left/right auto */
  bottom: 0%;
}
.call-btn:hover { background: #142463; }