@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap");

.font {
  font-family: "Roboto", sans-serif;
}

.background-header {
  background-color: #f0f3bd;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.featured-products {
  background: linear-gradient(to right, #00a896, #f0f3bd);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

.styled-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #28a745;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

.section-title {
  font-size: 1.8rem;
  text-transform: uppercase;
}

.decor-line {
  width: 80px;
  height: 5px;
  background: linear-gradient(45deg, #ffb400, #28a745);
  border-radius: 10px;
}

.product-card {
  background: #05668D;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  padding: 15px;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.product-img {
  transition: transform 0.4s ease;
  border-radius: 8px;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.hover-shadow:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-5px);
  transition: 0.3s;
}

.why-title {
  font-size: 2.8rem;
  color: #1f3c2e;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  display: inline-block;
  position: relative;
  animation: bounceInDown 1.2s both;
}

.highlight-word {
  display: inline-block;
  animation: fadeInUp 1s ease-out both;
}

.highlight-word.delay-1 {
  animation-delay: 0.4s;
}
.highlight-word.delay-2 {
  animation-delay: 0.8s;
}

/* Nếu bạn chưa dùng animate.css thì dùng keyframe riêng: */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hover-feature {
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
  border: 2px solid transparent;
}

.hover-feature:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  border-color: #28a745;
  background: #f9fff9;
}

.hover-feature:hover .icon-circle {
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(4px);
  }
  100% {
    transform: translateY(0);
  }
}

.hover-feature:hover h5 {
  color: #28a745;
  letter-spacing: 0.5px;
}

.market-title {
  font-size: 2.8rem;
  color: #1f3c2e;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.market-word {
  display: inline-block;
  animation: fadeInUpMarket 1s ease-out both;
}
.market-word.delay-1 {
  animation-delay: 0.3s;
}
.market-word.delay-2 {
  animation-delay: 0.6s;
}

@keyframes fadeInUpMarket {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.market-line {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #28a745, #f39c12);
  border-radius: 10px;
}

.market-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.market-hover {
  transition: all 0.4s ease;
  cursor: pointer;
}
.market-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.market-hover:hover .market-icon {
  animation: bounceMarket 0.6s ease;
}
@keyframes bounceMarket {
  0% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(4px);
  }
  100% {
    transform: translateY(0);
  }
}

.footer-section {
  font-family: "Segoe UI", sans-serif;
  font-size: 0.95rem;
}

.footer-link {
  color: #d4d4d4;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-social .social-icon {
  display: inline-block;
  color: white;
  margin-right: 10px;
  font-size: 1.2rem;
  transition: transform 0.3s ease, color 0.3s;
}
.footer-social .social-icon:hover {
  color: #f9c846;
  transform: scale(1.15);
}
