.hero.custom-hero {
  background: url("../images/mockup4.jpg") no-repeat center center/cover;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
  position: relative;
  padding: 0 20px;
}

.hero.custom-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 107, 236, 0.5);
  z-index: 1;
}

.hero.custom-hero h1 {
  position: relative;
  z-index: 2;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

.hero.custom-hero .infor-company {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 900px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .hero.custom-hero h1 {
    font-size: 1.5rem;
  }
  .hero.custom-hero .infor-company {
    font-size: 1rem;
  }
  .hero.custom-hero {
    height: 300px;
  }
}

/* ========== SECTION TITLE ========== */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2b7cd3;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px 0;
}

.section-title::before,
.section-title::after {
  content: "";
  width: 80px;
  height: 2px;
  background: #2b7cd3;
  opacity: 0.6;
}

/* ========== SERVICES SLIDER ========== */
.card-slider {
  width: 100%;
  padding: 20px 0;
}

.swiper-slide {
  width: 250px; /* độ rộng mỗi card */
}
.card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 160px;
  cursor: default;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(43, 124, 211, 0.25);
}

.card .box-image {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  border-radius: 50%;
  padding: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
} /* ========== Card 1 ==========  */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero.custom-hero h1 {
  position: relative;
  z-index: 2;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);

  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.2s; /* xuất hiện trước */
}

.hero.custom-hero .infor-company {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 900px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);

  opacity: 0;
  animation: fadeInUp 1.2s ease forwards;
  animation-delay: 1s; /* xuất hiện sau h1 */
}
.hero.custom-hero {
  background: url("../images/pexels-cookiecutter-1148820.jpg") no-repeat center
    center/cover;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
  position: relative;
}
.hero.custom-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 107, 236, 0.5); /* Overlay màu đen với độ mờ */
  z-index: 1;
}
@media (max-width: 768px) {
  .hero.custom-hero h1 {
    font-size: 1.5rem;
  }
  .hero.custom-hero .infor-company {
    font-size: 1rem;
  }
  .hero.custom-hero {
    height: 300px;
    padding: 0 10px;
  }
}
.custom-hero {
  background: url("../images/mockup4.jpg") no-repeat center center/cover;
  height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  bottom: 40px;
  left: 40px;
  background: rgba(0, 0, 0, 0.55);
  padding: 40px 25px;
  border-radius: 12px;
  max-width: 500px;
  animation: fadeInUp 1s ease forwards;
}

.theme-blue {
  --accent-gradient: linear-gradient(135deg, #e0f2ff, #cce7ff);
  --blue-main: #2b7cd3;
  --shadow: 0 8px 20px rgba(43, 124, 211, 0.15);
  --radius: 20px;
  --gap: 40px;
  --max-width: 1200px;
  margin-left: 2%;
  margin-right: 2%;
  /* background: linear-gradient(135deg, #e0f2ff, #cce7ff); */
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2b7cd3;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px 0;
}

.section-title::before,
.section-title::after {
  content: "";
  width: 80px;
  height: 2px;
  background: #2b7cd3;
  opacity: 0.6;
}
.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card:hover .box-image {
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(43, 124, 211, 0.3);
}

.box-image svg {
  width: 70%;
  height: 70%;
  stroke: var(--blue-main);
}

.title-industry {
  color: var(--blue-main);
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 600;
  margin: 0;
}

/* ========== SERVICE CARD ========== */
.service-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.service-img {
  height: 150px;
  width: 100%;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 2; /* ảnh nằm trên div */
}

.service-card {
  position: relative;
  top: -50px; /* kéo div lên để ảnh che 1/3 */
  background-color: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  z-index: 1;
  padding-top: 10%; /* chữ cách top 10% */
  padding-bottom: 20px;
} /* Item layout */
.item-solution {
  display: flex;
  align-items: stretch;
  /* gap: 0; */
  margin-bottom: var(--gap);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease;
  background: white;
}

.item-solution.reverse {
  flex-direction: row-reverse;
}

.item-solution img {
  flex: 1;
  max-width: 50%;
  max-height: 400px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.item-content {
  flex: 1;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.4s ease;
}

.item-content h4 {
  font-size: 30px;
  font-weight: 600;
  color: var(--blue-main);
  margin-bottom: 10px;
}
.item-solution h4:hover {
  color: #ff6b00;
  text-decoration: underline;
  text-decoration-color: #007bff;
  text-underline-offset: 3px;
  transition: transform 0.3s;
}

.item-content p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .item-solution,
  .item-solution.reverse {
    flex-direction: column;
  }

  .item-solution img,
  .item-content {
    max-width: 100%;
  }

  .item-solution {
    border-radius: var(--radius);
    overflow: hidden;
  }
}
.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #222;
}

.device-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

/* Card thiết bị */
.device-card {
  position: relative;
  background: rgba(255, 255, 255, 0.1); /* nền trong suốt */
  border-radius: 16px;
  padding: 15px;
  width: 180px;
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;

  /* Bóng loang và glow */
  box-shadow: 0 4px 12px rgba(18, 125, 167, 0.651);
}

/* Gradient animation nền loang */
.device-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, #b9f3fc, #aee2ff, #f7f5eb);
  background-size: 400% 400%;
  filter: blur(60px);
  /* animation: gradientMove 10s linear infinite;  -> bỏ animation */
  z-index: 0;
}

@keyframes gradientMove {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }
  50% {
    transform: rotate(180deg) translate(50%, 50%);
  }
  100% {
    transform: rotate(360deg) translate(0, 0);
  }
}

/* Nội dung trên card */
.device-card img {
  position: relative;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 150px;
  margin-bottom: 10px;
  z-index: 1; /* để hiển thị trên gradient */
}

.device-card h4 {
  position: relative;
  font-size: 16px;
  color: #fff;
  z-index: 1;
}

/* Hover hiệu ứng nâng nhẹ và đổ bóng */
.device-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Section News */
#news-section {
  padding: 50px 0;
  /* background: #f8fafc; */
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #1a2b49;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.news-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 15px;
}

.news-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #0d47a1;
  transition: color 0.3s;
}

.news-item:hover h3 {
  color: #ff5e62;
}

.news-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}
.home_sec_6 {
  position: relative;
  width: 100%;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/assets/images/desk-2905361.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 0.5s ease-out;
}

.home_sec_6:hover .bg {
  transform: scale(1);
}

.banner-bg:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 87, 184, 0.85) 0%,
    rgba(0, 39, 118, 0.8) 100%
  );
  z-index: 2;
}

.row {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
}

.col {
  padding: 20px;
}

.large-5 {
  flex: 0 0 41.66667%;
  max-width: 41.66667%;
}

.large-7 {
  flex: 0 0 58.33333%;
  max-width: 58.33333%;
}

@media (max-width: 768px) {
  .col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.wrap_title {
  padding-right: 30px;
}

.heading_title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  position: relative;
}

.heading_title:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  border-radius: 5px;
}

.items_home_sec_6 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

@media (max-width: 992px) {
  .items_home_sec_6 {
    grid-template-columns: 1fr;
  }
}

.item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.item:before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.5s ease;
  z-index: 1;
}

.item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.item:hover:before {
  left: 50%;
  top: 50%;
}

.item > * {
  position: relative;
  z-index: 2;
}

.title {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.3);
  transition: all 0.3s ease;
}

.item:hover .icon {
  transform: rotate(15deg) scale(1.1);
}

.icon img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

h4 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.content {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 15px;
}

/* Hiệu ứng ánh sáng di chuyển */
@keyframes lightMove {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(200%) rotate(45deg);
  }
}

/* Hiệu ứng gradient border */
.item:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(0, 198, 255, 0.5),
    rgba(0, 114, 255, 0.5)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.item:hover:after {
  opacity: 1;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  position: relative;
  padding-left: 36px; /* chừa chỗ cho dấu tích */
  margin-bottom: 12px;
  line-height: 1.5;
  color: #333;
  font-size: 16px;
}

/* dấu tích bằng ký tự Unicode */
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
  line-height: 1;
  color: #07a76f; /* màu xanh */
  background: rgba(7, 167, 111, 0.06);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px; /* bo góc nếu muốn */
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02) inset;
}
