.navbar {
  background: linear-gradient(90deg, #eae8ff, #fcfcff) !important;
}

/* Giao diện tab với border cạnh dưới */
.nav-tabs-custom .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  color: #333;
  padding: 8px 16px;
  transition: all 0.2s ease;
}

.nav-tabs-custom .nav-link:hover {
  border-bottom-color: #1a399e !important;
  color: #1a399e !important;
}

.nav-tabs-custom .nav-link.active {
  border-bottom-color: #17a9ff !important;
  /* color: #17a9ff !important; */
  font-weight: 600 !important;
}

.navbar-brand img {
  height: 50px;
}

.breadcrumb-item a,
.card a,
.pagination a {
  text-decoration: none !important;
}

.card {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  background: linear-gradient(90deg, #eae8ff, #fcfcff);
  box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.15) !important;
}

.card .card-title a:hover {
  color: #0d6efd !important;
}

.card .read-more:hover {
  color: #0d6efd !important;
}

.card .ratio {
  overflow: hidden;
}

.card .card-img,
.carousel-item img,
.img-thumbnail,
.wave-card {
  transition: transform 0.3s ease;
}

.card .card-img:hover,
.carousel-item img:hover,
.img-thumbnail:hover,
.wave-card:hover {
  transform: scale(1.1);
}

.card .card-title {
  font-size: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
}

.card .card-date {
  font-style: italic;
}

.card .card-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 3;
}

i.fab,
i.fa-solid,
i.fa-brands {
  font-size: 24px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  vertical-align: middle;
}

/* 🔧 Make phone icon slightly smaller and adjust shake scale */
.phone-cta {
  font-size: 1.5em;
  display: inline-block;
  position: relative;
  top: 15px;
  transform-origin: center;
  animation: phone-shake 1.2s ease-in-out infinite;
}

@keyframes phone-shake {
  0% {
    transform: translateX(0) rotate(0) scale(1.5);
  }

  15% {
    transform: translateX(-4px) rotate(-15deg) scale(1.5);
  }

  30% {
    transform: translateX(4px) rotate(15deg) scale(1.5);
  }

  45% {
    transform: translateX(-4px) rotate(-10deg) scale(1.5);
  }

  60% {
    transform: translateX(4px) rotate(10deg) scale(1.5);
  }

  75% {
    transform: translateX(-2px) rotate(-5deg) scale(1.5);
  }

  100% {
    transform: translateX(0) rotate(0) scale(1.5);
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .phone-cta {
    animation: none;
  }
}

.text-color-logo {
  color: #1a399e !important;
}