@font-face {
  font-family: 'UTM Swiss';
  src: url('./fonts/UTMSwiss721BlackCondensed.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'UTM Swiss', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

.huy-training {
  background-color: #EFFFF1;
  border: 1px solid #004812;
  border-radius: 50px;
  width: 1436px;
  max-width: 98%;
  margin: 20px auto;
  padding-bottom: 50px;
  box-shadow: 0 8px 25px rgba(0, 72, 18, 0.1);
}

.huy-title-wrapper {
  text-align: center;
}

.huy-title1 {
  font-family: 'UTM Swiss', sans-serif;
  font-size: 64px;
  color: #2e7d32;
  margin-bottom: 64px;
  display: inline-block;
  position: relative;
  padding-top: 50px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.huy-title1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background-color: #2e7d32;
  transition: width 0.4s ease;
  border-radius: 2px;
}

.huy-title1:hover::after {
  width: 100%;
  background-color: #f9a825;
}

.huy-title {
  font-family: 'UTM Swiss', sans-serif;
  text-align: center;
  font-size: 48px;
  color: #2e7d32;
  margin-bottom: 40px;
  font-weight: 500;
}

.huy-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 90%;
  margin: 0 auto;
}

.huy-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  will-change: transform;
  width: 387px;
  height: auto;
  flex: 0 0 auto;
  border: 1px solid #e8e8e8;
}

.huy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  border-color: #4caf50;
}

.huy-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.huy-card:hover img {
  transform: scale(1.03);
}

.huy-content {
  padding: 20px;
}

.huy-content-left h3 {
  margin: 0;
  font-size: 22px;
  color: #134d17;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.huy-content-left span {
  font-family: 'UTM Swiss', sans-serif;
  display: block;
  font-size: 28px;
  font-weight: bold;
  color: #134d17;
  padding: 5px 0;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
}

.huy-content-left p {
  margin: 10px 0 20px;
  color: #555;
  font-size: 16px;
  line-height: 1.5;
}

.huy-content-left {
  text-align: left;
  margin-left: 7px;
}

.huy-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #666;
  width: 90%;
  margin: 0 auto;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.huy-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.huy-info .icon {
  font-size: 16px;
  color: #4caf50;
  display: inline-flex;
  align-items: center;
  transform: scale(1.2);
}

.huy-info .icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.time-info {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  text-align: left;
}

.time {
  font-weight: 600;
  color: #2e7d32;
  padding-right: 25px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .huy-training {
    width: 95%;
    padding-bottom: 40px;
  }
  
  .huy-title1 {
    font-size: 48px;
  }
  
  .huy-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .huy-training {
    border-radius: 30px;
    padding-bottom: 30px;
  }
  
  .huy-title1 {
    font-size: 40px;
    padding-top: 30px;
    margin-bottom: 40px;
  }
  
  .huy-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .huy-card {
    width: 90%;
    height: auto;
  }
  
  .huy-card img {
    height: 220px;
  }
  
  .huy-content {
    padding: 18px;
  }
  
  .huy-content-left h3 {
    font-size: 20px;
  }
  
  .huy-content-left span {
    font-size: 24px;
  }
  
  .huy-content-left p {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .huy-card {
    width: 90%;
    height: auto;
  }
  
  .huy-title1 {
    font-size: 32px;
    letter-spacing: 1px;
  }
  
  .huy-title {
    font-size: 24px;
  }
  
  .huy-card img {
    height: 200px;
  }
  
  .huy-footer {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}