/**
 * Hiếu Bike - Trang Cứu hộ xe điện
 * ===================================
 * CSS thuần, responsive, dùng Global Colors của Elementor
 * Prefix: .hb- (Hiếu Bike)
 * Author: James
 * Version: 1.0
 */

/* ===== CSS VARIABLES - ASTRA GLOBAL COLORS ===== */
:root {
  /* ASTRA GLOBAL COLORS MAPPING */
  --hb-primary: var(--ast-global-color-0); /* #3AA6B9 - Primary teal */
  --hb-secondary: var(--ast-global-color-1); /* #2997AA - Darker teal */
  --hb-text: var(--ast-global-color-2); /* #0F172A - Dark slate */
  --hb-text-light: var(--ast-global-color-3); /* #454F5E - Medium gray */
  --hb-bg-light: var(--ast-global-color-4); /* #E9F8F9 - Light teal bg */
  --hb-bg: var(--ast-global-color-5); /* #FFFFFF - White */
  --hb-accent: var(--ast-global-color-6); /* #CAE6E8 - Light accent */
  --hb-dark: var(--ast-global-color-7); /* #181823 - Very dark */
  --hb-gray: var(--ast-global-color-8); /* #222222 - Dark gray */

  /* STATUS COLORS - Custom but harmonized with Astra palette */
  --hb-success: #22c55e; /* Green - kept for status */
  --hb-warning: #f59e0b; /* Orange - kept for alerts */
  --hb-danger: #ef4444; /* Red - kept for errors */

  /* GRAYSCALE SYSTEM - Using Astra colors where possible */
  --hb-white-text: #ffffff; /* White text for dark backgrounds */

  --hb-gray-50: var(--ast-global-color-4); /* #E9F8F9 - Light teal bg */
  --hb-gray-100: var(--ast-global-color-6); /* #CAE6E8 - Light accent */
  --hb-gray-200: #e2e8f0; /* Light gray border */
  --hb-gray-300: #cbd5e1; /* Medium light gray */
  --hb-gray-500: var(--ast-global-color-3); /* #454F5E - Medium gray text */
  --hb-gray-700: var(--ast-global-color-2); /* #0F172A - Dark text */
  --hb-gray-900: var(--ast-global-color-7); /* #181823 - Very dark */

  /* Spacing */
  --hb-spacing-xs: 0.5rem;
  --hb-spacing-sm: 1rem;
  --hb-spacing-md: 1.5rem;
  --hb-spacing-lg: 2rem;
  --hb-spacing-xl: 3rem;
  --hb-spacing-2xl: 4rem;

  /* Border radius */
  --hb-radius-sm: 0.375rem;
  --hb-radius-md: 0.5rem;
  --hb-radius-lg: 0.75rem;
  --hb-radius-xl: 1rem;

  /* Shadows */
  --hb-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --hb-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
  --hb-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --hb-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Typography - Responsive font sizes */
  --hb-text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --hb-text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --hb-text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --hb-text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --hb-text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --hb-text-2xl: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);
  --hb-text-3xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.25rem);
  --hb-text-4xl: clamp(2.25rem, 1.9rem + 1.75vw, 3rem);
  --hb-text-5xl: clamp(3rem, 2.5rem + 2.5vw, 3.75rem);
}

/* ===== RESET & BASE STYLES ===== */
.hb-scope {
  /* Reset trong scope để không ảnh hưởng Elementor */
  box-sizing: border-box;
  line-height: 1.6;
  color: var(--hb-text);
  font-family: inherit; /* Lấy font từ Elementor Global Typography */
}

.hb-scope *,
.hb-scope *::before,
.hb-scope *::after {
  box-sizing: inherit;
}

.hb-scope img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hb-scope a {
  color: var(--hb-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.hb-scope a:hover,
.hb-scope a:focus {
  color: var(--hb-secondary);
  outline: 2px solid var(--hb-primary);
  outline-offset: 2px;
}

/* ===== CONTAINER SYSTEM ===== */
.hb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--hb-spacing-md);
}

@media (max-width: 1024px) {
  .hb-container {
    padding: 0 var(--hb-spacing-sm);
  }
}

/* ===== TYPOGRAPHY ===== */
.hb-heading-1 {
  font-size: var(--hb-text-4xl);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--hb-spacing-lg) 0;
  color: var(--hb-text);
}

.hb-heading-2 {
  font-size: var(--hb-text-3xl);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--hb-spacing-md) 0;
  color: var(--hb-text);
  position: relative;
}

/* ✨ Gạch dưới cho các title lớn (trừ hero) ✨ */
.hb-heading-2.hb-text-center::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--hb-primary), var(--hb-secondary));
  border-radius: var(--hb-radius-md);
  transition: transform 0.6s ease-out 0.3s;
}

/* Animation khi section được trigger */
.hb-animate .hb-heading-2.hb-text-center::after {
  transform: translateX(-50%) scaleX(1);
}

.hb-heading-3 {
  font-size: var(--hb-text-2xl);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 var(--hb-spacing-sm) 0;
  color: var(--hb-text);
  position: relative;
}

/* ✨ Gạch dưới cho heading-3 khi center ✨ */
.hb-heading-3.hb-text-center::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, var(--hb-primary), var(--hb-secondary));
  border-radius: var(--hb-radius-md);
  transition: transform 0.6s ease-out 0.3s;
}

/* Animation khi section được trigger */
.hb-animate .hb-heading-3.hb-text-center::after {
  transform: translateX(-50%) scaleX(1);
}

.hb-text-large {
  font-size: var(--hb-text-lg);
  line-height: 1.6;
}

.hb-text-small {
  font-size: var(--hb-text-sm);
  color: var(--hb-text-light);
}

/* ===== BUTTONS ===== */
.hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--hb-spacing-xs);
  padding: var(--hb-spacing-sm) var(--hb-spacing-lg);
  font-size: var(--hb-text-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--hb-radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px; /* A11y touch target */

  /* ✨ Enhanced button animation ✨ */
  position: relative;
  overflow: hidden;
}

/* ✨ Button ripple effect ✨ */
.hb-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hb-btn:hover::before {
  width: 300px;
  height: 300px;
}

.hb-btn * {
  position: relative;
  z-index: 1;
}

.hb-btn-primary {
  background: var(--hb-primary);
  color: var(--hb-bg) !important;
}

.hb-btn-primary:hover,
.hb-btn-primary:focus {
  background: var(--hb-secondary);
  color: var(--hb-bg) !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--hb-shadow-xl);

  /* ✨ Glow effect ✨ */
  box-shadow: 0 8px 25px rgba(58, 166, 185, 0.4),
    0 0 20px rgba(58, 166, 185, 0.3);
}

.hb-btn-secondary {
  background: transparent;
  color: var(--hb-primary);
  border: 2px solid var(--hb-primary);
}

.hb-btn-secondary:hover,
.hb-btn-secondary:focus {
  background: var(--hb-primary);
  color: var(--hb-bg) !important;
}

.hb-btn-success {
  background: var(--hb-success);
  color: var(--hb-bg) !important;
}

.hb-btn-success:hover,
.hb-btn-success:focus {
  /* background: #16a34a; */
  color: var(--hb-bg) !important;
  filter: brightness(1.05);
}

.hb-btn-large {
  padding: var(--hb-spacing-md) var(--hb-spacing-xl);
  font-size: var(--hb-text-lg);
  min-height: 52px;
}

/* ===== HERO SECTION ===== */
.hb-hero {
  background-image: url("../img/analyst\ the\ error.png");
  color: white;
  /* Thay vì padding ở .hb-hero-> không padding hoặc padding ít */
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover; /* scale cho vừa, có thể crop */
  background-position: center; /* crop từ chính giữa */
  background-repeat: no-repeat; /* không lặp */

  /* Đặt 70vh khi ở trên desktop */
  display: flex;
  align-items: stretch;
  height: 70vh;

  /* ✨ Modern Animation Effects ✨ */
  animation: heroFadeIn 1.2s ease-out;
  background-attachment: fixed; /* Parallax effect */
}

.hb-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(58, 166, 185, 0.9) 0%,
    rgba(41, 151, 170, 0.9) 100%
  );
  opacity: 0.45;

  /* ✨ Animated overlay ✨ */
  animation: overlayPulse 4s ease-in-out infinite alternate;
}

/* Đặt hb-container height 100% */
.hb-hero .hb-container {
  height: 100%;
  display: flex;
  align-items: stretch;
}

/* hb-hero-content: với height 100% + Display flex và đặt justify content = space-around/evenly */
.hb-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;

  /* Display flex và đặt justify content = space-evenly thay thế cho việc padding ở hb hero */
  display: flex;
  flex-direction: column;
  justify-content: space-evenly; 
  align-items: center;
}

.hb-hero-title {
  text-transform: uppercase;
  font-size: var(--hb-text-5xl);
  font-weight: 700;
  margin-bottom: var(--hb-spacing-sm) !important ;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--hb-white-text);

  /* ✨ Slide up animation ✨ */
  animation: slideUpFade 1s ease-out 0.3s both;
}

.hb-hero-subtitle {
  font-size: var(--hb-text-xl);
  line-height: 2rem;
  margin-bottom: var(--hb-spacing-md);
  opacity: 0.95;

  /* ✨ Slide up animation with delay ✨ */
  animation: slideUpFade 1s ease-out 0.6s both;
}

.hb-hero-features {
  display: flex;
  justify-content: center;
  gap: var(--hb-spacing-lg);
  margin: var(--hb-spacing-sm) 0;
  flex-wrap: wrap;

  /* ✨ Staggered animation ✨ */
  animation: slideUpFade 1s ease-out 0.9s both;
}

.hb-hero-feature {
  display: flex;
  align-items: center;
  gap: var(--hb-spacing-xs);
  font-size: var(--hb-text-base);
  font-weight: 500;

  /* ✨ Hover effect ✨ */
  transition: transform 0.3s ease, color 0.3s ease;
}

.hb-hero-feature:hover {
  transform: translateY(-2px) scale(1.05);
  color: var(--hb-accent);
}

.hb-hero-feature i {
  font-size: var(--hb-text-lg);
  color: var(--hb-success);

  /* ✨ Icon pulse animation ✨ */
  animation: iconPulse 2s ease-in-out infinite;
}

.hb-hero-cta {
  display: flex;
  gap: var(--hb-spacing-md);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
/*   margin-top: var(--hb-spacing-xl); */

  /* Điều chỉnh padding để hiển thị 2 nút trên 1 dòng */
  padding: 0 var(--hb-spacing-sm);

  /* ✨ Final animation ✨ */
  animation: slideUpFade 1s ease-out 1.2s both;
}

.hb-hero-hotline {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: var(--hb-spacing-md) var(--hb-spacing-lg);
  border-radius: var(--hb-radius-lg);
  color: var(--hb-bg) !important;
  font-weight: 600;
  font-size: var(--hb-text-lg);
  transition: all 0.3s ease;

  /* Tối ưu cho responsive */
  min-width: 180px;
  text-align: center;

  /* ✨ Enhanced glass morphism ✨ */
  position: relative;
  overflow: hidden;
}

.hb-hero-hotline::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: transform 0.6s ease;
}

.hb-hero-hotline:hover::before {
  transform: rotate(45deg) translate(50%, 50%);
}

.hb-hero-hotline:hover,
.hb-hero-hotline:focus {
  background: rgba(255, 255, 255, 0.3);
  color: var(--hb-bg) !important;
  transform: translateY(-3px) scale(1.02);

  /* ✨ Enhanced glow ✨ */
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2),
    0 0 20px rgba(255, 255, 255, 0.1);
}

/* ===== HIGHLIGHTS SECTION ===== */
.hb-highlights {
  padding: var(--hb-spacing-2xl) 0;
  background: var(--hb-bg-light);

  /* ✨ Section animation - starts hidden ✨ */
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

/* ✨ Animation trigger class ✨ */
.hb-highlights.hb-animate {
  opacity: 1;
  transform: translateY(0);
}
.hb-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--hb-spacing-lg);
  margin-top: var(--hb-spacing-xl);
}

.hb-highlight-card {
  background: var(--hb-bg) !important;
  padding: var(--hb-spacing-xl);
  border-radius: var(--hb-radius-lg);
  text-align: center;
  box-shadow: var(--hb-shadow-md);
  transition: all 0.3s ease;
  border-top: 4px solid var(--hb-primary);

  /* ✨ Card animation - starts hidden ✨ */
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

/* ✨ Animation trigger for cards ✨ */
.hb-highlights.hb-animate .hb-highlight-card:nth-child(1) {
  transition-delay: 0.1s;
}
.hb-highlights.hb-animate .hb-highlight-card:nth-child(2) {
  transition-delay: 0.2s;
}
.hb-highlights.hb-animate .hb-highlight-card:nth-child(3) {
  transition-delay: 0.3s;
}
.hb-highlights.hb-animate .hb-highlight-card:nth-child(4) {
  transition-delay: 0.4s;
}

.hb-highlights.hb-animate .hb-highlight-card {
  opacity: 1;
  transform: translateY(0);
}

.hb-highlight-card:hover {
  transform: translateY(-8px) rotateX(5deg);
  box-shadow: var(--hb-shadow-xl);

  /* ✨ Card glow effect ✨ */
  box-shadow: 0 20px 40px rgba(58, 166, 185, 0.15),
    0 0 20px rgba(58, 166, 185, 0.1);
}

.hb-highlight-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--hb-primary), var(--hb-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--hb-spacing-md);
  color: var(--hb-bg) !important;
  font-size: var(--hb-text-2xl);

  /* ✨ Icon animation ✨ */
  position: relative;
  overflow: hidden;
  animation: iconFloat 3s ease-in-out infinite;
}

.hb-highlight-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: iconSpin 4s linear infinite;
}

.hb-highlight-card:hover .hb-highlight-icon {
  transform: scale(1.1) rotateY(180deg);
  animation-play-state: paused;
}

.hb-highlight-title {
  font-size: var(--hb-text-xl);
  font-weight: 600;
  margin-bottom: var(--hb-spacing-sm);
  color: var(--hb-text);
}

.hb-highlight-desc {
  color: var(--hb-text-light);
  line-height: 1.6;
}

/* ===== SERVICES SECTION ===== */
.hb-services {
  padding: var(--hb-spacing-2xl) 0;
  background: var(--hb-bg) !important;

  /* ✨ Section animation - starts hidden ✨ */
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

/* ✨ Animation trigger class ✨ */
.hb-services.hb-animate {
  opacity: 1;
  transform: translateY(0);
}

.hb-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--hb-spacing-lg);
  margin-top: var(--hb-spacing-xl);
}

.hb-service-card {
  background: var(--hb-bg) !important;
  border-radius: var(--hb-radius-lg);
  overflow: hidden;
  box-shadow: var(--hb-shadow-md);
  transition: all 0.4s ease;
  border: 1px solid var(--hb-accent);
  display: flex;
  flex-direction: column;

  /* ✨ Service card animation - starts hidden ✨ */
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

/* ✨ Animation trigger for service cards ✨ */
.hb-services.hb-animate .hb-service-card:nth-child(1) {
  transition-delay: 0.1s;
}
.hb-services.hb-animate .hb-service-card:nth-child(2) {
  transition-delay: 0.2s;
}
.hb-services.hb-animate .hb-service-card:nth-child(3) {
  transition-delay: 0.3s;
}
.hb-services.hb-animate .hb-service-card:nth-child(4) {
  transition-delay: 0.4s;
}

.hb-services.hb-animate .hb-service-card {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

.hb-service-card:hover {
  transform: translateY(-10px) scale(1.02) rotateX(-2deg);
  box-shadow: var(--hb-shadow-xl);
  border-color: var(--hb-primary);

  /* ✨ Service card glow ✨ */
  box-shadow: 0 25px 50px rgba(58, 166, 185, 0.2),
    0 0 30px rgba(58, 166, 185, 0.1);
}

.hb-service-header {
  background: linear-gradient(135deg, var(--hb-primary), var(--hb-secondary));
  color: var(--hb-bg) !important;
  padding: var(--hb-spacing-lg);
  text-align: center;

  /* ✨ Header animation ✨ */
  position: relative;
  overflow: hidden;
}

.hb-service-header::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: shimmer 3s ease-in-out infinite;
}

.hb-service-icon {
  font-size: var(--hb-text-3xl);
  margin-bottom: var(--hb-spacing-sm);

  /* ✨ Icon bounce effect ✨ */
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
}

.hb-service-title {
  color: var(--hb-white-text);
  font-size: var(--hb-text-lg);
  font-weight: 600;
  margin-bottom: var(--hb-spacing-xs);
}

.hb-service-price {
  font-size: var(--hb-text-lg);
  font-weight: 700;
  opacity: 0.9;
}

.hb-service-body {
  padding: var(--hb-spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hb-service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--hb-spacing-lg) 0;
}

.hb-service-features li {
  padding: var(--hb-spacing-xs) 0;
  display: flex;
  align-items: center;
  gap: var(--hb-spacing-xs);
}

.hb-service-features li::before {
  content: "✓";
  color: var(--hb-success);
  font-weight: bold;
  font-size: var(--hb-text-lg);
}

/* ===== PROCESS SECTION ===== */
.hb-process {
  padding: var(--hb-spacing-2xl) 0;
  background: var(--hb-bg-light);

  /* ✨ Section animation - starts hidden ✨ */
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

/* ✨ Animation trigger class ✨ */
.hb-process.hb-animate {
  opacity: 1;
  transform: translateY(0);
}

.hb-process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--hb-spacing-lg);
  margin-top: var(--hb-spacing-xl);
  position: relative;
}

.hb-process-step {
  background: var(--hb-bg) !important;
  padding: var(--hb-spacing-xl);
  border-radius: var(--hb-radius-lg);
  text-align: center;
  box-shadow: var(--hb-shadow-md);
  position: relative;

  /* ✨ Process step animation - starts hidden ✨ */
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.8s ease-out;
}

/* ✨ Animation trigger for process steps ✨ */
.hb-process.hb-animate .hb-process-step:nth-child(1) {
  transition-delay: 0.1s;
}
.hb-process.hb-animate .hb-process-step:nth-child(2) {
  transition-delay: 0.2s;
}
.hb-process.hb-animate .hb-process-step:nth-child(3) {
  transition-delay: 0.3s;
}
.hb-process.hb-animate .hb-process-step:nth-child(4) {
  transition-delay: 0.4s;
}

.hb-process.hb-animate .hb-process-step {
  opacity: 1;
  transform: scale(1);
}

.hb-process-step:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--hb-shadow-xl);
}

.hb-process-number {
  width: 60px;
  height: 60px;
  background: var(--hb-primary);
  color: var(--hb-bg) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--hb-text-xl);
  font-weight: 700;
  margin: 0 auto var(--hb-spacing-md);
  position: relative;
  z-index: 2;

  /* ✨ Process number animation ✨ */
  animation: iconFloat 2s ease-in-out infinite;
}

.hb-process-number::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid var(--hb-primary);
  border-radius: 50%;
  opacity: 0;
  animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.hb-process-title {
  font-size: var(--hb-text-lg);
  font-weight: 600;
  margin-bottom: var(--hb-spacing-sm);
  color: var(--hb-text);
}

.hb-process-desc {
  color: var(--hb-text-light);
  line-height: 1.6;
}

/* ===== PRICING SECTION ===== */
.hb-pricing {
  padding: var(--hb-spacing-2xl) 0;
  background: var(--hb-bg) !important;
}

.hb-pricing-table {
  overflow-x: auto;
  margin-top: var(--hb-spacing-xl);
  border-radius: var(--hb-radius-lg);
  box-shadow: var(--hb-shadow-lg);
}

.hb-pricing-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--hb-bg) !important;
}

.hb-pricing-table th,
.hb-pricing-table td {
  padding: var(--hb-spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--hb-accent);
}

.hb-pricing-table th {
  background: var(--hb-primary);
  color: var(--hb-bg) !important;
  font-weight: 600;
  text-align: center;
}

.hb-pricing-table td:first-child {
  font-weight: 600;
  color: var(--hb-text);
  background: var(--hb-bg-light);
}

.hb-pricing-table td:not(:first-child) {
  text-align: center;
  font-weight: 500;
}

.hb-price-highlight {
  color: var(--hb-primary);
  font-weight: 700;
  font-size: var(--hb-text-lg);
}

.hb-pricing-note {
  margin-top: var(--hb-spacing-lg);
  padding: var(--hb-spacing-md);
  background: var(--hb-bg-light);
  border-radius: var(--hb-radius-md);
  border-left: 4px solid var(--hb-warning);
}

.hb-pricing-note p {
  margin: 0;
  color: var(--hb-text-light);
  font-size: var(--hb-text-sm);
}

/* ===== FAQ SECTION ===== */
.hb-faq {
  padding: var(--hb-spacing-2xl) 0;
  background: var(--hb-bg-light);

  /* ✨ Section animation - starts hidden ✨ */
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

/* ✨ Animation trigger class ✨ */
.hb-faq.hb-animate {
  opacity: 1;
  transform: translateX(0);
}

.hb-faq-list {
  margin-top: var(--hb-spacing-xl);
  /* max-width: 800px;   */
  margin-left: auto;
  margin-right: auto;
}

.hb-faq-item {
  background: var(--hb-bg) !important;
  border-radius: var(--hb-radius-md);
  margin-bottom: var(--hb-spacing-md);
  box-shadow: var(--hb-shadow-sm);
  overflow: hidden;

  /* ✨ FAQ item animation - starts hidden ✨ */
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

/* ✨ Animation trigger for FAQ items ✨ */
.hb-faq.hb-animate .hb-faq-item:nth-child(1) {
  transition-delay: 0.1s;
}
.hb-faq.hb-animate .hb-faq-item:nth-child(2) {
  transition-delay: 0.2s;
}
.hb-faq.hb-animate .hb-faq-item:nth-child(3) {
  transition-delay: 0.3s;
}
.hb-faq.hb-animate .hb-faq-item:nth-child(4) {
  transition-delay: 0.4s;
}
.hb-faq.hb-animate .hb-faq-item:nth-child(5) {
  transition-delay: 0.5s;
}

.hb-faq.hb-animate .hb-faq-item {
  opacity: 1;
  transform: translateX(0);
}

.hb-faq-item:hover {
  transform: translateX(5px);
  box-shadow: var(--hb-shadow-md);
}

.hb-faq-question {
  width: 100%;
  padding: var(--hb-spacing-lg);
  background: none;
  border: none;
  text-align: left;
  font-size: var(--hb-text-lg);
  font-weight: 600;
  color: var(--hb-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.hb-faq-question:hover,
.hb-faq-question:focus {
  background: var(--hb-bg-light);
  color: var(--hb-primary);
  outline: 2px solid var(--hb-primary);
  outline-offset: -2px;
}

.hb-faq-icon {
  font-size: var(--hb-text-xl);
  transition: transform 0.3s ease;

  /* ✨ Icon rotation animation ✨ */
  display: inline-block;
}

.hb-faq-item.active .hb-faq-icon {
  transform: rotate(45deg) scale(1.1);
  color: var(--hb-primary);
}

.hb-faq-answer {
  padding: 0 var(--hb-spacing-lg) var(--hb-spacing-lg);
  color: var(--hb-text-light);
  line-height: 1.6;
  display: none;

  /* ✨ Enhanced answer animation ✨ */
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease;
}

.hb-faq-item.active .hb-faq-answer {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: slideDownFade 0.4s ease-out;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ✨ MODERN ANIMATION KEYFRAMES ✨ ===== */

/* Hero section animations */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes overlayPulse {
  0% {
    opacity: 0.45;
  }
  100% {
    opacity: 0.65;
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Section animations */
@keyframes sectionFadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Icon animations */
@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes iconSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Loading animations */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes bounce {
  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translateY(0);
  }
  40%,
  43% {
    transform: translateY(-15px);
  }
  70% {
    transform: translateY(-7px);
  }
  90% {
    transform: translateY(-3px);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes flipInY {
  from {
    opacity: 0;
    transform: perspective(400px) rotateY(90deg);
  }
  to {
    opacity: 1;
    transform: perspective(400px) rotateY(0deg);
  }
}

/* ===== CONTACT SECTION ===== */
.hb-contact {
  padding: var(--hb-spacing-2xl) 0;
  background: var(--hb-bg) !important;

  /* ✨ Section animation - starts hidden ✨ */
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

/* ✨ Animation trigger class ✨ */
.hb-contact.hb-animate {
  opacity: 1;
  transform: translateX(0);
}

.hb-contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hb-spacing-2xl);
  margin-top: var(--hb-spacing-xl);
}

.hb-contact-info h3 {
  font-size: var(--hb-text-2xl);
  font-weight: 600;
  margin-bottom: var(--hb-spacing-lg);
  color: var(--hb-text);
}

.hb-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--hb-spacing-md);
  margin-bottom: var(--hb-spacing-lg);
  padding: var(--hb-spacing-md);
  background: var(--hb-bg-light);
  border-radius: var(--hb-radius-md);

  /* ✨ Contact item animation - starts hidden ✨ */
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

/* ✨ Animation trigger for contact items ✨ */
.hb-contact.hb-animate .hb-contact-item:nth-child(1) {
  transition-delay: 0.1s;
}
.hb-contact.hb-animate .hb-contact-item:nth-child(2) {
  transition-delay: 0.2s;
}
.hb-contact.hb-animate .hb-contact-item:nth-child(3) {
  transition-delay: 0.3s;
}

.hb-contact.hb-animate .hb-contact-item {
  opacity: 1;
  transform: translateX(0);
}

.hb-contact-item:hover {
  transform: translateX(10px) scale(1.02);
  background: var(--hb-accent);
  box-shadow: var(--hb-shadow-md);
}

.hb-contact-icon {
  width: 50px;
  height: 50px;
  background: var(--hb-primary);
  color: var(--hb-bg) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--hb-text-lg);
  flex-shrink: 0;

  /* ✨ Contact icon animation ✨ */
  position: relative;
  animation: iconPulse 3s ease-in-out infinite;
}

.hb-contact-item:hover .hb-contact-icon {
  animation-play-state: paused;
  transform: rotate(360deg) scale(1.1);
}

.hb-contact-details h4 {
  font-size: var(--hb-text-lg);
  font-weight: 600;
  margin-bottom: var(--hb-spacing-xs);
  color: var(--hb-text);
}

.hb-contact-details p {
  margin: 0;
  color: var(--hb-text-light);
}

.hb-contact-details a {
  color: var(--hb-primary);
  font-weight: 600;
}

.hb-contact-form {
  background: var(--hb-bg-light);
  padding: var(--hb-spacing-xl);
  border-radius: var(--hb-radius-lg);
}

.hb-contact-form h3 {
  font-size: var(--hb-text-2xl);
  font-weight: 600;
  margin-bottom: var(--hb-spacing-lg);
  color: var(--hb-text);
  text-align: center;
}

.hb-form-group {
  margin-bottom: var(--hb-spacing-lg);
}

.hb-form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--hb-spacing-xs);
  color: var(--hb-text);
}

.hb-form-input,
.hb-form-textarea,
.hb-form-select {
  width: 100%;
  padding: var(--hb-spacing-sm);
  border: 2px solid var(--hb-accent);
  border-radius: var(--hb-radius-md);
  font-size: var(--hb-text-base);
  transition: border-color 0.3s ease;
  background: var(--hb-bg) !important;
}

.hb-form-input:focus,
.hb-form-textarea:focus,
.hb-form-select:focus {
  outline: none;
  border-color: var(--hb-primary);
  box-shadow: 0 0 0 3px rgba(4, 107, 210, 0.1);
}

.hb-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.hb-form-submit {
  width: 100%;
  margin-top: var(--hb-spacing-md);
}

/* ===== STICKY CTA ===== */
.hb-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--hb-primary);
  color: var(--hb-bg) !important;
  padding: var(--hb-spacing-md);
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease;

  /* ✨ Sticky CTA animation ✨ */
  animation: slideUpBounce 0.8s ease-out;
}

.hb-sticky-cta.visible {
  transform: translateY(0);
  animation: slideUpBounce 0.8s ease-out;
}

@keyframes slideUpBounce {
  0% {
    transform: translateY(100%);
  }
  60% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.hb-sticky-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: var(--hb-spacing-md);
}

.hb-sticky-text {
  font-weight: 600;
  font-size: var(--hb-text-lg);
}

.hb-sticky-actions {
  display: flex;
  gap: var(--hb-spacing-sm);
}

.hb-sticky-btn {
  background: var(--hb-bg) !important;
  color: var(--hb-primary);
  padding: var(--hb-spacing-xs) var(--hb-spacing-md);
  border-radius: var(--hb-radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;

  /* ✨ Sticky button animation ✨ */
  position: relative;
  overflow: hidden;
}

.hb-sticky-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(58, 166, 185, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.hb-sticky-btn:hover::before {
  left: 100%;
}

.hb-sticky-btn:hover,
.hb-sticky-btn:focus {
  background: var(--hb-bg-light);
  color: var(--hb-primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(58, 166, 185, 0.3);
}

.hb-sticky-close {
  background: none;
  border: none;
  color: var(--hb-bg) !important;
  font-size: var(--hb-text-xl);
  cursor: pointer;
  padding: var(--hb-spacing-xs);
  margin-left: var(--hb-spacing-sm);
  opacity: 0.7;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px;
}

.hb-sticky-close:hover,
.hb-sticky-close:focus {
  opacity: 1;
  outline: 2px solid var(--hb-bg) !important;
  outline-offset: 2px;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 1024px) {
  /* Tablet - Giữ lại UI ban đầu */
  .hb-hero {
    height: 65vh;
  }

  .hb-hero-features {
    gap: var(--hb-spacing-md);
  }

  .hb-hero-cta {
    gap: var(--hb-spacing-sm);
    padding: 0 var(--hb-spacing-xs);
  }

  /* Tối ưu button cho tablet */
  .hb-btn-large {
    padding: var(--hb-spacing-sm) var(--hb-spacing-lg);
    font-size: var(--hb-text-base);
    min-width: 160px;
  }

  .hb-hero-hotline {
    padding: var(--hb-spacing-sm) var(--hb-spacing-md);
    font-size: var(--hb-text-base);
    min-width: 160px;
  }

  .hb-highlights-grid,
  .hb-services-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--hb-spacing-md);
  }

  .hb-process-steps {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .hb-contact-content {
    grid-template-columns: 1fr;
    gap: var(--hb-spacing-xl);
  }

  .hb-sticky-content {
    flex-direction: column;
    text-align: center;
  }

  .hb-sticky-actions {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  /* Mobile - Cải thiện theo yêu cầu */
  .hb-hero {
    padding: var(--hb-spacing-lg) 0;
    min-height: 45vh;
    max-height: 70vh;
  }

  .hb-hero-title {
    font-size: var(--hb-text-3xl);
    margin-bottom: var(--hb-spacing-sm);
  }

  .hb-hero-subtitle {
    font-size: var(--hb-text-lg);
    margin-bottom: var(--hb-spacing-md);
  }

  /* Mobile: hb-hero-features -> display flex, direction: row */
  .hb-hero-features {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--hb-spacing-sm);
    margin: var(--hb-spacing-md) 0;
  }

  .hb-hero-feature {
    flex: 0 1 auto;
    font-size: var(--hb-text-sm);
    white-space: nowrap;
  }

  .hb-hero-feature i {
    font-size: var(--hb-text-base);
  }

  /* Button CTA: Điều chỉnh để 2 nút trên 1 dòng */
  .hb-hero-cta {
    display: flex;
    flex-direction: row;
    gap: var(--hb-spacing-xs);
    justify-content: center;
    align-items: stretch;
    margin-top: var(--hb-spacing-md);
    padding: 0 var(--hb-spacing-sm);
  }

  .hb-btn-large {
    flex: 1;
    padding: var(--hb-spacing-sm) var(--hb-spacing-xs);
    font-size: var(--hb-text-sm);
    min-width: auto;
    max-width: 45%;
  }

  .hb-hero-hotline {
    flex: 1;
    padding: var(--hb-spacing-sm) var(--hb-spacing-xs);
    font-size: var(--hb-text-sm);
    min-width: auto;
    max-width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--hb-spacing-xs);
  }

  .hb-highlights-grid,
  .hb-services-grid,
  .hb-process-steps {
    grid-template-columns: 1fr;
    gap: var(--hb-spacing-md);
  }

  .hb-highlight-card,
  .hb-service-card,
  .hb-process-step {
    padding: var(--hb-spacing-lg);
  }

  .hb-pricing-table {
    font-size: var(--hb-text-sm);
  }

  .hb-pricing-table th,
  .hb-pricing-table td {
    padding: var(--hb-spacing-sm);
  }

  .hb-faq-question {
    font-size: var(--hb-text-base);
    padding: var(--hb-spacing-md);
  }

  .hb-faq-answer {
    padding: 0 var(--hb-spacing-md) var(--hb-spacing-md);
  }

  .hb-contact-form {
    padding: var(--hb-spacing-lg);
  }

  .hb-sticky-content {
    padding: 0 var(--hb-spacing-sm);
  }

  .hb-sticky-text {
    font-size: var(--hb-text-base);
  }

  .hb-sticky-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* Mobile Extra Small */
  .hb-container {
    padding: 0 var(--hb-spacing-xs);
  }

  .hb-hero {
    padding: var(--hb-spacing-md) 0;
    min-height: 40vh;
    height: 70vh;
  }

  .hb-hero-title {
    font-size: var(--hb-text-2xl);
    margin-bottom: var(--hb-spacing-xs);
  }

  .hb-hero-subtitle {
    font-size: var(--hb-text-base);
    line-height: 1.5;
    margin-bottom: var(--hb-spacing-sm);
  }

  /* Tối ưu hơn nữa cho màn hình siêu nhỏ */
  .hb-hero-features {
    gap: var(--hb-spacing-xs);
    margin: var(--hb-spacing-sm) 0;
  }

  .hb-hero-feature {
    font-size: var(--hb-text-xs);
  }

  .hb-hero-feature i {
    font-size: var(--hb-text-sm);
  }

  /* CTA buttons cho màn hình siêu nhỏ */
  .hb-hero-cta {
    gap: 6px;
    margin-top: var(--hb-spacing-sm);
    padding: 0;
    width: 100%;
  }
  .hb-hero-cta a {
    flex: 1;
    padding: 0;
  }

  .hb-btn-large {
    padding: 10px 8px;
    font-size: var(--hb-text-xs);
    max-width: 48%;
  }

  .hb-hero-hotline {
    padding: 10px 8px;
    font-size: var(--hb-text-xs);
    max-width: 48%;
  }

  .hb-hero-hotline i,
  .hb-btn-large i {
    font-size: var(--hb-text-sm);
  }

  .hb-heading-2 {
    font-size: var(--hb-text-2xl);
  }

  .hb-heading-3 {
    font-size: var(--hb-text-xl);
  }

  .hb-btn {
    padding: var(--hb-spacing-sm) var(--hb-spacing-md);
    font-size: var(--hb-text-sm);
  }

  .hb-sticky-actions {
    flex-direction: column;
    width: 100%;
  }

  .hb-sticky-btn {
    text-align: center;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .hb-scope *,
  .hb-scope *::before,
  .hb-scope *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ✨ Reduced motion class for performance optimization ✨ */
.hb-reduced-motion * {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

/* ✨ Debug mode styles ✨ */
.hb-debug-mode .hb-highlights,
.hb-debug-mode .hb-services,
.hb-debug-mode .hb-process,
.hb-debug-mode .hb-faq,
.hb-debug-mode .hb-contact {
  outline: 2px dashed var(--hb-primary);
  outline-offset: 5px;
}

.hb-debug-mode .hb-highlights.hb-animate,
.hb-debug-mode .hb-services.hb-animate,
.hb-debug-mode .hb-process.hb-animate,
.hb-debug-mode .hb-faq.hb-animate,
.hb-debug-mode .hb-contact.hb-animate {
  outline-color: var(--hb-success);
}

/* Focus visible for better keyboard navigation */
.hb-scope :focus-visible {
  outline: 2px solid var(--hb-primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hb-scope {
    --hb-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.8);
    --hb-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.8);
    --hb-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.8);
    --hb-shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.8);
  }

  .hb-highlight-card,
  .hb-service-card,
  .hb-process-step,
  .hb-faq-item {
    border: 2px solid var(--hb-text);
  }
}

/* ===== LOADING STATES ===== */
.hb-loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.hb-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--hb-primary);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .hb-sticky-cta,
  .hb-hero-cta,
  .hb-contact-form {
    display: none !important;
  }

  .hb-scope {
    color: var(--hb-dark) !important;
    background: var(--hb-bg) !important;
  }

  .hb-scope a {
    color: var(--hb-dark) !important;
    text-decoration: underline !important;
  }

  .hb-hero {
    background: var(--hb-bg) !important;
    color: var(--hb-dark) !important;
    border: 2px solid var(--hb-dark);
  }
}

/* ===== UTILITY CLASSES ===== */
.hb-text-center {
  text-align: center;
}
.hb-text-left {
  text-align: left;
}
.hb-text-right {
  text-align: right;
}

.hb-mb-0 {
  margin-bottom: 0;
}
.hb-mb-sm {
  margin-bottom: var(--hb-spacing-sm);
}
.hb-mb-md {
  margin-bottom: var(--hb-spacing-md);
}
.hb-mb-lg {
  margin-bottom: var(--hb-spacing-lg);
}

.hb-mt-0 {
  margin-top: 0;
}
.hb-mt-sm {
  margin-top: var(--hb-spacing-sm);
}
.hb-mt-md {
  margin-top: var(--hb-spacing-md);
}
.hb-mt-lg {
  margin-top: var(--hb-spacing-lg);
}

.hb-hidden {
  display: none;
}
.hb-visible {
  display: block;
}

/* Screen reader only */
.hb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== ✨ ANIMATION UTILITY CLASSES ✨ ===== */
.hb-animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.hb-animate-slide-up {
  animation: slideUpFade 0.6s ease-out forwards;
}

.hb-animate-slide-left {
  animation: slideInLeft 0.6s ease-out forwards;
}

.hb-animate-slide-right {
  animation: slideInRight 0.6s ease-out forwards;
}

.hb-animate-zoom-in {
  animation: zoomIn 0.6s ease-out forwards;
}

.hb-animate-bounce {
  animation: bounce 1s ease-in-out;
}

.hb-animate-pulse {
  animation: iconPulse 2s ease-in-out infinite;
}

.hb-animate-float {
  animation: iconFloat 3s ease-in-out infinite;
}

/* Animation delays */
.hb-delay-1 {
  animation-delay: 0.1s;
}
.hb-delay-2 {
  animation-delay: 0.2s;
}
.hb-delay-3 {
  animation-delay: 0.3s;
}
.hb-delay-4 {
  animation-delay: 0.4s;
}
.hb-delay-5 {
  animation-delay: 0.5s;
}

/* Hover animation classes */
.hb-hover-lift:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

.hb-hover-scale:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.hb-hover-glow:hover {
  box-shadow: 0 0 20px rgba(58, 166, 185, 0.3);
  transition: box-shadow 0.3s ease;
}

/* Loading state animations */
.hb-loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.hb-loading-pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ===== END CSS ===== */
