body {
  font-family: "Inter";
  --bs-border-color: #a5d6a7;
}

.nav-item {
  font-size: 14px;
  color: #4b4d52;
  font-weight: 500;
}

.nav-link.active {
  font-size: 14px;
  color: #4caf4f !important;
  font-weight: 500;
}

.nav-link:hover {
  color: #4caf4f !important;
}

.btn-login {
  background-color: #4caf4f;
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.hero-wrapper {
  position: relative;
  overflow: hidden;
}
.hero-banner {
  width: 100%;
  height: 417px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.hero-banner .slide {
  width: 100%;
  display: inline-block;
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* DOTS */
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cde6cd; /* màu inactive */
  transition:
    transform 0.18s ease,
    background 0.18s ease;
  cursor: pointer;
}

.hero-dots .dot.active {
  background: #2fa84f; /* màu active */
  transform: scale(1.15);
}

/* responsive tweak */
@media (max-width: 480px) {
  .hero-dots {
    gap: 8px;
    bottom: 14px;
  }
  .hero-dots .dot {
    width: 5px;
    height: 5px;
  }

  .hero-banner {
    width: 100%;
    height: 120px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
  }

  .program-img {
    padding-top: 60px;
  }
  .calendar-container {
    width: 100% !important;
    margin: auto;
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    position: relative;
  }
}

.btn-lien-he-nhanh {
  background-color: #39ae48;
  color: white;
  font-size: 16px;
  font-weight: 600;
  width: 330px;
  height: 66px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
}

.intro-section {
  text-align: center;
}

.intro-title {
  font-size: 26px;
  margin-bottom: 40px;
  font-weight: 600;
}

.intro-title span {
  color: #4caf50;
}

.intro-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.inport-card {
  position: relative;
  width: 279px;
  background: #e8f5e9 !important;
  border-radius: 50px 12px 50px 12px;
}

.normal-card {
  position: relative;
  width: 279px;
  margin-top: 30px;
  background: #fff !important;
  border-radius: 50px 12px 50px 12px;
}

.col-2 {
  padding: 0 !important;
}

.intro-card {
  position: relative;
  padding: 35px 27px;
  width: 275px;
  margin: -10px -10px -40px;
  border-radius: 50px 12px 50px 12px;
  border: 2px solid #c7e9c7;
  padding-bottom: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: 0.25s ease;
}

.intro-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
  cursor: pointer;
}

/* icon trên viền */
.intro-icon {
  width: 60px;
  height: 60px;
  background: #ffffff;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  background: #e8f5e9 !important;
  color: #103e13;
}

.intro-icon img {
  width: 34px;
  height: auto;
}

.intro-card-title {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #4b4d52;
}

.intro-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #4b4d52;
}

/* responsive */
@media (max-width: 768px) {
  .intro-container {
    width: 100%;
    margin: 0 auto;
    display: block;
  }
  .intro-card {
    width: 100%;
  }
  .intro-card p {
    font-size: 17px;
  }

  .text-des-intro {
    width: 85%;
  }

  .inport-card {
    width: 100%;
    margin-top: 50px;
    height: 275px;
  }

  .normal-card {
    width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
    padding-bottom: 50px;
  }

  .btn-lien-he-nhanh {
    background-color: #39ae48;
    color: white;
    font-size: 10px !important;
    width: 150px;
    height: 31px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    padding: 0 !important;
  }

  .btn-lien-he-nhanh i {
    font-size: 12px !important;
    margin-right: 2px !important;
    margin-bottom: 4px !important;
  }

  .program-img {
    width: 100%;
    height: auto;
  }

  .program-img img {
    width: 377px !important;
    height: auto;
  }

  .play-btn {
    position: absolute !important;
    top: 50% !important;
    left: 40% !important;
    color: white;
    font-size: 48px;
    cursor: pointer;
  }

  .program-title {
    font-size: 18px !important;
    font-weight: 600;
    color: #4d4d4d;
  }

  .program-desc {
    font-size: 14px !important;
    max-width: 100% !important;
    font-weight: 400;
    margin: 10px auto 20px !important;
    color: #555;
  }
}

/* ============= CHƯƠNG TRÌNH ĐÀO TẠO ============= */

.program-section {
  text-align: center;
  padding: 60px 0;
}

.program-title {
  font-size: 26px;
  font-weight: 600;
  color: #4d4d4d;
}

.program-desc {
  max-width: 700px;
  margin: 10px auto 40px;
  color: #555;
}
.program-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

.program-img {
  position: relative;
  border-radius: 12px;
}

.play-btn {
  position: absolute;
  top: 20%;
  left: 40%;
  color: white;
  font-size: 48px;
  cursor: pointer;
}
.program-img img {
  width: 279px;
  height: 207px;
  border-radius: 12px;
}

.program-name {
  position: absolute;
  bottom: 0;
  left: 15%;
  height: 69px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70%;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  background: #4caf4f;
  border-radius: 12px 12px 0 0;
}

.program-more {
  position: absolute;
  top: 100%;
  left: 15%;
  height: 69px;
  color: #4caf4f;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70%;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  background: #ffffff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0px 0px 8px 2px #abbed14d;
}

.all-btn-type {
  margin-top: 20px;
  display: flex;
  gap: 16px;
}

.btn-type {
  font-size: 16px;
  color: #4b4d52;
  font-weight: 400;
  padding: 8px 16px;
  cursor: pointer;
  border: none;
}

.btn-type:hover {
  color: #4caf4f;
}

.btn-type-active {
  font-size: 16px;
  color: #4caf4f;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 0 0 0 0;
  border: none;
  border-bottom: 3px solid #4caf4f;
  cursor: pointer;
}

.events-list {
  background: #f5f7fa;
}

.event-content {
  color: #4d4d4d;
}

.event-title {
  font-size: 20px;
  font-weight: 600;
  margin-top: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-desc {
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-date {
  font-size: 12px;
  margin-top: 12px;
  color: #888888;
}

.event-title-2 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-desc-2 {
  font-size: 12px;
  margin-top: 8px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-date-2 {
  font-size: 10px;
  margin-top: 12px;
  color: #888888;
}

.event-title-small {
  font-size: 16px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-desc-small {
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-date-small {
  font-size: 10px;
  color: #888888;
}

.event-card-small:hover {
  cursor: pointer !important;
}

.event-title-small:hover {
  cursor: pointer !important;
  color: #4caf4f;
}

.event-title:hover {
  color: #4caf4f;
  cursor: pointer !important;
}

.event-title-2:hover {
  color: #4caf4f;
  cursor: pointer !important;
}

footer {
  background-color: #1b5e1f;
  padding: 20px 0;
  font-family: "Inter", sans-serif;
}
.about-header {
  background-image: url("/images/background_about.png");
  height: 700px;
  background-size: cover;
  background-position: center;
}

.about-content {
  height: 1200px;
  background: #f5f7fa;
}
.title-content {
  font-size: 40px;
  color: #1b5e1f;
  font-weight: 600;
}
.content-header-1 {
  background: #263238;
  color: #ffffff;
  border-radius: 12px 0 0 12px;
  height: 700px;
}

.content-header-2 {
  background: #1b5e1f;
  color: #ffffff;
  border-radius: 0px 0 0 12px;
  height: 800px;
}

.content-header-3 {
  background: #388e3b;
  color: #ffffff;
  border-radius: 0px 12px 12px 12px;
  height: 980px;
}

.text-content {
  font-size: 16px;
  font-weight: 300;
}

.title-content {
  font-size: 26px;
  font-weight: 600;
}
.title-content-about {
  color: #4d4d4d;
  font-size: 26px;
  font-weight: 600;
}

.about-content li {
  font-weight: 300;
  font-size: 16px;
  color: #4d4d4d;
}

.calendar-container {
  width: 60%;
  margin: auto;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  position: relative;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.calendar-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
}

.nav-btn {
  background: #4caf50;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.day-name {
  font-weight: bold;
  text-align: center;
  padding: 8px 0;
  border-radius: 6px;
  background: #4caf4f;
  color: #fff;
}

.day {
  background: #fafafa;
  height: 90px;
  border-radius: 8px;
  padding: 6px;
  position: relative;
  border: 1px solid #9ed2a2;
  overflow: hidden;
  transition: 0.15s;
  cursor: pointer;
}

.day.active {
  background: #e8f5e9;
}

.day:hover {
  background: #e8f5e9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.day-number {
  font-size: 28px;
  /* tăng size từ 14px → 18px */
  font-weight: 600;
  color: #4d4d4d;
}

.events {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.event-item {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  padding-right: 6px;
}

/* tooltip global */
#tooltip-global {
  position: absolute;
  z-index: 99999;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  width: 260px;
  font-size: 13px;
  display: none;
  transform-origin: left top;
}

#tooltip-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: #222;
}

#tooltip-desc {
  color: #444;
  line-height: 1.3;
  max-height: 160px;
  overflow: auto;
}

/* small responsive */
@media (max-width: 420px) {
  #tooltip-global {
    width: 200px;
    font-size: 12px;
  }

  .day {
    height: 80px;
  }
}
