/**
 * Landing: override link hover màu cam (thay cho xanh mặc định theme).
 */
.layout-wrapper.landing .navbar-landing .nav-link:hover,
.layout-wrapper.landing .navbar-landing .nav-link:focus,
.layout-wrapper.landing .navbar-landing .btn-link:hover,
.layout-wrapper.landing .navbar-landing .btn-link:focus {
  color: #e67e22 !important;
}

.layout-wrapper.landing .navbar-landing .nav-link.active {
  color: #e67e22 !important;
}

/* Nút Gói học và các btn-danger trên landing: bỏ border */
.layout-wrapper.landing .btn.btn-danger {
  border: none;
  box-shadow: none;
}

/* Link trong nội dung section và footer */
.layout-wrapper.landing .section a:not(.btn):hover,
.layout-wrapper.landing .section a:not(.btn):focus,
.layout-wrapper.landing .footer-list a:hover,
.layout-wrapper.landing .footer-list a:focus,
.layout-wrapper.landing .custom-footer a:not(.avatar-title):hover {
  color: #e67e22 !important;
}

/* --- Hero nút Đăng ký: hiệu ứng Gauth — band quét qua BACKGROUND nút --- */

.hero-btn-register-sweep {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: none;
  box-shadow: none;
}

.hero-btn-register-sweep::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.95;
  /* Band màu Gauth quét qua nền nút (nền nút vẫn là btn-primary) */
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 4, 146, 0.95) 35%,
    rgba(255, 100, 4, 0.95) 50%,
    rgba(255, 179, 56, 0.95) 65%,
    transparent 100%
  );
  background-repeat: no-repeat;
  background-size: 220% 100%;
  background-position: 120% 0;
  animation: heroBtnRegisterBgSweep 3.265s linear infinite;
}

.hero-btn-register-sweep .hero-btn-register-content {
  position: relative;
  z-index: 1;
}

/* Quét từ trái sang phải, liền mạch không ngắt */
@keyframes heroBtnRegisterBgSweep {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

/* Hero carousel: khung ảnh tỉ lệ 16:9, giữ nguyên chiều rộng */
.hero-section .demo-carousel .carousel-inner {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-section .demo-carousel .carousel-item {
  height: 100%;
}

.hero-section .demo-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
