:root {
  --ts-cl-primary: #ff6229;
  --ts-cl-blue: #1a237e;
  --ts-cl-blue-light: #e8eaf6;
}

main {
  font-family: "Be Vietnam Pro", sans-serif;
}

section.ts-hero {
  background-image: url("../images-ts/hero-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 100px 0px 100px;
}

.ts-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  justify-content: center;
  gap: 70px;
}

.ts-hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}

.ts-hero-content p {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
}

.ts-btn-primary {
  width: fit-content;
  background-color: var(--ts-cl-primary);
  font-size: 16px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 16px 35.2px 0 rgba(255, 90, 30, 0.3),
    0 5.106px 11.233px 0 rgba(255, 90, 30, 0.09),
    0 1.932px 4.25px 0 rgba(255, 90, 30, 0.04),
    0 0.637px 1.401px 0 rgba(255, 90, 30, 0.01);
  min-height: 52px;
  font-weight: 500;
}

section.ts-admissions {
  padding: 130px 0px;
}

.ts-admissions-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
  background: linear-gradient(83deg, #df692f -4.87%, #fc874e 104.87%);
  border-radius: 50px;
}

.ts-admissions-inner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background-image: url("../images-ts/doituong-decor.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  max-width: 50%;
}

.ts-admissions-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: white;
  padding: 40px 0px 40px 40px;
}

.ts-admissions-content h2 {
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
}

.ts-admissions-content p {
  font-size: 22px;
}

.ts-admissions-content ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ts-admissions-content ul li {
  font-size: 18px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ts-admissions-content ul li::before {
  content: "";
  background-image: url("../images-ts/icon-right.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.ts-admissions-content>a.ts-btn-primary {
  background-color: #024bb7;
}

.ts-admissions-image {
  position: absolute;
  bottom: 0;
  right: 0px;
  max-width: 55%;
}

.ts-admissions-image img {
  width: 100%;
  height: 100%;
  margin-bottom: -4px;
}

section.ts-major {
  padding: 42px 0px 100px;
  background-image: url("../images-ts/major-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ts-major-inner h2 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 24px;
  text-align: center;
  color: white;
}

.major-slider-tab {
  width: fit-content;
  margin: 0px auto;
  padding-bottom: 48px !important;
}

.major-slider-tab .swiper-slide {
  background-color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  border-radius: 30px;
  min-height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: white;
  transition: all 0.3s ease;
  text-align: center;
  width: max-content !important;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.major-slider-tab .swiper-slide.swiper-slide-thumb-active,
.major-slider-tab .swiper-slide:hover {
  background-color: var(--ts-cl-primary);
  box-shadow: 0 16px 35.2px 0 rgba(255, 90, 30, 0.3),
    0 5.106px 11.233px 0 rgba(255, 90, 30, 0.09),
    0 1.932px 4.25px 0 rgba(255, 90, 30, 0.04),
    0 0.637px 1.401px 0 rgba(255, 90, 30, 0.01);
}

.major-slider {
  padding: 0px 80px !important;
}

.major-slider .swiper-slide {
  background-color: white;
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 32px;
}

.major-slider-img {
  position: relative;
  padding-top: 100%;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
}

.major-slider-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.major-slider-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.major-slider-content h3 {
  font-size: 28px;
  color: #242659;
  font-weight: 800;
}

.major-slider-content p {
  color: #4c4e58;
  font-size: 16px;
}

.major-slider-content ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.major-slider-content ul li {
  font-size: 16px;
  color: #303136;
}

.major-slider-content a.ts-btn-primary {
  margin-top: 8px;
}

.major-slider .swiper-button-next:after,
.major-slider .swiper-button-prev:after {
  color: white;
  font-size: 24px;
}

section.ts-why {
  padding: 48px 0px 100px;
  position: relative;
}

section.ts-why::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images-ts/ts-why-bg.png");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

section.ts-why::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.77);
  z-index: -1;
}

.ts-why-inner h2 {
  font-size: 36px;
  color: #3a53b8;
  font-weight: 700;
  margin-bottom: 48px;
  text-align: center;
}

.ts-why-inner h2 b {
  color: var(--ts-cl-primary);
  font-size: 50px;
  font-weight: 900;
}

.ts-why-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ts-why-item {
  background-color: white;
  padding: 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 2px 4px 7px 0 rgba(0, 0, 0, 0.11);
}

.ts-why-img {
  border-radius: 16px;
  padding-top: 56.25%;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.ts-why-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ts-why-content h3 {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}

.ts-why-content h3 span {
  color: var(--ts-cl-primary);
}

section.ts-method {
  padding: 92px 0px;
  background-color: #eff3fe;
  position: relative;
}

section.ts-method::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  background-image: url("../images-ts/ts-mmethod-line.svg");
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  max-width: 900px;
}

.ts-method-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  z-index: 1;
  position: relative;
}

.ts-method-img {
  max-width: 640px;
}

.ts-method-content {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ts-method-content h2 {
  font-size: 36px;
  color: #3a53b8;
  font-weight: 900;
}

.ts-method-content h2 span {
  color: var(--ts-cl-primary);
}

.ts-method-content p {
  font-size: 28px;
  color: #000;
  font-weight: 600;
}

.ts-method-content ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ts-method-content ul li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  color: #303136;
}

.ts-method-content ul li::before {
  content: "";
  background-image: url("../images-ts/icon-check.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
}

section.ts-achievements {
  padding: 50px 0px;
  background-color: #eff3fe;
}

.ts-achievements-inner h2 {
  font-size: 36px;
  color: #3a53b8;
  font-weight: 900;
  margin-bottom: 64px;
  text-align: center;
}

.ts-achievements-inner h2 span {
  color: var(--ts-cl-primary);
}

.ts-achievements-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.ts-achievements-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 26px;
  background-color: white;
  border-radius: 16px;
}

.ts-achievements-img {
  max-width: 70px;
  margin: 0px auto;
}

.ts-achievements-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.ts-achievements-item p {
  font-size: 18px;
  color: #303136;
  font-weight: 600;
  text-align: center;
}

.ts-achievements a.ts-btn-primary {
  margin: 0px auto;
}

section.ts-scholarship {
  padding: 80px 0px;
  position: relative;
  background-image: url("../images-ts/ts-scholarship-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ts-scholarship-inner h2 {
  font-size: 36px;
  color: #fff;
  font-weight: 900;
  margin-bottom: 40px;
  text-align: center;
}

.scholarship-slider-item {
  background-color: white;
  padding: 26px;
  border-radius: 24px;
  position: relative;
}

.scholarship-slider-item span {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #3a53b8;
  border: 4px solid white;
  border-radius: 60px;
  color: white;
  text-align: center;
  padding: 12px 24px;
  font-weight: 900;
  display: none;

}

.scholarship-slider-item h3 {
  color: #292c6b;
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
}

.scholarship-img {
  background-color: var(--ts-cl-primary);
  padding-top: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-bottom: 16px;
  border-radius: 16px;
}

.scholarship-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.scholarship-slider-item p {
  font-size: 18px;
  color: #41424b;
  font-weight: 400;
  text-align: left;
  line-height: 1.6;
}

.scholarship-slider-item a.ts-btn-primary {
  margin: 32px auto 0px;
  display: none;
}

.swiper-slide.swiper-slide-active .scholarship-slider-item {
  background: radial-gradient(121.79% 116.6% at 52.93% 107.88%,
      #4665f2 0%,
      #78cdff 100%),
    #6775ed;
  color: white;
  padding-top: 64px;
}

.swiper-slide.swiper-slide-active .scholarship-slider-item h3 {
  color: white;
}

.swiper-slide.swiper-slide-active .scholarship-slider-item p {
  color: white;
}

.swiper-slide.swiper-slide-active .scholarship-slider-item a.ts-btn-primary,
.swiper-slide.swiper-slide-active .scholarship-slider-item span {
  display: flex;
}

.scholarship-slider {
  padding: 30px 0px 80px !important;
}

.scholarship-slider .swiper-wrapper {
  align-items: center;
}

.scholarship-slider .swiper-pagination {
  bottom: 0px !important;
}

.scholarship-slider .swiper-pagination .swiper-pagination-bullet {
  width: 60px;
  height: 5px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.6);
}

.scholarship-slider .swiper-pagination .swiper-pagination-bullet-active {
  background: white;
}

section.ts-form {
  padding: 64px 0px;
  background-image: url("../images-ts/ts-form-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ts-form-inner h2 {
  font-size: 36px;
  color: #3a53b8;
  font-weight: 900;
  margin-bottom: 32px;
  text-align: center;
}

.ts-form-inner h2 span {
  color: var(--ts-cl-primary);
}

.ts-form-content {
  max-width: 490px;
  margin: 0px auto;
  background-color: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 6.8px 0 rgba(0, 0, 0, 0.2);
}

.ts-form-content h3 {
  color: #41424b;
  text-transform: uppercase;
  text-align: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.ts-form-content form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ts-form-content form .form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0px;
}

.ts-form-content form .form-group label {
  font-size: 14px;
  color: #737784;
}

.ts-form-content form .form-group input,
.ts-form-content form .form-group select {
  width: 100%;
  padding: 12px 16px;
  min-height: 44px;
  border: 1px solid #afbaca;
  border-radius: 12px;
  font-size: 14px;
  color: #000;
  font-family: "Be Vietnam Pro", sans-serif;
}

.ts-form-content form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ts-form-content form button.ts-btn-primary {
  width: 100%;
}

.header-icon-menu {
  display: none;
}

.ts-programs .programs-grid {
  gap: 16px;
}

.ts-programs .program-card {
  aspect-ratio: auto;
  height: 360px;
}

section.ts-programs {
  background-image: url("../images-ts/ts-major-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

section.ts-programs .section-title {
  color: white;
  font-size: 36px;
}

@media screen and (max-width: 1366px) {
  .ts-hero-content h1 {
    font-size: 36px;
  }

  .ts-hero-content p {
    font-size: 18px;
  }

  section.ts-hero {
    padding: 60px 0px;
  }

  .ts-achievements-item p {
    font-size: 16px;
  }

  .scholarship-slider-item p {
    font-size: 16px;
  }
}

@media screen and (max-width: 1024px) {
  .header-icon-menu {
    display: flex;
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    font-size: 20px;
    align-items: center;
    justify-content: center;
  }

  .header-ts-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    justify-content: flex-start;
  }

  .header-ts-menu.active {
    opacity: 1;
    visibility: visible;
  }

  .header-ts-menu ul {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: white;
    width: 100%;
    max-width: 400px;
    height: 100%;
    overflow-y: auto;
    padding: 40px 20px;
    transform: translateX(-100%);
    transition: all 0.3s ease;
    gap: 16px;
  }

  .header-ts-menu.active ul {
    transform: translateX(0);
  }

  .header-ts-menu ul li a {
    font-size: 16px;
    color: black;
  }

  .header-ts-inner {
    justify-content: space-between;
  }

  .header-ts-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 20px;
    cursor: pointer;
  }

  .ts-hero-content h1 {
    font-size: 32px;
  }

  .ts-hero-content p {
    font-size: 14px;
  }

  .ts-btn-primary {
    font-size: 14px;
    padding: 10px 20px;
    min-height: 44px;
  }

  .ts-admissions-content h2,
  .ts-why-inner h2 {
    font-size: 26px;
  }

  .ts-admissions-content p {
    font-size: 18px;
  }

  .ts-why-content h3,
  .ts-admissions-content ul li,
  .ts-method-content ul li,
  .ts-achievements-item p {
    font-size: 16px;
  }

  .ts-admissions-inner::before {
    width: 50%;
  }

  .ts-major-inner h2,
  .ts-method-content h2,
  .ts-scholarship-inner h2,
  .ts-achievements-inner h2,
  .ts-form-inner h2 {
    font-size: 32px;
  }

  .ts-achievements-list {
    grid-template-columns: 1fr 1fr;
  }

  .ts-method-inner {
    gap: 20px;
  }

  .ts-why-inner h2 b {
    font-size: 40px;
  }

  .ts-why-list {
    grid-template-columns: 1fr 1fr;
  }

  .major-slider-content h3 {
    font-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  .ts-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  section.ts-hero {
    padding: 35px 0px 50px;
  }

  .ts-hero-content h1 {
    text-align: center;
    font-size: 38px;
  }

  .ts-hero-content p {
    text-align: center;
    font-size: 16px;
  }

  .ts-hero-content .ts-btn-primary {
    margin: 0px auto;
  }

  section.ts-admissions {
    padding: 24px 0px;
  }

  .ts-admissions-inner {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
  }

  .ts-admissions-content {
    padding: 24px 16px;
  }

  .ts-admissions-content h2,
  .ts-why-inner h2 {
    font-size: 22px;
  }

  .ts-admissions-content ul li::before {
    width: 16px;
    height: 16px;
  }

  .ts-admissions-content>a.ts-btn-primary {
    margin: 0px auto;
  }

  .ts-admissions-image {
    position: static;
    max-width: 100%;
  }

  .ts-major-inner h2,
  .ts-method-content h2,
  .ts-scholarship-inner h2,
  .ts-achievements-inner h2,
  .ts-form-inner h2 {
    font-size: 26px;
  }

  .major-slider-tab .swiper-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .major-slider-tab .swiper-slide {
    font-size: 14px;
    min-height: 45px;
    padding: 6px 20px;
  }

  .major-slider {
    padding: 0px 0px !important;
  }

  .major-slider .swiper-slide {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .major-slider .swiper-button-next:after,
  .major-slider .swiper-button-prev:after {
    display: none;
  }

  section.ts-major {
    padding: 40px 0px;
  }

  .ts-why-inner h2 {
    margin-bottom: 20px;
  }

  .ts-why-inner h2 b {
    font-size: 32px;
  }

  .ts-why-list {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .ts-why-img {
    border-radius: 8px;
  }

  .ts-why-item {
    padding: 16px;
  }

  section.ts-why {
    padding: 40px 0px;
  }

  .ts-method-inner {
    grid-template-columns: 1fr;
  }

  .ts-method-content h2 {
    font-size: 22px;
  }

  .ts-method-content {
    gap: 12px;
  }

  .ts-method-content p {
    font-size: 20px;
  }

  .ts-method-content ul li::before {
    width: 16px;
    height: 16px;
  }

  section.ts-method {
    padding: 40px 0px;
  }

  .ts-achievements-inner h2 {
    margin-bottom: 20px;
  }

  .ts-achievements-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  section.ts-scholarship,
  section.ts-form {
    padding: 40px 0px;
  }

  .ts-scholarship-inner h2 {
    margin-bottom: 20px;
  }

  .scholarship-slider {
    padding: 30px 0px 30px !important;
  }

  .scholarship-slider-item h3 {
    font-size: 20px;
  }

  section.ts-programs {
    padding: 40px
  }

  .swiper-slide.swiper-slide-active .scholarship-slider-item {
    padding-top: 40px;
  }

  section.ts-programs .section-title {
    font-size: 24px;
  }

  .scholarship-slider-item {
    padding: 24px;
  }

  .scholarship-slider .swiper-pagination .swiper-pagination-bullet {
    width: 40px;
    height: 3px;
  }

  .ts-form-content form .form-row {
    grid-template-columns: 1fr;
  }

  .ts-form-content h3 {
    font-size: 20px;
  }

  .ts-achievements-img {
    max-width: 60px;
  }
}