* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  line-height: 1.6;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

/*---------------------------------------------------Common---------------------------------------------------------*/
.no-wrap {
  white-space: nowrap;
}

/*-------------------------------------------------- Header-------------------------------------------------------- */
header {
  background-image: url("../images/1x/background-header.png");
  /*height: 10rem;*/
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  /* position: relative; */

  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar {
  align-self: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .navbar-item {
  align-self: end;
}

.navbar a {
  color: #333;
  font-weight: 600;
  margin: 0 0.6rem;
}

.hotline {
  background-color: #ff9900;
  font-weight: bold;
  color: #fff;
  padding: 0.2rem 1.2rem 0.2rem 0.5rem;
  border-radius: 1rem;
}

/*-------------------------------------------------------------------- Banner --------------------------------------------------------------------------- */
.banner {
  color: white;
  height: auto;
  overflow: hidden;
}

.banner img {
  width: 100%;
}


#banner-process {
  color: white;
  height: auto;
  overflow: hidden;
  margin: 25px 0;
  padding-left: 10rem;
}

#banner-process img {
  width: 100%;
}

#banner-background:hover {
  cursor: pointer;
}

.cta-button {
  background: #ff9900;
  color: white;
  padding: 0.8rem 1.25rem;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
}

/* -------------------------------------------------------------------- Hỗ trợ toàn diện -----------------------------*/

.card-container {
  display: grid;
  gap: 20px;
  padding: 20px;
  justify-content: center; /* Center cards horizontally */
  grid-template-columns: repeat(12, 1fr); /* 3 cards per row */
  width: 100%;
}

.card-container .card {
  height: 200px;
  width: 100%;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  /* backdrop-filter: blur(10px); */
  transition: transform 0.3s ease;
}

.card-container .card1 {
  background: linear-gradient(to bottom, rgba(10, 78, 155, 0.8), rgba(10, 78, 155, 0.8)), url('/landing-page/duhoc-hanquoc/images/v2/guide1.png')
  no-repeat center / cover;
}
.card-container .card2 {
  background: linear-gradient(to bottom, rgba(10, 78, 155, 0.8), rgba(10, 78, 155, 0.8)), url('/landing-page/duhoc-hanquoc/images/v2/guide2.png')
  no-repeat center / cover;
}
.card-container .card3 {
  background: linear-gradient(to bottom, rgba(10, 78, 155, 0.8), rgba(10, 78, 155, 0.8)), url('/landing-page/duhoc-hanquoc/images/v2/guide3.png')
  no-repeat center / cover;
}
.card-container .card4 {
  background: linear-gradient(to bottom, rgba(10, 78, 155, 0.8), rgba(10, 78, 155, 0.8)), url('/landing-page/duhoc-hanquoc/images/v2/guide4.png')
  no-repeat center / cover;
}
.card-container .card5 {
  background: linear-gradient(to bottom, rgba(10, 78, 155, 0.8), rgba(10, 78, 155, 0.8)), url('/landing-page/duhoc-hanquoc/images/v2/guide5.png')
  no-repeat center / cover;
}

.card-container .card:hover {
  transform: translateY(-5px);
}

.card-container .card h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0 !important;
}

.card-container .card p {
  font-size: 1.25rem;
}

/* Responsive Grid Layout */
@media (min-width: 1200px) { /* Extra Large (XL) screens */
  .card1, .card2, .card3 {
    grid-column: span 4;
  }
  .card4 {
    grid-column: 3 / span 4;
  } 
  .card5 {
    grid-column: span 4;
  } 
}

@media (min-width: 800px) and (max-width: 1199px) { /* Large (LG) screens */
  .card1 {
    grid-column: 3 / span 4;
  }
  .card2 {
    grid-column: span 4;
  }
  .card3 {
    grid-column: 3 / span 4;
  }
  .card4 {
    grid-column: span 4;
  } 
  .card5 {
    grid-column: 5 / span 4;
  } 
}

@media (min-width: 401px) and (max-width: 799px) { /* Medium and smaller screens */
  .card-container {
    grid-template-columns: 1fr; /* 1 card per row */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    text-align: center; /* Optional: center text */
  }
  .card-container .card {
    width: 100%;
  }
}

@media (max-width: 400px) { /* Medium and smaller screens */
  .card-container {
    grid-template-columns: 1fr; /* 1 card per row */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    text-align: center; /* Optional: center text */
  }
  .card-container .card {
    width: 100%;
    height: 300px;
  }
}


/* --------------------------------------------------------------------Các chương trình du học --------------------------------------------------------- */

/* Programs */
.programs {
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.programs h2 {
  margin-bottom: 1.25rem;
}

.programs {
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.programs h2 {
  margin-bottom: 1.25rem;
}

/* CSS Grid cho layout responsive */
.program-grid {
  margin: auto;
  background-image: url("../images/1x/background-korean.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  width: 100%;
  padding: 3.75rem 2.5rem;
}

.program {
  border-radius: 0.25rem;
  overflow: hidden;
  text-align: center;
}

.program img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.program p {
  margin: 0.62rem 0;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
}

/* Process */

/* -------------------------------------------------------------Quy trình đăng ký du học -------------------------------------------------- */

.horizontal-line {
  height: 0.12rem;
  width: 9rem;
  background-color: #dae4ef;
}

.text-procedure-register {
  font-size: 2rem;
  text-align: center;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  color: #0e5199;
  margin: 0 2rem !important;
}

.process {
  padding: 2.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.process h2 {
  margin-bottom: 1.25rem;
}

.process .step-container {
  padding: 1.25rem;
  height: 18.75rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.process .step {
  background-color: #0e5199;
  height: 100%;
  width: 20rem;
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 2.5rem;
  align-items: center;
  gap: 1.25rem;
  color: white;
}

.process .step img {
  width: auto;
  height: 50%;
  object-fit: cover;
}

.step p {
  max-width: 50%;
}

/* Partners */
.partners {
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.text-partner {
  background-color: #0A4E9B;
  color: white;
  font-weight: 700;
  line-height: 49px;
  font-size: 40px;
  padding: 5px 50px;
  border-radius: 15px;
}

.partners h2 {
  margin-bottom: 1.25rem;
}

.logos img {
  width: 6.25rem;
  margin: 0.62rem;
}

#btn_view-all {
  color: #2e3192;
}

/* ----------------------------------------------------Program ---------------------------------*/
#banner-program {
  color: white;
  height: 43.75rem;
  overflow: hidden;
  margin-bottom: 25px;
  position: relative;
}

#banner-program img {
  width: 100%;
  height: 43.75rem;
  object-fit: cover;
  object-position: left;
}

#div_program {
  text-align: center;
  padding: 1.25rem;
  position: absolute;
  width: 31.25rem;
  height: 33.75rem;
  max-height: 100%;
  right: 11.25rem;
  top: 4rem;
  z-index: 99
}

.div_program-header {
  background-color: #FF3D41; /* Bright red */
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  padding: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  border-radius: 10px
}

.div_program-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.div_program-item {
  background-color: #002F72; /* Dark blue */
  color: white;
  font-size: 1.1rem;
  padding: 10px 1.25rem;
  border-radius: 5px;
  width: 80%;
  height: 20%;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.div_program-footer {
  background-color: #FF3D41; /* Bright red */
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 1rem;
  border-radius: 5px;
  width: 80%;
  margin: 0 auto;
  border-radius: 10px
}

@media (max-width: 768px) {
  #div_program {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 500px) {
  #div_program {
    width: 300px;
  }
  .div_program-header, .div_program-footer {
    font-size: 1rem;
  }
  .div_program-item {
    font-size: 0.8rem
  }
  .text-partner {
    font-size: 1.2rem;
  }
}

/*-------------------------------------------------------------Form-----------------------------------------------------------*/

.form-container {
  display: flex;
  justify-content: center;
  width: 90%;
}

#tuvan {
  font-size: 3rem;
  font-weight: 700;
  color: #065196;
  margin: 0
}

.video-advertisement {
  width: 100%;
  border: none;
  border-radius: 10px;
  height: 40rem;
}

.form-container img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.registration-form input,
.registration-form select,
.registration-form button,
#google-recaptcha-checkbox {
  width: 100%;
  margin: 0 0 1rem 0;
}

.registration-form button {
  background: #333;
  color: white;
  border: none;
  cursor: pointer;
}

.form-container .registration-form {
  /* border-bottom: 0.12rem solid #b3b5d7; */
  border-radius: 0.62rem;
  padding: 2rem 1.5rem;
  position: relative;
  width: 100%;
}

.form-container .registration-form p {
  color: #56589f;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

.gender {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  width: 100%;
}

.gender strong,
.gender label {
  align-self: center;
  height: 2rem;
  line-height: 2rem;
}

.gender label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 !important;
}

.center-horizontal {
  display: flex;
  align-items: center;
}

.m-0 {
  margin: 0 !important
}

#button-container {
  /* position: absolute;
  bottom: -1.55rem;
  left: 50%; */
  /* transform: translateX(-50%); */
  width: 25rem;
  height: 4rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

#button-container button {
  background-color: #2e3192;
  width: 25.75rem;
  /* padding: 0.1rem 3.5rem; */
  border-radius: 1rem
}

/* -------------------------------------------------------- Câu hỏi thường gặp -----------------------------------------------*/
.question {
  border-radius: 43px;
  /* border: 1px solid rgba(0, 0, 0, 0.15); */
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  padding: 1rem 2rem
}

.card-header {
  padding: 0;
  background-color: #fff;
}

.card-header button {
  height: 60px;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.card-body {
  margin-top: 1px;
  border-bottom: 1px solid #ccc;
}

.accordion .card {
  margin: 0 15px 15px 15px;
}

@media (min-width: 801px) { 
  .question {
    width: 80%;
    margin: 5rem auto;
  }
}

@media (max-width: 799px) { 
  .question {
    width: 100%;
    margin: 5rem 0;
    border-radius: 0;
  }
}

/* -----------------------------------------------------------Media Query------------------------------------------------------ */

@media (max-width: 768px) {
  .horizontal-line,
  .icon-notification {
    display: none;
  }
  .contact-info-container {
    flex-direction: column;
    gap: 1.25rem;
  }
  .contact-info-detail {
    flex-direction: column;
  }
  .video-advertisement {
    height: 20rem;
  }
}

@media (max-width: 1140px) {
  header {
    height: auto;
    margin-bottom: 1rem;
  }
  .navbar {
    flex-direction: column;
    align-items: start;
    gap: 1rem;
  }
  .navbar .navbar-item {
    align-self: start;
  }
}
