@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500&family=Inter:wght@400&family=Plus+Jakarta+Sans:wght@600&display=swap');

:root {
  --primary-color: #102e50;
  --secondary-color: #be3d2a;
  --text-color: #000;
  --heading-color: #d83131;
  --highlight-color: #ff6600;
  --navbar-bg: #102e50;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
}

.navbar {
  background-color: var(--navbar-bg);
  padding: 10px 0;
}

.navbar-brand img {
  max-height: 70px;
}

.nav-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  color: #fff !important;
  text-transform: uppercase;
  margin: 0 10px;
}

.nav-link:hover {
  color: #dd9933 !important;
}

.btn-primary-custom {
  background-color: var(--secondary-color);
  color: #fff;
  border-radius: 12px;
  font-weight: bold;
  padding: 12px 24px;
  border: none;
}

.btn-primary-custom:hover {
  background-color: #a33121;
  color: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title span {
  color: var(--heading-color);
  font-weight: bold;
}

.section-divider {
  width: 150px;
  height: 2px;
  background-color: #e23836;
  margin: 10px auto 30px;
}

.card-custom {
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}

.card-custom img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-custom .card-body {
  padding: 20px;
  text-align: center;
}

.card-custom .card-title {
  color: var(--highlight-color);
  font-size: 1.2rem;
}

/* Banner overlay */
.banner-overlay {
  position: relative;
}

.banner-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.bg-light-custom {
  background-color: #ececec;
}

.footer {
  background-color: #1c1c1c;
  color: #c5c8ca;
  padding: 40px 0;
}

.footer h4 {
  color: #fff;
  margin-bottom: 20px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer a {
  color: #c5c8ca;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.btn-baogia {
  display: inline-block;
  background: #ff2d21;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 25px;
  margin-top: 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.btn-baogia:hover {
  background: #d82319;
}

/* Zalo Contact Button */
.zalo-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99999;
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-decoration: none;
}

.zalo-circle-fill {
  width: 76px;
  height: 76px;
  background-color: rgba(0, 104, 255, 0.25);
  position: absolute;
  top: -8px;
  left: -8px;
  border-radius: 50%;
  animation: zalo-circle-anim 1.6s infinite ease-in-out;
}

.zalo-img-circle {
  width: 60px;
  height: 60px;
  background-color: #0068ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 104, 255, 0.4);
  position: relative;
  transition: transform 0.2s ease;
  animation: zalo-shake-anim 3s infinite ease-in-out;
}

.zalo-img-circle img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.zalo-btn:hover .zalo-img-circle {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 104, 255, 0.6);
}

@keyframes zalo-circle-anim {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.45;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes zalo-shake-anim {

  0%,
  80%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  82% {
    transform: scale(1.08) rotate(-15deg);
  }

  84% {
    transform: scale(1.08) rotate(15deg);
  }

  86% {
    transform: scale(1.08) rotate(-15deg);
  }

  88% {
    transform: scale(1.08) rotate(15deg);
  }

  90% {
    transform: scale(1.08) rotate(0deg);
  }
}

/* Overview list spacing */
.ul-overview {
  padding-left: 20px;
  margin-bottom: 25px;
}

.ul-overview li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.ul-overview li:last-child {
  margin-bottom: 0;
}

/* Popup Image Zoom Hover Effect */
.img-popup {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-popup:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Căn giữa menu và nút hotline theo chiều dọc trên Desktop */
@media (min-width: 992px) {
  .navbar-nav {
    align-items: center !important;
  }
}

/* Mobile Navbar Improvements */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding: 15px 0;
  }

  .navbar-nav .nav-link {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    margin: 5px 0;
    font-size: 1.1rem;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-item.ms-lg-3 {
    margin-top: 15px;
    margin-bottom: 10px;
  }
}

/* Hero Carousel styling & responsive height */
#heroCarousel .carousel-item img {
  height: 80vh !important;
  object-fit: cover !important;
}

@media (max-width: 767.98px) {
  #heroCarousel .carousel-item img {
    height: 40vh !important;
    /* Giảm chiều cao carousel trên giao diện di động */
  }

  /* Thu nhỏ navbar và logo trên mobile */
  .navbar {
    padding: 4px 0 !important;
  }

  .navbar-brand img {
    max-height: 45px !important;
  }
}

/* Mobile Hotline Bar styling */
.mobile-hotline-bar {
  background: linear-gradient(135deg, #ff6600, #d83131);
  padding: 10px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1020;
}

.mobile-hotline-bar .hotline-link {
  color: #fff !important;
  text-decoration: none !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.mobile-hotline-bar .hotline-number {
  color: #ffeb3b;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.phone-icon-pulse {
  background-color: #fff;
  color: #d83131;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  animation: phone-shake-pulse 1.5s infinite ease-in-out;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
}

.mobile-hotline-bar .zalo-badge {
  background-color: #0068ff;
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 50px;
  margin-left: 5px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes phone-shake-pulse {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  25% {
    transform: scale(1.1) rotate(-15deg);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
  }

  50% {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }

  75% {
    transform: scale(1.1) rotate(-15deg);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
}

/* Promo Auto Popup Modal Styling */
.custom-promo-content {
  background-color: #072140 !important;
  /* Dark blue background */
  border: 2px solid #dfb14e !important;
  /* Golden border */
  border-radius: 4px !important;
  position: relative;
}

.btn-close-custom {
  position: absolute;
  top: -15px;
  right: -15px;
  background-color: #000;
  color: #fff;
  border: 2px solid #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1060;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}

.btn-close-custom:hover {
  transform: scale(1.1);
  background-color: #222;
  color: #fff;
}

.modal-title-custom {
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
}

.modal-title-custom .highlight-yellow {
  color: #ffb300;
  /* Golden yellow */
}

.modal-subtitle-custom {
  color: #d1d9e6;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.promo-input {
  background-color: #fff !important;
  color: #333 !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  padding: 12px 16px !important;
  font-size: 1rem !important;
}

.promo-input::placeholder {
  color: #888 !important;
}

.btn-submit-promo {
  background-color: #be3d2a !important;
  /* Red background */
  color: #fff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none !important;
  border-radius: 6px !important;
  padding: 14px 20px !important;
  transition: background-color 0.2s ease, transform 0.1s ease !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-submit-promo:hover {
  background-color: #a33121 !important;
  transform: translateY(-2px);
}

.btn-submit-promo:active {
  transform: translateY(0);
}

.promo-footer-text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #e0e6ed;
}

.promo-footer-text .text-orange {
  color: #ffb300;
  font-weight: 600;
}

.promo-footer-text .text-muted-custom {
  color: #b0c0d2;
  margin-top: 10px;
  font-size: 0.78rem;
}

.promo-footer-text .text-italic-custom {
  text-decoration: underline;
  font-style: italic;
  cursor: pointer;
}

/* Span Highlight Badge Style */
.span-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f60;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 5px 15px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(255, 102, 0, 0.4);
  animation: badge-blink 1.2s infinite ease-in-out;
  text-decoration: none;
}

@keyframes badge-blink {
  0%, 100% {
    background-color: #f60;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.6);
    transform: scale(1);
  }
  50% {
    background-color: #ff3300;
    box-shadow: 0 0 20px rgba(255, 51, 0, 0.9);
    transform: scale(1.08);
  }
}