.d-grid {
  display: grid;
}

.grid-col-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-col-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-col-5 {
  grid-template-columns: repeat(5, 1fr);
}

.grid-col-7 {
  grid-template-columns: repeat(7, 1fr);
}

.grid-col-10 {
  grid-template-columns: repeat(10, 1fr);
}

.grid-col-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-col-1-3-1 {
  grid-template-columns: 2fr 1fr 2fr;
}

.grid-col-3-1 {
  grid-template-columns: 3fr 1fr;
}

.grid-col-1-2 {
  grid-template-columns: 1fr 2fr;
}

.grid-col-2-1 {
  grid-template-columns: 2fr 1fr;
}

.grid-col-1-3 {
  grid-template-columns: 1fr 3fr;
}

.grid-col-1-8 {
  grid-template-columns: 1fr 8fr;
}

.gap-5 {
  gap: 5px !important
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}

.gap-30 {
  gap: 30px;
}

.gap-40 {
  gap: 40px;
}

.gap-50 {
  gap: 50px;
}

.gap-60 {
  gap: 60px;
}

.gap-70 {
  gap: 70px;
}

.gap-80 {
  gap: 80px;
}

.gap-90 {
  gap: 90px;
}

.gap-100 {
  gap: 100px;
}

.w-40 {
  width: 40%;
}

.w-60 {
  width: 60%;
}

.w-70 {
  width: 70%;
}

.w-80 {
  width: 80%;
}

.w-90 {
  width: 90%;
}

.w-100 {
  width: 100%;
}

#page_media {
  background: var(--color-1st);
}

.section {
  padding: 100px 0;
}

.section_block1 .item_block1 .image,
.item_block2 .image,
.video .image,
.section_block3 .item,
.slider_bottom .item_bottom .image {
  background-size: cover;
  width: 100%;
  position: relative;
  background-position: 50% 50%;
  overflow: hidden;
}

.video .image {
  width: 500px;
  height: 500px;
  margin: 0 auto;
}

.slider_bottom .item_bottom {
  padding: 10px;
}

.slider_bottom .item_bottom .image {
  height: 200px;
  border-radius: 10px;
}

.section_block3 .item {
  height: 1000px;
  border-radius: 10px;
}

.section_block1 .item_block1 .image,
.video .image,
.item_block2 .image {
  height: 500px;
  border-radius: 10px;
}

.section_block1 .item_block1:hover .image img,
.video .image:hover img {
  transform: scale(1.1);
  transition: all 0.2s ease;
}

.section_block1 .item_block1 .image img,
.item_block2 .image img,
.section_block3 .item img,
.video .image img,
.slider_bottom .image img {
  bottom: 0px;
  font-family: "object-fit: cover;";
  height: 100%;
  left: 0px;
  object-fit: cover;
  object-position: 50% 50%;
  position: absolute;
  right: 0px;
  top: 0px;
  width: 100%;
  transition: all 0.2s ease;
}

.btn_urllienhe a {
  font-weight: 700;
  font-size: 18px;
  background: #ffcb01;
  padding: 10px 40px;
  border-radius: 5px;
}

h4.title {
  font-weight: 700;
  font-size: 24px;
}

.play.popup-youtube {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: var(--color-1st);
  color: #fff;
  border-radius: 50%;
}

.play.popup-youtube::before {
  position: absolute;
  content: '';
  border-radius: 50%;
  background: var(--color-1st);
  opacity: 0.3;
  width: 100%;
  height: 100%;
  animation: play 2s infinite;
}

@keyframes play {
  0% {
    transform: scale(0);
  }

  35% {
    transform: scale(0.5);
  }

  50% {
    transform: scale(2);
  }

  75% {
    transform: scale(1.5);
  }

  100% {
    transform: scale(0);
  }
}

.play.popup-youtube i {
  position: relative;
}

.from_dangky {
  background: #d90000;
  padding: 30px;
  max-width: 450px;
  margin: 0 auto;
  text-align: center;
}

.from_dangky .form-title {
  color: #000;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.contact-form-group {
  margin-bottom: 12px;
}

.contact-form-input,
#contact_address {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 4px;
  padding: 0 15px;
  font-size: 18px;
  background: #fff;
  outline: none;
}

#contact_address {
  cursor: pointer;
}

.btn_baogiaform {
  width: 100%;
  height: 56px;
  background: #000;
  border: none;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: .3s;
}

.btn_baogiaform:hover {
  background: #222;
}

.contact-error {
  border: 2px solid #ffeb3b !important;
}

.error-message {
  color: #fff;
  font-size: 13px;
  text-align: left;
  margin-top: 5px;
}

.contact-success-message {
  margin-top: 15px;
  background: #28a745;
  color: #fff;
  padding: 10px;
  border-radius: 4px;
}

.contact-error-message {
  margin-top: 15px;
  background: #dc3545;
  color: #fff;
  padding: 10px;
  border-radius: 4px;
}

.btn-loading {
  display: none;
}

.loading .btn-text {
  display: none;
}

.loading .btn-loading {
  display: inline-block;
}

.loading .btn-loading::after {
  content: "Đang gửi...";
}


.contact-success-message {
  display: none;
  background: #28a745;
  color: #fff;
  padding: 15px;
  margin-top: 15px;
  border-radius: 5px;
  text-align: center;
}

.contact-error-message {
  display: none;
  background: #dc3545;
  color: #fff;
  padding: 15px;
  margin-top: 15px;
  border-radius: 5px;
  text-align: center;
}

@media screen and (max-width: 992px) {
  .video .image {
    width: 100%;
    height: 400px;
    margin: 0 auto;
  }

  .content_section.d-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  h2.title {
    width: 100% !important;
  }

  .section_block3 .item {
    height: 400px;
  }
}