/******************/
/* HM Section */
.hm {
  width: 100%;
  background-color: #215083;
  padding: 20px 20px;
  box-sizing: border-box;
  color: #fff; /* default text color */
}

/* HM Title */
.hm h4 {
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  font-size: var(--title-font-size);
  font-weight: 700;
}

/* HM Container: flex row */
.hm-container {
  display: flex;
  flex-direction: row;
  gap: 80px;
  flex-wrap: wrap;
  justify-content: center;
  /*margin-top: 50px;*/
}

/* HM Items */
.item {
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* center horizontally */
  align-items: center;     /* center vertically */
  text-align: center;
  color: #fff;             /* ensure text inside is white */
  flex-shrink: 0;          /* prevent shrinking */
  background: transparent; /* optional if you want a background */
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  gap: 20px;
  margin-bottom: 31px;
}

.item{
  margin-bottom: 0px;
  width: auto; height: auto;
}

.item a {
  text-decoration: none;
  color: #fff;
}

.item a p{
  margin-top: 20px;
}


.item img{
  height: 80px;
  width: 80px;
}

.item p{
  font-size: 13px;
}


@media (max-width: 1024px) {

  .hm {
    padding: 15px 20px;
  }

  .hm h4{
    margin-bottom: 25px;
  }

  .hm-container{
    gap: 60px;
  }

  .hm h4 {
    font-size: 15px;
  }

  .item {
    min-width: 98px;
    gap: 15px;
  }

  .item a p{
    margin-top: 15px;
  }

  .item img {
    height: 70px;
    width: 70px;
  }

  .item p {
    font-size: 12px;
    margin-bottom: 8px;
  }

}





@media (max-width: 768px) {

  .hm {
    padding: 10px 10px;
  }

  .hm-container{
    gap: 30px;
  }

  .hm h4 {
    font-size: 14px;
  }

  .item {
    min-width: 98px;
  }

  .item img {
    height: 50px;
    width: 50px;
  }

  .item p {
    font-size: 13px;
  }

  .hm h4 {
    margin-bottom: 15px;
  }

}




@media (max-width: 425px) {

  .hm-container {
    gap: 15px;
  }

  .item{
    margin-bottom: 0px;
    width: auto; height: auto;
  }

}

/*For specific row breaking*/
@media (min-width: 414px) and (max-width: 501px) {
  
  .hm-container {
      display: flex;
      flex-wrap: wrap;
  }
  
  .hm-container .item {
      width: 32%; /* Slightly less than 50% to account for any margins/padding */
      box-sizing: border-box;
  }
}