body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f7f9fc;
  color: #333;
}
/* Navbar */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 13px 0;
  position: relative;
}

.logo {
  height: 55px;
  margin-right: 45px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links a {
  color: #14452F;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  min-width: 165px;
  display: none;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  z-index: 9999;
}

.dropdown-content a {
  padding: 12px;
  text-align: center;
  color: #333;
}

.dropdown-content a:hover {
  background: #e9e9e9;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

/* Container for products */
.products-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Grid layout */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* Each product card */
.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-content {
  flex-grow: 1;
  padding: 0 16px;
}

/* Card text */
.product-card h3 {
  font-size: 20px;
  margin: 16px;
  color: #222;
}

.product-card p {
  margin: 0 16px 16px;
  color: #555;
  line-height: 1.4;
}


/* Button group */
.card-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid #eee;
}



/* Buttons */
.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s, transform 0.2s;
}

/* View button */
.btn.view {
  background-color: #007bff;
  color: #fff;
}

.btn.view:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* Payment button */
.btn.pay {
  background-color: #28a745;
  color: #fff;
}

.btn.pay:hover {
  background-color: #1e7e34;
  transform: scale(1.05);
}

/* ===== FOOTER ===== */
.footer {
  background: #fff; /* Xanh đậm sang hơn */
  padding: 60px 0 25px;
  margin-top: 80px;
  color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  max-width: 1250px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 45px;
  justify-content: space-between;
}

.footer-col {
  flex: 1 1 250px;
  min-width: 230px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 18px;
 
}

/* Tiêu đề cột */
.footer h4 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 700;
  color: #14452F;
  border-left: 4px solid #28a745;
  padding-left: 10px;
}

/* Danh sách link */
.footer-col ul {
  color: #14452F;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  text-decoration: none;
  color: #14452F;
  transition: 0.2s;
  font-size: 15px;
}

.footer-col ul li a:hover {
  color: #14452F;
  text-decoration: underline;
}

/* Social */
.social-links a {
  margin-right: 12px;
  font-size: 22px;
  color: #14452F;
  transition: 0.2s;
}

.social-links a:hover {
  color: #14452F;
  transform: translateY(-2px);
}

/* Bottom line */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid #2e6d4d;
  font-size: 14px;
  color: #d6ffd6;
}
