/* Academy Page Styles */

/* Academy Header */
.academy-header {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  padding: 60px 0;
  margin-bottom: 0;
}

.academy-header-container {
  align-items: center;
}

.academy-header-row {
  justify-content: center;
}

/* Academy Section uses the same cardsection class */
.academy-section {
  top: -90px;
}

/* Responsive adjustments for academy section */
@media screen and (min-width: 375px) {
  .academy-section {
    top: -90px;
  }
}

@media screen and (min-width: 540px) {
  .academy-section {
    top: -70px;
  }
}

@media screen and (max-width: 768px) {
  .academy-header {
    padding: 40px 0;
  }
}

/* Academy Cards Fixed Sizing */
.academy-section .score-card-section {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.academy-section .image-score-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  max-height: 150px;
  overflow: hidden;
}

.academy-section .card-img {
  max-width: 130px;
  max-height: 130px;
  padding: 0;
}

.academy-section .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 80px;
  padding: 15px 10px;
}

/* Responsive adjustments for academy cards */
@media screen and (max-width: 768px) {
  .academy-section .image-score-card {
    min-height: 120px;
    max-height: 120px;
    height: 100%;
    width: max-content;
  }

  .academy-section .card-img {
    max-width: 80px;
    max-height: 80px;
  }

  .academy-section .card-title {
    font-size: 15px;
    min-height: 40px;
  }

  .academy-section .card-text {
    font-size: 12px;
    min-height: 25px;
  }
}

@media screen and (max-width: 540px) {
  .academy-section .image-score-card {
    min-height: 100px;
    max-height: 100px;
  }

  .academy-section .card-img {
    max-width: 70px;
    max-height: 70px;
  }

  .academy-section .card-title {
    font-size: 14px;
    min-height: 38px;
  }

  .academy-section .card-text {
    font-size: 11px;
    min-height: 24px;
  }
}
