/*--------------------------------------------------------------
>>> Footer.css
----------------------------------------------------------------*/
.footer {
  background: #131313;
  height: 60rem;
  position: relative;
  z-index: 1;
}
.footer .content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--content-size);
}
.content-col {
  flex: 0 0 45%;
  max-width: 45%;
}
.content-col:last-child {
  flex: 0 0 55%;
  max-width: 55%;
}
.logo-ft img{
  width: 65px;
  height: 70px;
  object-fit: cover;
}
.footer .name-company{
  color: #CCC;
  font-family: Montserrat;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  margin-top: 2rem;
}
.name-comp{
  color: #FFF;
  font-family: Montserrat;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 3rem;
}

.add-comp a{
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.add-comp .___address:hover{
  color: var(--primary);
}
.___ico-add {
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-ft{
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 5rem;
}

.item-social{
  width: 5rem;
  height: 5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.item-social:hover {
  background-color: var(--primary);
  cursor: pointer;
}
.___address{
  color:  #CCC;
  font-family: Montserrat;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}
.content-col:last-child{
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 8rem;
}
.content-col:last-child .item-col:nth-child(2){
  margin-top: 3rem;
}
.footer .copyright{
  position: absolute;
  bottom: 0;
  left: 0;
  height: 8.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer .box-copy-right span,
.footer .box-copy-right a{
  color: #fff;
}
.box-copy-right a:hover {
  color: var(--primary);
  cursor: pointer;
}

/*popup*/
.popup {
  display: none; 
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  transform: translate(-50%, -50%);
}


.popup-content {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 100%;
  max-width: 50vw;
  height: 60vh;
}
.popup-content iframe{
  width:100%;
  height: 100%;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 25px;
  cursor: pointer;
  color: #333;
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#close-popup .__closed:hover{
  color: #fff;
}


@media (max-width:576px){
  .footer{
    height: auto;
  }
  .footer .content-wrapper{
    flex-direction: column;
    width: 100%;
    padding: 0 1.5rem;
    gap: 2rem;
    margin-top: 3rem;
  }
  .footer .content-wrapper .content-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .footer .content-wrapper .content-col:first-child {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  .footer .content-wrapper .content-col:last-child {
    border-left: unset;
    padding-left: 0;
  }
  .box-copy-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .sep {
    display: none;
  }
  .footer .name-comp{
    font-size: 1.6rem;
  }
  .footer .___address,
  .footer .box-copy-right span, .footer .box-copy-right a{
    font-size: 1.4rem;
  }
  .content-col:first-child {
    display: flex;
  }
  .logo-ft {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .footer .name-company{
    margin-top: 0;
    flex: 0 0 80%;
    max-width: 80%;
  }
  .footer .social-ft{
    margin-top: 2rem;
  }
  .item-col.mail-mb{
    display: block !important;
  }
  .footer .content-wrapper{
    position: unset;
    transform: unset;
    margin-top: 0;
    padding: 4.5rem 0;
  }

  .add-comp.email-mb a p{
    color: #CCC;
    font-family: Montserrat;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    padding-right: 80px;
  }
  .add-comp.email-mb a p span{
    color: var(--primary);
    
  }
  .content-col:last-child .item-col:last-child{
    margin-top: 3rem;
  }
  .form-home-mb {
    position: relative;
    width: 100%;
  }
  .box-submit-mb {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translate(0, -50%);
    background: var(--primary);
    cursor: pointer;
    border-radius: 4px;
    padding: 12px 5px;
  }
  .box-email-mb p, .box-submit-mb p {
    margin: 0 !important;
  }
  .box-email-mb p span input {
    background: none;
    width: 100%;
    padding: 15px 50px 15px 15px; /* Chừa khoảng trống bên phải cho nút */
    border: 1px solid #7a797936;
    border-radius: 5px;
    height: 60px;
  }
  .footer .copyright{
    position: unset;
    height: auto;
    padding: 15px 0;
  }

}
.item-col.mail-mb{
  display: none;
}
.footer a:hover {
  color: var(--primary);
}

@media (max-width:1024px) and (min-width: 577px){
  .footer{
    height: 60rem;
  }
  .content-col:last-child {
    border-left: unset;
    padding-left: 0;
  }
  .footer .content-wrapper {
    padding-left: calc((100% - var(--content-size)) / 2 + 15px);
    padding-right: calc((100% - var(--content-size)) / 2 + 15px);
  }
}


@media (max-width:576px){
  .popup-content {
    max-width: 95vw;
    height: 40vh;
  }



  /* socail mb */
  .gd_fixed_left_box_mb.gd_fixed_mb {
    position: fixed;
    right: 5rem;
    z-index: 999;
    bottom: 20rem;
    transform: translateX(3rem);
    opacity: 1;
    transition: 0.5s linear;
    /* visibility: hidden; */

    display: block !important;
  }

  .gd_fixed_left_box_mb.gd_fixed_mb ul {
    position: relative;
    width: 3.2rem;
    height: 3.2rem;
  }

  .gd_fixed_left_box_mb.gd_fixed_mb ul li {
    border-radius: 100%;
    background: rgba(219, 68, 68, 1);
    width: 4.2rem;
    height: 4.2rem;
    transition: .3s all;
    margin-bottom: 5px;
    position: absolute;
    top: 42px;
    left: 0;
    list-style: none;
  }

  .gd_fixed_left_box_mb.gd_fixed_mb ul li a {
    font-size: 10px;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 100%;
    font-weight: 700;
  }
  .gd_fixed_left_box_mb.gd_fixed_mb ul li a svg{
    width: 18px !important;
  }
  .gd_fixed_left_box_mb.gd_fixed_mb li span {
    display: none;
  }

  .gd_fixed_left_box_mb.gd_fixed_mb i.fa.fa-headset {
    font-size: 20px;
  }

  .gd_fixed_left_box_mb.gd_fixed_mb ul li {
    transform: translateX(0) translateY(0);
    transition: all 0.5s ease;
    /* Hiệu ứng mượt */
  }


  .gd_fixed_left_box_mb.gd_fixed_mb ul li.show_mb:first-child {
    transform: translateX(-55px) translateY(32px);
  }

  .gd_fixed_left_box_mb.gd_fixed_mb ul li.show_mb:nth-child(2) {
    transform: translateX(-50px) translateY(-32px);
  }

  .gd_fixed_left_box_mb.gd_fixed_mb ul li.show_mb:nth-child(3) {
    transform: translateX(0) translateY(-70px);
  }

  .gd_fixed_left_box_mb.gd_fixed_mb ul li.show_mb:nth-child(4) {
    transform: translateX(0) translateY(70px);
  }


/* Mặc định */
.gd_fixed_left_box_mb.gd_fixed_mb ul li .toggle-class {
  background-color: transparent;
  transition: background-color 0.3s ease;
  padding: 10px;

}

/* Khi có class show_mb */
.gd_fixed_left_box_mb.gd_fixed_mb ul li .toggle-class.active {
  background-color: rgba(219, 68, 68, 1);
  color: white;
  border-radius: 50%;

}



}
.item-social a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.item-social > a > svg {
  width: 18px;
}
.show_mb > a > svg{
  width: 18px;
}
@media (min-width:577px) and (max-width:1024px){
  .popup-content {
    max-width: 95vw;
    height: 40vh;
  }
}


.zalo a, .zalo a:hover{
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}


.gd_fixed_left_box_mb.gd_fixed_mb {
  display: none;
}

.item-social a img {
  width: 18px;
  height: 18px;
}

@media (max-width:576px){
  .item-social {
    width: 4rem;
    height: 4rem;
  }
  .item-social a img,.show_mb img {
    width: 16px;
    height: 16px;
  }
  .item-social a{
    font-size: 14px;
  }
}