/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif; /* Ưu tiên font cuối cùng */
  background-color: #f8f9fa;
  color: #333;
  padding: 40px 20px;
  margin: 0;
}

main {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
    font-family: 'Roboto', sans-serif;
}



h1 {
  text-align: center;
  color: #333;
  margin-bottom: 40px;
}

/* Giới thiệu */
.intro {
  text-align: center;
  background: #fff;
  padding: 50px 20px;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.intro h1 {
  color: #ff6600;
  font-size: 2.5em;
  margin-bottom: 15px;
}

.intro p {
  color: #555;
  font-size: 1.1em;
}

/* Lưới sản phẩm */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.product-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
}

.product-card h3 {
  margin: 10px 0;
  font-size: 1.2em;
}

.product-card h3 a {
  text-decoration: none;
  color: #0066cc;
}

.product-card p {
  font-size: 0.95em;
  margin: 6px 0;
}

.product-card strong {
  color: #ff6600;
}

/* Dịch vụ dạng khối */
.service-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  gap: 20px;
  flex-wrap: wrap;
}

.service-block img {
  width: 280px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
}

.service-text {
  flex: 1;
  min-width: 280px;
}

.service-text h2 {
  margin: 0 0 10px;
  color: #222;
  font-size: 20px;
}

.service-text p {
  margin: 0;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Chi tiết dịch vụ */
.service-detail {
  margin-top: 10px;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

/* Bản đồ */
.map-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  margin-top: 40px;
}

.map-section h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.map-section p {
  margin-bottom: 20px;
  font-size: 16px;
}

/* Slide hình ảnh hệ sinh thái */
.container {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hesinhthai {
  background-color: rgb(5, 172, 243);
  width: 80%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.slide-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .intro h1 {
    font-size: 2em;
  }

  .product-card img {
    width: 60px;
  }

  .map-section iframe {
    height: 300px;
  }

  .service-block {
    flex-direction: column;
    text-align: center;
  }

  .service-block img {
    margin-bottom: 15px;
  }
}


.all-services-wrapper {
  padding: 40px 20px;
  background-color: #f8f9fa;
}

.service-section {
  max-width: 1200px;
  margin: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 16px;
}

.service-item h3 {
  font-size: 18px;
  margin: 12px 0 8px;
}

.service-item p {
  font-size: 14px;
  margin-bottom: 8px;
}

/* Bo góc và nền của container dịch vụ */
.all-services-wrapper {
  padding: 40px 20px;
  background-color: #f8f9fa;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

/* Ảnh trong mỗi service-item */
.service-item img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: 10px;
  display: block;
  background-color: #fff; /* để ảnh không bị nền xám nếu thiếu chiều cao */
}

