.nav-link {
  font-size: 1.25rem !important;
}

.btn-contact {
  --bs-btn-font-size: 1rem;
  --bs-btn-border-radius: 0.5rem;
  width: 150px;
}

.slider {
  overflow: hidden;
}

.track {
  display: flex;
  transition: transform 0.05s linear;
}

.slider-row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  overflow: hidden;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.step {
  border-radius: 3px;
  width: 4px;
  height: 44px;
}

.step-edu-bg {
  background-image: linear-gradient(310deg, #c27df0 0%, #9a36c1 100%);
}

.step-edu {
  border-radius: 3px;
  width: 4px;
  height: 44px;
}

.category-btn {
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 14px;
  background-color: #f8f9fa;
  border: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.category-btn:hover {
  transform: scale(1.1);
  background-image: linear-gradient(310deg, #5a68c7 0%, #3b50c4 100%);
  color: #fff;
}

.category-btn.active {
  background-image: linear-gradient(310deg, #5a68c7 0%, #3b50c4 100%);
  color: #fff;
}

.footer__meta {
  text-align: center;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.footer__meta p {
  font-size: 0.875rem;
  color: #999999;
  margin-bottom: 3px;
}

.footer__meta p:not(:last-child)::after {
  content: '|';
  margin-left: 1rem;
  margin-right: 1rem;
}

#contentVideo {
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
}

#content-markdown {
  color: black !important;
}

#content-markdown h2 {
  font-size: 1.75rem;
  margin-top: 45px;
  margin-bottom: 30px;
  color: black !important;
}

#content-markdown h3 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 30px;
  color: black !important;
}

#content-markdown h4 {
  font-size: 1.25rem;
  margin-top: 30px;
  margin-bottom: 30px;
  color: black !important;
}

#content-markdown p {
  font-size: 1rem;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 10px;
  color: black !important;
}

#content-markdown li p {
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 5px;
  color: black !important;
}

#content-markdown thead {
  line-height: 1.125;
  color: #00000a;
  border-bottom: 1px solid #00000a;
  color: #fff;
}

#content-markdown thead th {
  color: #4d5256;
  font-size: 1rem;
  margin-top: 2px;
  margin-bottom: 2px;
  font-weight: 700;
  text-align: center;
  border: 1px solid #ddd;
  padding: 0.75rem;
}

#content-markdown tbody th {
  background-color: #eee;
  font-size: 1rem;
  margin-top: 2px;
  margin-bottom: 2px;
  font-weight: 700;
  text-align: center;
  padding: 0.75rem;
}

#content-markdown tr {
  border: 1px solid #ddd;
}

#content-markdown td {
  border: 1px solid #ddd;
  padding: 0.75rem;
}

#content-markdown hr {
  border: 1px solid #67748e;
  margin-top: 45px;
  margin-bottom: 45px;
}

.btn-quiz {
  background-color: white;
  font-size: 1rem;
  margin: 0;
  margin-left: 1rem;
}

.btn-quiz.active {
  background-color: #1f2b6c;
  color: white;
}

.prev-next-btn {
  display: flex;
  width: 45%;
  margin-bottom: 5px;
  min-height: 7rem;
  text-align: center;
  align-items: center;
  justify-content: center;
  border: 3px solid #dee2e6;
  border-radius: 0.5rem;
}

.prev-next-btn:hover {
  background-color: #1f2b6c;
  border-color: #1f2b6c;
  color: white;
}

.image-card {
  cursor: pointer;
  overflow: hidden;
  border: 1px solid #dee2e6;
  border-radius: 1rem;
}

.image-card:hover {
  color: #191d26;
}

.image-card-rate {
  text-align: right;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.image-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.image-card-lesson {
  font-size: 1rem;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.card-header img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.card-program img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.chat-bubble {
  border-radius: 20px;
  padding: 14px 26px;
  display: inline-block;
  margin-bottom: 10px;
  max-width: 90%;
  font-size: 1.19rem;
}
.bubble-left {
  background: #f2f3f4;
  color: #222;
}
.bubble-right {
  background: #e3e8fb;
  color: #222;
  text-align: center;
  font-weight: 600;
  width: 100%;
  margin-left: 160px;
}
.chat-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}
.chat-row.reverse {
  flex-direction: row-reverse;
}
.profile-img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: #2bc3b7;
  margin: 0 16px;
}
.main-img-top {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
}
.main-content-title {
  font-size: 1.37rem;
  font-weight: 600;
  margin-bottom: 0.05em;
}
.main-content-big {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.2em;
  line-height: 1.1;
}
.desc {
  font-size: 1.07rem;
  color: #444;
  margin-bottom: 0.7em;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border: 3px solid #4779ed;
  border-radius: 10px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-bottom: 1em;
}
.logo-mark-inner {
  width: 18px;
  height: 18px;
  background-color: #4779ed;
  border-radius: 2px;
}
.main-img-bottom {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
}
.program-table {
  margin-top: 30px;
  margin-bottom: 10px;
}
.table-item {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  font-size: 1.11rem;
}
.program-title {
  font-weight: 600;
  margin-bottom: 0.4em;
  letter-spacing: -0.01em;
  font-size: 1.07rem;
}
.org {
  font-size: 0.98rem;
  color: #4583cc;
  font-weight: 500;
  vertical-align: middle;
  font-style: normal;
}

.top-title {
  font-size: 1.02rem;
  color: #333;
  margin-bottom: 2px;
}
.main-title {
  font-size: 1.65rem;
  font-weight: 600;
  display: inline;
  color: #191919;
}
.sep {
  font-size: 1.1rem;
  color: #888;
}
.sub-desc {
  font-size: 1.09rem;
  color: #575757;
  vertical-align: middle;
  font-weight: 400;
  display: inline;
}
.main-picture {
  width: 100%;
  border-radius: 7px;
  margin-top: 8px;
  box-shadow: 0 2px 12px rgba(30, 40, 70, 0.07);
  background: #ccc;
  object-fit: cover;
}

.main-visual {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  align-items: center;
  justify-content: center;
}
.main-visual-left {
  flex: 2 1 350px;
  min-width: 200px;
  max-width: 400px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.main-visual-left img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}
.main-visual-center {
  flex: 1.3 1 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.main-visual-center-text {
  background: #fff;
  border-radius: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 1.35rem;
  padding: 26px 14px;
  line-height: 1.35;
  color: #222;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(100, 130, 180, 0.06);
}
.main-visual-right {
  flex: 2 1 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.visual-block {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  padding: 13px;
}
.visual-block img {
  width: 175px;
  height: 175px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f3f3f5;
}
.block-info {
  flex: 1 1 auto;
}
.block-org {
  font-size: 0.98rem;
  color: #2182bd;
  font-weight: 500;
  margin-bottom: 0.15em;
}
.block-title {
  font-size: 1.11rem;
  font-weight: 600;
  margin-bottom: 0.16em;
  letter-spacing: -0.01em;
  color: #191d26;
}
.block-desc {
  font-size: 0.97rem;
  color: #444;
  font-weight: 400;
}
.bottom-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  align-items: flex-start;
}
.bottom-left {
  flex: 1 1 220px;
  min-width: 190px;
  max-width: 340px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 18px 18px 18px;
  box-shadow: 0 1px 6px rgba(90, 100, 140, 0.045);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bottom-section img {
  min-height: 0px;
  object-fit: contain !important;
}
.bottom-org {
  color: #444;
  font-size: 1rem;
  margin-bottom: 0.17em;
  font-weight: 500;
}
.bottom-title {
  font-size: 1.17rem;
  font-weight: 700;
  margin-bottom: 0.23em;
  color: #191d26;
}
.bottom-desc {
  align-items: center;
  justify-content: center;
  font-size: 1.01rem;
  color: #555762;
  font-weight: 400;
}
.bottom-right {
  flex: 2 1 360px;
  min-width: 170px;
  display: flex;
  flex-direction: column;
}
.bottom-right img {
  width: 100%;
  min-height: 120px;
  object-fit: cover;
  border-radius: 10px;
}
@media (max-width: 1100px) {
  .main-visual {
    flex-direction: column;
    gap: 18px;
  }
  .main-visual-left img {
    min-height: 200px;
  }
  .main-visual-right {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 11px;
  }
  .visual-block {
    flex: 1;
    min-width: 100%;
  }
}
@media (max-width: 767px) {
  .main-visual,
  .bottom-section {
    flex-direction: column;
    gap: 12px;
  }
  .main-visual-left img,
  .bottom-right img {
    min-height: 95px;
  }
  .main-visual-center-text {
    font-size: 1.04rem;
    padding: 14px 7px;
  }
  .visual-block img {
    width: 64px;
    height: 44px;
  }
  .block-title {
    font-size: 0.97rem;
  }
  .bottom-title {
    font-size: 1.05rem;
  }
  .bottom-org {
    font-size: 0.89rem;
  }
  .bottom-left {
    padding: 13px 10px 11px 10px;
  }
}

.edu-program {
  cursor: pointer;
}

.timeline {
  position: relative;
  padding-left: 60px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
}
.timeline-year {
  position: relative;
  margin-bottom: 40px;
}
.circle {
  position: absolute;
  left: 15px;
  top: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #232427;
  border: 5px solid #424347;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #75777a;
  font-size: 1.5rem;
  font-weight: bold;
  transition: border 0.2s;
}
.timeline-year .year-btn {
  background: none;
  border: none;
  color: #bfbfbfb4;
  text-align: right;
  font-size: 3rem;
  font-weight: bold;
}
.year-btn.active {
  color: #4a6fd3;
}
.timeline-contents {
  margin-left: 30px;
  margin-bottom: 30px;
  color: #000;
}
.timeline-contents span {
  font-size: 2rem;
  font-weight: bold;
  color: #4a6fd3;
}
.timeline-content {
  margin-left: 5px;
  border-left: 2px solid #ddd;
}

.dashboard {
  position: relative;
  padding-left: 60px;
}
.dashboard::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
}
.dashboard-menu {
  position: relative;
  margin-bottom: 40px;
}
.circle {
  position: absolute;
  left: 15px;
  top: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #232427;
  border: 5px solid #424347;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #75777a;
  font-size: 1.5rem;
  font-weight: bold;
  transition: border 0.2s;
}
.dashboard-menu .menu-btn {
  background: none;
  border: none;
  color: #bfbfbfb4;
  text-align: left;
  font-size: 1.5rem;
  font-weight: bold;
}
.menu-btn.active {
  color: #102767;
}
.dashboard-contents {
  margin: 30px;
  color: #000;
}
.dashboard-content {
  margin-left: 5px;
}
.gradient-image-wrapper {
  position: relative;
  height: 100%;
}
.gradient-image-wrapper img {
  width: 100%;
  min-height: 75vh;
  height: 100%;
  object-fit: cover;
}
.gradient-image-wrapper::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    to right,
    #0a508dff 17.5%,
    rgba(39, 48, 60, 0.7) 35%,
    rgba(39, 48, 60, 0.18) 75%,
    rgba(39, 48, 60, 0) 100%
  );
  pointer-events: none;
}

.image-layout-container {
  display: grid;
  grid-template-columns: 2fr 1.4fr;
  grid-template-rows: 1fr 1fr;
  gap: 5%;
  max-width: 800px;
  margin: 0 auto;
}
.img1 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  border-radius: 1rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img2 {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  border-radius: 1rem;
  width: 100%;
  height: 80%;
  object-fit: cover;
}
.bottom-row {
  display: flex;
  gap: 5%;
  width: 100%;
  height: 100%;
}
.img3 {
  border-radius: 1rem;
  width: 50%;
  height: 60%;
  object-fit: cover;
}
.img4 {
  border-radius: 1rem;
  width: 45%;
  height: 60%;
  object-fit: cover;
}

.progress-wrap {
  width: 75%;
}

.progress {
  width: 100%;
  height: 12px;
  background: #e9ecef;
  border-radius: 999px;
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  background: #0a508dff;
  width: 0%;
  transition: width 0.25s ease;
}

.progress__text {
  margin-left: 1rem;
  font-size: 15px;
  color: #75777a;
}

.cert-scroll {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.cert-wrap {
  position: relative;
  display: inline-block;
}

.cert-wrap img {
  display: block;
  width: 100%;
  min-width: 1272px;
}

.cert-name {
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}

.cert-info {
  width: 100%;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.15rem;
  text-align: center;
  color: #111;
}
.cert-date {
  position: absolute;
  top: 74%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.15rem;
  color: #111;
}

@media (max-width: 991px) {
  .main-content-big {
    font-size: 1.4rem;
  }
  .program-table {
    margin-top: 18px;
  }
}
@media (max-width: 767px) {
  .chat-bubble,
  .bubble-right {
    font-size: 1rem;
    padding: 10px 15px;
  }
  .profile-img {
    width: 36px;
    height: 36px;
  }
  .bubble-right {
    margin-left: 0;
  }
  .prev-next-btn {
    width: 100%;
  }
  .main-img-top,
  .main-img-bottom {
    max-height: 220px;
  }
  .table-item {
    font-size: 0.97rem;
    min-height: 70px;
  }
  .main-content-title,
  .main-content-big {
    font-size: 1.09rem;
  }
}
@media (max-width: 600px) {
  .main-title {
    font-size: 1.12rem;
  }
  .sub-desc {
    font-size: 0.99rem;
  }
  .main-picture {
    margin-top: 5px;
  }
}
