/* ==============================================
   HERO SLIDER (Yêu cầu 1)
   ============================================== */
.hero-slider {
  width: 100%;
  height: 70vh; /* Điều chỉnh chiều cao theo ý muốn */
  min-height: 450px;
}
.hero-slider .swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero-slider .hero-content {
  background-color: rgba(0, 0, 0, 0.5); /* Lớp phủ mờ để đọc chữ */
  padding: 2rem;
  border-radius: 8px;
  max-width: 90%;
}
.hero-slider .hero-title {
  font-size: 2.5rem; /* Điều chỉnh cho phù hợp */
  color: #fff; /* Đảm bảo tiêu đề trắng */
}
.hero-slider .hero-subtitle {
  color: #eee; /* Đảm bảo phụ đề trắng */
}
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  color: #fff; /* Màu mũi tên */
  opacity: 0.7;
  transition: opacity 0.3s;
}
.hero-slider:hover .swiper-button-next,
.hero-slider:hover .swiper-button-prev {
  opacity: 1;
}
.hero-slider .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
}
.hero-slider .swiper-pagination-bullet-active {
  background: #fff; /* Màu chấm active */
}

/* ==============================================
   SERVICES TABS (Yêu cầu 2)
   ============================================== */
/* Anh cần đảm bảo có class 'container mx-auto' ở section cha */
.service-tab-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem; /* space-x-2 */
  margin-bottom: 2rem; /* mb-8 */
  border-bottom: 2px solid #e5e7eb; /* border-b-2 border-gray-200 */
}
.service-tab-button {
  padding: 0.75rem 1.5rem; /* py-3 px-6 */
  font-weight: 600; /* font-semibold */
  color: #4b5563; /* text-gray-600 */
  border-bottom: 4px solid transparent; /* border-b-4 border-transparent */
  transition: all 0.3s ease;
  margin-bottom: -2px; /* Cho border nằm đè lên border-b chung */
  cursor: pointer;
  background: none;
  border-radius: 0;
}
.service-tab-button:hover {
  color: #2563eb; /* text-blue-600 */
}
.service-tab-button.active {
  color: #2563eb; /* text-blue-600 */
  border-color: #2563eb; /* border-blue-600 */
}

.service-tab-content {
  display: none; /* Ẩn các tab content */
  animation: fadeInUp 0.5s ease-out; /* Dùng keyframes đã có (nếu có) */
}
.service-tab-content.active {
  display: block; /* Hiện tab active */
}
/* Keyframes (nếu chưa có) */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mặc định 1 cột */
  gap: 1.5rem; /* gap-6 */
}
/* Responsive cho grid */
@media (min-width: 768px) {
  .service-detail-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 cột trên desktop */
  }
}

.service-detail-box {
  background-color: #fff; /* bg-white */
  padding: 1.5rem; /* p-6 */
  border-radius: 0.5rem; /* rounded-lg */
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); /* shadow-lg */
  border: 1px solid #f3f4f6; /* border border-gray-100 */
  text-align: center;
  transition: all 0.3s ease;
}
.service-detail-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); /* shadow-xl */
}
.service-detail-box i {
  font-size: 1.875rem; /* text-3xl */
  color: #2563eb; /* text-blue-600 */
  margin-bottom: 1rem; /* mb-4 */
}
.service-detail-box h4 {
  font-size: 1.125rem; /* text-lg */
  font-weight: 600; /* font-semibold */
  margin-bottom: 0.5rem; /* mb-2 */
}

/* ==============================================
   ZALO POPUP ANIMATION (Yêu cầu 4)
   ============================================== */
@keyframes pulse-shake {
  0%, 100% {
    transform: scale(1) rotate(0);
  }
  25% {
    transform: scale(1.1) rotate(-5deg);
  }
  50% {
    transform: scale(1) rotate(0);
  }
  75% {
    transform: scale(1.1) rotate(5deg);
  }
}

/* Class này đã được thêm vào <a> trong default.html */
.zalo-pulse-shake {
  animation: pulse-shake 2.5s infinite ease-in-out;
}
