@import url("https://fonts.googleapis.com/css2?family=Thasadith:ital,wght@0,400;0,700;1,400;1,700&display=swap");
:root {
  --text-color: #44464d;
  --heading-color: #0b091b;
  --box-color: #f52717;
  --red-color: #f52717;
  --count-text: #c1282a;
  --danger-color: #c82333;
}
/* new class for bg image and text  */
.acadmy-about-section {
  position: relative;
  background: url("../img/aboutAcademy.jpeg") no-repeat center center;
  background-size: cover;
  border-radius: 30px;
  color: white;
  text-align: left;
  padding: 70px 40px;
  margin-top: 50px;
}
.academy-gradient{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  z-index: 1;
}
.acadmy-about-section .strategy {
  position: relative;
  z-index: 2; 
}

.background-section {
  background-image: url("../img/Academybanner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.text {
  max-width: 411px;
  height: 280px;
  color: var(--text-color) !important;
  font-family: var(--font-th);
  font-weight: 400;
  font-size: 20px;
}
.title {
  color: var(--heading-color) !important;
  font-family: var(--font-th);
  font-weight: 700;
  font-size: 55px;
}
.course-card {
  border: 1px solid #ddd;
  border-radius: 30px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Align vertically */
  align-items: center;
  /* Align horizontally */
  text-align: center;
  transition: all 0.3s ease;
  background: #fff;
  height: 252px;
}

.acadmy-title {
  font-family: var(--font-th);
  font-weight: 700;
  font-size: 55px;
  color: #141125;
}
.course-card:hover {
  background-image: url("../img//Hcc Web Images/Our Services.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.course-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.course-card:hover .cardheading {
  color: white !important;
}

.cardheading {
  margin: 33px 24px;
  font-size: 1.2rem;
  height: 70px;
  color: var(--heading-color) !important;
  font-family: var(--font-th);
  font-weight: 700;
  font-size: 25px;
}

.course-card button {
  border: none;
  background: linear-gradient(to bottom, #f52717, #c1282a);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.partner-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  /* max-width: 316px; */
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.3s ease;
}

.partner-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.partner-logo {
  max-width: 100%;
  height: 105px;
}
@media (max-width: 576px) {
  .course-card {
    align-items: center;
    /* Align horizontally */
    text-align: center;
  }
}
.link i {
  color: #5f6168;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 100%;
  gap: 20px;
}
.abc {
  border-top-left-radius: 177px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 25px;
  background: linear-gradient(
    85deg,
    rgba(4, 78, 119, 0.05) 0%,
    rgba(4, 78, 119, 0.1) 33%
  );
}