@charset "UTF-8";
.hero {
  background-image: url("../images/backgroundHero.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 600px;
  padding: 150px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero .inner {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: var(--text-light);
}

.hero h1 {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero p {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 40px;
  max-width: 800px;
  line-height: 1.5;
}

.hero .cta {
  background-color: #cc5200;
  color: white;
  padding: 15px 40px;
  border-radius: 8px;
  font-weight: 700;
  display: inline-block;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
}

.hero .cta:hover {
  background-color: #cc5200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 15px rgba(247, 164, 0, 0.4);
}

.cta:hover {
  background: #e69500;
  box-shadow: 0 10px 20px rgba(247, 164, 0, 0.5);
  transform: translateY(-2px);
}

/* About & Services */
#about,
#services {
  background: #f9fafb;
}

/* Services cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: var(--background);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  border-color: var(--accent);
}

.card h3 {
  font-size: 20px;
  margin: 10px 0 10px;
  color: var(--accent);
}

.card p {
  color: var(--muted-text);
  line-height: 1.7;
  margin: 0;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product {
  background: var(--background);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.product img {
  width: 100%;
  height: 280px;
  /* Tăng chiều cao ảnh */
  object-fit: cover;
  display: block;
}

.product-content {
  padding: 18px;
}

.product .tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 0;
  /* Loại bỏ margin âm */
  transform: translateY(0%);
  /* Dịch chuyển thẻ tag lên trên ảnh */
}

.home-section-partners {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.home-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 65px;
}

.home-section-partners h2 {
  /* (Giữ nguyên style h2) */
  text-align: center;
  font-size: 2.2em;
  color: #333;
  margin-bottom: 40px;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
}

.home-section-partners h2::after {
  /* (Giữ nguyên style h2::after) */
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ff6600;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Lưới chứa các Logo Đối Tác */
.home-partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  /* Tăng khoảng cách một chút */
  margin-top: 40px;
}

/* Thẻ liên kết cho mỗi logo */
.home-partner-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 80px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Style cho thẻ IMG chứa SVG */
.home-partner-img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  transition: filter 0.3s, opacity 0.3s;
}

/* Hiệu ứng khi rê chuột: Trả lại màu và độ sáng */
.home-partner-link:hover .home-partner-img {
  filter: grayscale(0%);
  /* Loại bỏ xám hóa (trả lại màu gốc) */
  opacity: 1;
  /* Hiển thị rõ nét */
}

/* Team */
#team {
  background: #f9fafb;
}

.board {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.member {
  width: 240px;
  text-align: center;
  padding: 20px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.member:hover {
  background: var(--background);
  box-shadow: var(--card-shadow);
}

.member img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  padding: 2px;
}

.member h4 {
  font-size: 18px;
  margin: 16px 0 4px;
  font-weight: 700;
}

.member p {
  color: var(--muted-text);
  margin: 0;
  font-size: 15px;
}

.title-sub {
  max-width: 100%;
}

@media (max-width: 1024px) {
  .cards,
  .products-grid,
  .footer-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .hero h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 28px;
  }
  .wrap {
    padding: 0 20px;
  }
  .section-padding {
    padding: 60px 0;
  }
  .footer-grid .col {
    max-width: 100%;
  }
  .footer-grid .col:last-child {
    order: -1;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  header .wrap {
    padding: 16px 20px;
  }
  .hero {
    min-height: 450px;
    padding: 100px 20px 60px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero p {
    font-size: 18px;
  }
  .home-partners-grid {
    gap: 20px;
    justify-content: center;
    flex-direction: column;
  }
  .home-partner-link {
    width: 120px;
    height: 60px;
  }
}