body {
      font-family: poppins, sans-serif;
    }
    
.container {
  max-width: 80%;
}
/* Styles Header */
.custom-header {
  transition: all 0.3s ease;
  background: linear-gradient(90deg, #ff4b2b, #ff8c00);
}

.nav-link {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #fff !important;
  margin: 0 10px;
  position: relative;
}
.nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff4b2b, #f1abab);
  transition: width 0.3s ease;
  margin-top: 3px;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.btn-cta {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 5px 16px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.btn-cta:hover {
  background: linear-gradient(90deg, #ff3a1a, #ff7a00);
  border: 1px solid #fff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.3);
}


/* Styles Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  width: 100%;
}

.carousel-item {
  position: relative;
  display: flex;
  width: 100%;
  height: 100vh;
  align-items: center;
  justify-content: center !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  transform: translateY(-50%);
  max-width: 800px;
  margin: 0 auto;
  padding-top: 240px;
  padding-bottom: 200px;
  /* padding-right: 350px; */
  padding-left: 1rem;  /* Padding trái cho mobile */
  padding-right: 1rem;
  text-align: left;
  color: #fff;
  animation: fadeInUp 1s ease-out forwards;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #f0f0f0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.btn-hero-cta {
  display: inline-block;
  background: linear-gradient(90deg, #ff4b2b, #ff8c00);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 75, 43, 0.4);
}
.btn-hero-cta:hover {
  background: linear-gradient(90deg, #ff3a1a, #ff7a00);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 75, 43, 0.5);
}

@media (max-width: 768px) {
  .text-left {
    margin-left: 0;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .hero-content {
    padding-left: 1rem;
    padding-right: 1rem; /* để cân đối hai bên */
    margin-left: 0;       /* bỏ margin cố định */
    padding-top: 100px;   /* giảm padding cho mobile nếu cần */
    padding-bottom: 100px;
  }
}
.hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-hero-cta {
    font-size: 0.875rem;
  }

/* Carousel arrow custom */
.custom-arrow {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 2px solid #fff;
  display: flex;
  border-radius: 5px;
  align-items: center;
  justify-content: center !important;
  transition: all 0.3s ease;
  margin: auto 4rem;
}

.custom-arrow:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 1.2rem 1.2rem;
  filter: brightness(0) invert(1); /* icon trắng */
}
.carousel-control-prev,
.carousel-control-next {
  width: 3.5%;
  z-index: 5; /* cao hơn overlay */
}

/* Style cho indicator (chấm dưới cùng) */
.carousel-indicators {
  bottom: 25px;
  display: flex;
  justify-content: center !important;
  gap: 8px; /* khoảng cách giữa các thanh */
}

.carousel-indicators [data-bs-target] {
  flex: 0 0 8px; /* độ dài thanh khi chưa active */
  height: 8px;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.carousel-indicators .active {
  flex: 0 0 16px; /* thanh active dài hơn */
  background-color: #fff; /* màu trắng đậm */
  opacity: 1;
}


/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Styles About Section */
.about-section {
  background: linear-gradient(to bottom, #ffffff, #f9f9f9); /* nhẹ nhàng phân tách section */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
}

.about-subtitle {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
  color: #555;
  line-height: 1.6;
}

.about-image {
  width: 100%;
  height: 42.04%;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image:hover {
  transform: scale(1.02);
  box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.15);

}@media (max-width: 768px) {
  #about .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .about-image {
    max-width: 100%;
  }
}

/* animation on scroll */
.about-section.animate-visible {
  opacity: 1;
  transform: translateY(0);
}


/* Styles Services */
.services-section {
  background: #f8f9fa;
}

.services-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.highlight-gradient {
  background: linear-gradient(90deg, #ff4b2b, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-section .row {
  display: flex;
  flex-wrap: wrap;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: #fff;
  padding: 30px 30px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}

.service-body {
  flex-grow: 1;
}

/* Container chính cho icon + background */
.icon-features-cus,
.backgroud-icon-features-cus {
  position: absolute;
  bottom: 0;
  right: 0;
}

/* Container giữ vị trí cho cả icon + background */
.service-icon-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 20px auto;
}

/* Nền icon phía sau */
.backgroud-icon-features-cus img {
  width: 55px;
  height: 55px;
  opacity: 0.15;
  transition: transform 0.4s ease, opacity 0.3s ease;
  pointer-events: none;
}

/* Icon mặc định */
.icon-features-cus .img-default {
  width: 88px;
  height: 88px;
  top: 0;
  left: 0;
  color: #ff4b2b;
  transition: fill 0.3s ease, opacity 0.3s ease;
}

/* Icon hover */
.icon-features-cus .img-hover-change-icon {
  width: 90px;
  height: 90px;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

/* Hover effect */
.service-card:hover .icon-features-cus .img-default {
  opacity: 0;
}

.service-card:hover .icon-features-cus .img-hover-change-icon {
  opacity: 1;
}

.service-card:hover .backgroud-icon-features-cus img {
  opacity: 0.3;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  transition: color 0.4s ease;
}

.service-text {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 25px;
  transition: color 0.4s ease;
}

.service-link {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  color: #ff4b2b;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 30px;
  padding: 8px 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  align-self: center;
}

.service-card:hover {
  background: linear-gradient(135deg, #ff4b2b, #ff8c00);
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card:hover .service-icon-wrapper svg {
  color: #fff;
}

.service-card:hover .service-title,
.service-card:hover .service-text {
  color: #fff;
}

.service-card:hover .service-link {
  color: #fff;
  border: 2px solid #fff;
  background: transparent;
}
.service-card:hover .service-link:hover {
  background-color: #fff;
  color: #ff4b2b;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .service-card {
    padding: 20px 15px;
  }
  .service-icon-wrapper {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
  }
  .icon-features-cus .img-default {
    width: 70px;
    height: 70px;
  }
  .icon-features-cus .img-hover-change-icon {
    width: 72px;
    height: 72px;
  }
  .backgroud-icon-features-cus img {
    width: 40px;
    height: 40px;
  }
}

/* Styles Why Choose Us Section */
/* Tiêu đề */
.chooseus-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
}

.highlight-gradient {
  background: linear-gradient(90deg, #ff6600, #ff4500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Feature Cards */
.feature-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 1.25rem;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.feature-card.show {
  opacity: 1;
  transform: translateY(0);
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: #ff6600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

/* Right image animation */
.right-image img {
  border-radius: 1.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s ease;
  max-height: 500px;
  object-fit: cover;
}

.right-image.show img {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 992px) {
  .feature-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .feature-icon {
    margin-bottom: 0.5rem;
  }
  .right-image {
    margin-top: 2rem;
  }
}

/* Styles Clients & Partners Section */
.clients-title {
  font-size: 2.2rem;
  font-weight: 700;
}

.highlight-gradient {
  background: linear-gradient(90deg, #ff4b2b, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.client-filter .list-group-item {
  border: none;
  padding: 0.8rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

.client-filter .list-group-item.active,
.client-filter .list-group-item:hover {
  background: linear-gradient(90deg, #ff4b2b, #ff8c00);
  color: white;
  border-radius: 50px;
}

.client-logo {
  background: #fff;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  height: 120px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.client-logo img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
@media (max-width: 992px) {
  #clients .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .client-filter {
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;  /* Đảm bảo chiếm 100% chiều rộng */
  }
}
@media (max-width: 768px) {
  .client-logo {
    height: 120px;
    padding: 0.5rem;
  }
  .client-logo img {
    max-height: 100px;
  }
}

/* Styles Contact */
#contact {
  background: #f9f9f9;
  max-width: 100%;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.contact-info {
  background: linear-gradient(to right, #ff4b2b, #ff8c00);
  color: white;
  padding: 1.5rem;
}

.contact-info a {
    text-decoration: none !important;
}
.contact-info i {
  font-size: 1.5rem;
  margin-right: 12px;
  color: #fff;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 1.5rem;
}

.form-label {
  font-size: 12px;
  margin-bottom: 0.3rem;
  color: #333;
  padding-left: 10px;
  font-weight: 200;
}

.form-control {
  font-size: 0.9rem;
  padding: 0.375rem 0.5rem;
}

.btn-gradient {
  background: linear-gradient(to right, #ff4b2b, #ff8c00);
  color: white;
  border: none;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  background: #f9f9f9;
  color: #ff4b2b;
  border: 2px solid #ff4b2b;
}
.btn-gradient:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.btn-gradient:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,198,255,0.5);
}
.btn-gradient:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}
.btn-gradient:disabled:hover {
  transform: none;
  box-shadow: none;
}
.btn-gradient i {
  margin-right: 8px;
}

/* Responsive: Trên màn hình nhỏ (<= 992px), các phần tử chiếm full chiều rộng */
@media (max-width: 992px) {
  #contact .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .contact-info, .contact-form {
    width: 100%;  
    padding: 1rem;  
  }

  .contact-info {
    margin-bottom: 2rem; 
  }

  .contact-form button {
    width: 100%;
  }

  .form-control {
    padding: 0.75rem 0.5rem;
  }

  .contact-info img {
    max-width: 80px;
    margin-bottom: 1rem;
  }
}


/* Styles Footer */
.footer-section {
  position: relative;
  background-size: cover; 
  background-position: center;
  padding-bottom: 100px;
  color: #333;
}

.footer-content {
  position: relative;
  z-index: 2; /* Giữ text nằm trên background */
}

.footer-logo {
  max-height: 130px;
  margin-right: 20px;
  width: 200px; 
  height: auto;
}

.footer-section::after {
  /* Phủ thêm màu mờ trên background */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255,255,255,0.7), rgba(255,255,255,0.1));
  z-index: 1;
}
.footer-link {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

@media (max-width: 768px) {
  .footer-section {
    background-size: contain;
    background-position: top center;
    padding-bottom: 50px;
  }
}

/* Styles Scroll to Top Button */
#scrollToTop {
  position: fixed;
  background-color: #ff4b2b;
  border: none;
  bottom: 20px;
  right: 20px;
  display: none;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  display: flex;
  z-index: 9999;
  cursor: pointer;
}
