/* Footer riêng cho site "rent" — port nguyên bản từ template Cras (vendor/style.css)
   nhưng tách thành file nhỏ, độc lập, để load được ở MỌI trang (không chỉ trang chủ).
   Không dùng biến --primary-color/--black-color/--white-color của vendor (chỉ có khi load full
   vendor/style.css) — toàn bộ giá trị màu được viết cứng (copy đúng số từ bản gốc). */

.footer-bg {
  background-color: #000;
}

.footer.style-1 .footer-email {
  position: relative;
}
.footer.style-1 .footer-email .background-text {
  z-index: 9;
  opacity: 0.3;
  text-align: center;
  font-family: 'Exo 2', sans-serif;
  font-size: 110px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #222 0%, #fff 50%, #222 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rent-footer-shimmer 4s infinite;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-color: rgba(46, 46, 46, 0.7960784314);
  -ms-background-size: 200px 100%;
  background-size: 200px 100%;
}
.footer.style-1 .footer-email .footer-heading-email {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}
.footer.style-1 .footer-email .footer-heading-email .email-title {
  text-transform: uppercase;
  max-width: 670px;
  color: #fff;
  /* .email-title là thẻ <h5> — kích thước mặc định của theme Cras (vendor/style.css) là 24px,
     nhưng theme suxnix dùng chung cho trang con lại định nghĩa h5 chỉ 18px, nên nếu không ghi đè
     rõ ở đây thì chữ "Bản tin" sẽ nhỏ hơn hẳn so với trang chủ. Đặt rõ 26px (lớn hơn 1 chút so với
     bản gốc 24px cho nổi bật, dùng kích thước có sẵn trong bộ .ak-font-26 của thư viện) để đồng nhất
     và to hơn cho cả 2 loại trang. */
  font-size: 26px;
}
.footer.style-1 .footer-email .footer-heading-email .email-form {
  display: flex;
  gap: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ff3d24;
}
.footer.style-1 .footer-email .footer-heading-email .email-form .email-input {
  color: #fff;
  background-color: transparent;
  border: 0;
}
.footer.style-1 .footer-email .footer-heading-email .email-form .email-input:focus {
  outline: none;
}
.footer.style-1 .footer-email .footer-heading-email .email-form .submit-btn {
  background-color: #ff3d24;
  position: relative;
  overflow: hidden;
  padding: 8px 13px;
  border: 0px;
  cursor: pointer;
}
.footer.style-1 .footer-email .footer-heading-email .email-form .submit-btn:hover .send svg {
  transition: all 0.3s ease;
  animation: rent-footer-sending 0.5s linear 0.3s forwards;
}
.footer.style-1 .footer-content {
  display: flex;
  justify-content: space-between;
}
.footer.style-1 .footer-content .footer-info {
  max-width: 420px;
}
.footer.style-1 .footer-content .footer-info .desp {
  font-size: 18px;
  color: #d3d3d3;
}
.footer.style-1 .footer-content .footer-info .phone {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  font-family: 'Exo 2', sans-serif;
}
.footer.style-1 .footer-content .footer-menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer.style-1 .footer-content .footer-menu .menu-title {
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Exo 2', sans-serif;
}
.footer.style-1 .footer-content .footer-menu a.menu-item {
  color: #d3d3d3;
}
.footer.style-1 .footer-content .footer-address {
  max-width: 223px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer.style-1 .footer-content .footer-address a,
.footer.style-1 .footer-content .footer-address p {
  font-size: 18px;
  color: #d3d3d3;
}
.footer.style-1 .footer-content .footer-address .adress-title {
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Exo 2', sans-serif;
}
.footer.style-1 .copy-right {
  padding: 24px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer.style-1 .copy-right .title {
  font-size: 18px;
  color: #d3d3d3;
}
.footer.style-1 .copy-right .social-icon {
  display: flex;
  gap: 15px;
}
.footer.style-1 .copy-right .social-icon a {
  transition: all 0.5s ease-in-out;
}
.footer.style-1 .copy-right .social-icon a:hover {
  transform: scale(1.2);
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}
.footer.style-1 .copy-right .social-icon path {
  transition: fill 0.3s ease-in-out;
}
.footer.style-1 .copy-right .social-icon :hover path {
  fill: #ff3d24;
}

.primary-color-border {
  width: 100%;
  height: 1px;
  opacity: 0.35;
  background: #ff3d24;
}

/* Hiệu ứng chữ "bay lên" khi hover (text-hover-animaiton) — dùng cho menu footer + copyright */
.text-hover-animaiton {
  line-height: 100%;
  display: inline-block;
}
.text-hover-animaiton.white {
  color: #d3d3d3;
}
.text-hover-animaiton:hover {
  cursor: pointer;
}

/* Icon "gọi ngay" nhấp nháy cạnh số hotline trong footer */
.heartbeat-icon {
  width: 60px;
  height: 60px;
  position: relative;
}
.ak-heartbeat-btn {
  position: absolute;
  z-index: 10;
  cursor: pointer;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 18px 20px 18px 28px;
  display: flex;
  align-items: center;
  background-color: rgba(255, 61, 36, 0.7);
  justify-content: center;
}
.ak-heartbeat-btn:before,
.ak-heartbeat-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(255, 61, 36, 0.7);
}
.ak-heartbeat-btn:before {
  z-index: 0;
  animation: rent-footer-pulse-border 1500ms ease-out infinite;
}
.ak-heartbeat-btn:after {
  z-index: 1;
  transition: all 200ms;
}
.ak-heartbeat-btn img {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
}

/* Spacer utility (.ak-height-*) — chỉ các mức mà footer đang dùng */
@media screen and (min-width: 992px) {
  .ak-height-10 { height: 10px; }
  .ak-height-15 { height: 15px; }
  .ak-height-35 { height: 35px; }
  .ak-height-40 { height: 40px; }
  .ak-height-70 { height: 70px; }
  .ak-height-125 { height: 125px; }
}
@media screen and (max-width: 991px) {
  .ak-height-lg-10 { height: 10px; }
  .ak-height-lg-30 { height: 30px; }
  .ak-height-lg-60 { height: 60px; }
  .ak-height-lg-80 { height: 80px; }
}

@keyframes rent-footer-shimmer {
  0% { background-position: top left; }
  100% { background-position: top right; }
}
@keyframes rent-footer-sending {
  0% { transform: translateY(0); transform: rotate(360deg); }
  50% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); transform: translate(40px, -60px); }
}
@keyframes rent-footer-pulse-border {
  0% { transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1); opacity: 1; }
  100% { transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); opacity: 0; }
}

@media screen and (max-width: 991px) {
  .footer.style-1 .footer-email .background-text {
    transform: translate(0%, 0%);
  }
  .footer.style-1 .footer-email .footer-heading-email {
    flex-direction: column-reverse;
    gap: 30px;
    text-align: center;
  }
  .footer.style-1 .footer-content {
    flex-wrap: wrap;
    gap: 30px;
  }
  .footer.style-1 .footer-content .footer-info {
    max-width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .footer.style-1 .footer-email .footer-heading-email {
    text-align: start;
    align-items: flex-start;
  }
  .footer.style-1 .footer-email .footer-heading-email .email-title {
    font-size: 18px;
  }
  .footer.style-1 .footer-content .footer-info .phone {
    font-size: 32px;
  }
  .footer.style-1 .copy-right {
    flex-direction: column;
  }
}
