body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
  background: #fffbe6; /* vàng nhạt */
  color: #2e2e2e;
}

header {
  background: linear-gradient(
    90deg,
    #6a994e,
    #a7c957
  ); /* xanh lá nhạt -> đậm */
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 97%;
  height: 100px;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-self: center;
}
.logo-img {
  height: 150px;
  margin-left: 10px;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-top: 45px;
  margin-left: 0px;
  transform: translateX(-15px);
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #fdf6bd;
}

.contact-info {
  text-align: left;
  margin-left: 2rem;
  line-height: 1.6;
}
footer {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(90deg, #6a994e, #a7c957);
  color: white;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}
/* Container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Nút Products */
.dropbtn {
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-weight: bold;

  color: white;
  border-radius: 5px;
  cursor: pointer;
}

/* Menu ẩn ban đầu */
.dropdown-content {
  display: none; /* Ẩn */
  position: absolute;
  background-color: #a7c957;
  border-radius: 7px;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

/* Mục trong menu */
.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: white;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #6a994e;
}

/* Áp dụng hiệu ứng phát sáng động */
.halo-effect {
  animation: haloPulse 2.5s infinite ease-in-out;
  transition: filter 0.3s ease;
}

@keyframes haloPulse {
  0% {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)) /* trắng */
      drop-shadow(0 0 10px rgba(255, 215, 0, 0.5)) /* vàng */
      drop-shadow(0 0 14px rgba(255, 0, 0, 0.4)); /* đỏ */
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.9)) /* trắng */
      drop-shadow(0 0 35px rgba(255, 215, 0, 0.85)) /* vàng */
      drop-shadow(0 0 50px rgba(255, 0, 0, 0.75)); /* đỏ */
  }
  100% {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6))
      drop-shadow(0 0 10px rgba(255, 215, 0, 0.5))
      drop-shadow(0 0 14px rgba(255, 0, 0, 0.4));
  }
}
#animal-feed {
  position: relative;
  padding: 80px 20px;
  height: 600px;
  overflow: hidden;
  color: white;
}

#animal-feed .section-title {
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 2.5em;
  font-weight: bold;
  z-index: 2;
}

#animal-feed .background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../Images/Products/animalfeed.jpg") no-repeat center
    center/cover;
  opacity: 0.5;
  z-index: 1;
}
#animal-feed h2 {
  margin-top: 120px;
  color: #6a994e;
}

.card-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  z-index: 2;
  gap: -50px;
}

.feed-card {
  width: 160px;
  height: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: rotate(var(--rotate));
  transition: transform 0.3s ease;
}

.feed-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-card:hover {
  transform: scale(1.05) rotate(var(--rotate));
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}
