/* ================== Reset + Common utilities ================== */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}

.width-50 {
  width: 50%;
}
.height-50 {
  height: 50%;
}
.text-white {
  color: #fff;
}
.text-black {
  color: #000;
}
.bold {
  font-weight: bold;
}
.weight-600 {
  font-weight: 600;
}

.box-4 {
  width: 400px;
  height: 200px;
}
.box-3 {
  width: 300px;
  height: 200px;
}

.banner {
  width: 100%;
}
.banner img {
  width: 100%;
  height: auto;
}

.gradient-text {
  font-weight: bold;
  background: linear-gradient(90deg, #1d3557, #e63946);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.start {
  text-align: start;
}

.text-size-1 {
  font-size: 1rem;
}
.text-size-2 {
  font-size: 2.5rem;
}
.text-size-1-5 {
  font-size: 1.2rem;
}

/* ================== Header ================== */
.hero {
  text-align: center;
  padding: 2rem 1rem;
  color: #fff;
}
.hero h1 {
  font-size: 2rem !important;
  margin: 0;
  font-weight: 600;
}
.hero h2 {
  font-size: 3.6rem !important;
  margin: 0.5rem 0 0;
  font-weight: 700;
  text-transform: uppercase;
}

/* ================== Main section ================== */
.intro {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  gap: 5rem;
  margin: 0 auto;
  background: linear-gradient(to right, #2e3a87, #e63946);
  max-width: 100%;
}
.intro-left img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, #2e3a87, #e63946);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.intro-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.intro-right ul li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.8rem;
  font-weight: 500;
  color: #fff;
}
.intro-right ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #e63946;
  font-weight: bold;
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 14px;
  background-color: #fff;
  text-align: center;
  border-radius: 50%;
}

.branches {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 1rem;
  justify-items: start;
}
.branches span {
  display: inline-block;
  background: #f0f0f0;
  margin: 0.3rem;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  width: 6rem;
  text-align: center;
}

/* ================== Quotes + Register ================== */
.quotes {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem;
  background: #f9f9f9;
}
.quotes blockquote {
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
  color: #111;
  position: relative;
  max-width: 700px;
  display: flex;
  flex-direction: column;
}
.quotes strong {
  font-weight: 800;
  background: linear-gradient(90deg, #1d3557, #e63946);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.quote-icon {
  font-size: 2rem;
  font-weight: bold;
}
.quote-icon.left {
  color: #1d3557;
  margin-right: 0.3rem;
  text-align: start;
}
.quote-icon.right {
  color: #e63946;
  margin-left: 0.3rem;
  text-align: end;
}

.register {
  border: 1px solid #ccc;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
}
.register .header-btn {
  background: linear-gradient(to right, #2e3a87, #e63946);
  color: white;
  border: none;
  font-size: 2rem;
  font-weight: 600;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}
.register button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.register p {
  font-weight: 600;
  color: #333;
  font-size: 0.8rem;
  margin: 0 !important;
  margin-top: 0.7rem;
  height: 50%;
}
.features-center {
  max-width: 100%;
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
  background: linear-gradient(to right, #2e3a87, #e63946);
}
.features {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-content: center;
  gap: 1.5rem;
}

.feature-box {
  background: #fff;
  width: 100%;
  border: 2px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
}

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

.feature-box h3 {
  padding: 1rem;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #e63946;
}

.hotline-wrapper {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  /* justify-content: center; */
  margin-top: 2rem;
}

.hotline-icon-box {
  background: #fff;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 1.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hotline-icon {
  font-size: 22px;
  background: linear-gradient(to right, #2e3a87, #e63946);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hotline-number {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(90deg, #ffffff, #ff6b6b);
  color: #fff;
  text-decoration: none;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 2px #fff, 0 0 6px #e63946;
}

/* ================== Animation ================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================== Responsive ================== */

/* Desktop lớn (>=1200px) */
@media (min-width: 1200px) {
}

/* Tablet ngang (992px – 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .intro {
    gap: 3rem;
  }
  .intro-left img {
    max-width: 450px;
  }
  .hero h2 {
    font-size: 3rem;
  }
}

/* Tablet dọc (768px – 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
  .intro-left img {
    max-width: 400px;
    position: relative;
    width: 100%;
  }
  .quotes {
    flex-direction: column;
  }
}

/* Mobile (≤ 767px) */
@media (max-width: 767px) {
  .intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    gap: 2rem;
  }
  .intro-left img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .intro-right ul li {
    font-size: 0.95rem;
    padding-left: 2rem;
  }
  .intro-right ul li::before {
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 12px;
    top: 5px;
  }
  .branches {
    /* grid-template-columns: repeat(2, 1fr); */
  }
  .quotes {
    flex-direction: column;
  }
}

/* Mobile nhỏ (≤ 576px) */
@media (max-width: 576px) {
  .hero h1 {
    font-size: 1rem !important;
  }
  .hero h2 {
    font-size: 1.5rem !important;
  }
  .intro {
    padding: 1rem;
    gap: 1.5rem;
  }
  .intro-left img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }
  .branches span {
    width: 4rem;
    font-size: 0.6rem;
  }
  .quotes blockquote {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  .register {
    width: 90%;
    margin: 0 auto;
  }
  .register .header-btn {
    font-size: 1.4rem;
  }
  .intro-right ul li::before {
    top: 5px !important;
  }
  .quotes {
    flex-direction: column;
  }
  .features {
    grid-template-columns: 1fr;
  }
}
