/* ======= NEWS HIGHLIGHT SECTION ======= */
.news {
  background: linear-gradient(120deg, #f8fafc 60%, #fffbe6 100%);
  padding: 48px 0 32px 0;
}
.news-card {
  background: #fffbe6;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(26,35,126,0.07), 0 1.5px 6px rgba(255,186,0,0.08);
  padding: 32px 24px 28px 24px;
  margin-bottom: 32px;
  border: 1.5px solid #f3e7c7;
  transition: box-shadow 0.2s, transform 0.2s;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.news-card:hover {
  box-shadow: 0 8px 32px rgba(255,186,0,0.13);
  transform: translateY(-4px) scale(1.03);
  border-color: #ffba00;
}
.news-title {
  color: #1a237e;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  text-align: center;
}
.news-image {
  text-align: center;
  margin-bottom: 18px;
}
.news-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 8px #ffba0033;
}
.news-date {
  color: #ffba00;
  font-size: 1.01rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.news-excerpt {
  font-size: 1.08rem;
  color: #444;
  margin-bottom: 1rem;
  font-weight: 500;
  text-align: center;
}
.news-content {
  font-size: 1.01rem;
  color: #222;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.news-tags {
  margin-top: 1.2rem;
  text-align: center;
}
.news-tags span {
  background: #ffba00;
  color: #fff;
  border-radius: 6px;
  padding: 2px 10px;
  margin: 0 4px;
  font-size: 0.98rem;
  display: inline-block;
}
.news-tags span:first-child {
  background: none;
  color: #888;
  padding: 0;
  margin-right: 8px;
}
@media (max-width: 991px) {
  .news {
    padding: 24px 0 12px 0;
  }
  .news-card {
    padding: 18px 8px 14px 8px;
  }
  .news-title { font-size: 1.12rem; }
}
/* ======= MODERN FACTS AREA ======= */
#facts {
  background: linear-gradient(120deg, #f8fafc 60%, #fffbe6 100%);
  padding: 48px 0 32px 0;
}
#facts .ts-facts {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(26,35,126,0.07), 0 1.5px 6px rgba(255,186,0,0.08);
  padding: 32px 18px 24px 18px;
  margin-bottom: 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid #f3e7c7;
  position: relative;
  overflow: hidden;
}
#facts .ts-facts:hover {
  box-shadow: 0 8px 32px rgba(255,186,0,0.13);
  transform: translateY(-4px) scale(1.03);
  border-color: #ffba00;
}
#facts .ts-facts-img {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
#facts .ts-facts-img img {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #fffbe6 60%, #ffecb3 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(255,186,0,0.10);
  padding: 10px;
  object-fit: contain;
}
#facts .ts-facts-num {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffba00;
  margin-bottom: 0.2rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #fffbe6;
}
#facts .ts-facts-title {
  color: #1a237e;
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}

@media (max-width: 991px) {
  #facts {
    padding: 24px 0 12px 0;
  }
  #facts .ts-facts {
    padding: 18px 8px 14px 8px;
  }
  #facts .ts-facts-img img {
    width: 38px;
    height: 38px;
    padding: 6px;
  }
  #facts .ts-facts-num {
    font-size: 1.25rem;
  }
}
/* ======= GLOBAL SECTION TITLE ======= */
.section-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(26,35,126,0.06);
}
.section-sub-title {
  font-size: 1.18rem;
  color: #ffba00;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

/* ======= BANNER ======= */
#main-banner-carousel .banner-carousel-item {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(26,35,126,0.10);
  margin-bottom: 32px;
}
#main-banner-carousel .slider-content {
  background: rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 32px 0;
}

/* ======= FACTS AREA ======= */
#facts .ts-facts {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(26,35,126,0.07);
  padding: 32px 18px 24px 18px;
  margin-bottom: 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
#facts .ts-facts:hover {
  box-shadow: 0 8px 32px rgba(255,186,0,0.13);
  transform: translateY(-4px) scale(1.03);
}
#facts .ts-facts-img img {
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
}
#facts .ts-facts-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffba00;
  margin-bottom: 0.2rem;
}
#facts .ts-facts-title {
  color: #1a237e;
  font-size: 1.08rem;
  font-weight: 600;
}

/* ======= PROJECT/PRODUCT CARD ======= */
#project_list .latest-post, #product_list .fh5co-card-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(26,35,126,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1.5px solid #f3e7c7;
}
#project_list .latest-post:hover, #product_list .fh5co-card-item:hover {
  box-shadow: 0 8px 32px rgba(255,186,0,0.13);
  transform: translateY(-4px) scale(1.03);
  border-color: #ffba00;
}
#project_list .latest-post-media img, #product_list .fh5co-card-item img {
  border-radius: 12px 12px 0 0;
  width: 100%;
  object-fit: cover;
  min-height: 180px;
  max-height: 220px;
}
#project_list .post-title, #product_list .fh5co-text h2 {
  color: #1a237e;
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0.5rem 0 0.2rem 0;
}
#project_list .post-item-date {
  color: #ffba00;
  font-size: 0.98rem;
}

/* ======= TESTIMONIALS ======= */
#testimonial-slide .quote-item {
  background: #fffbe6;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(255,186,0,0.08);
  padding: 24px 18px 18px 18px;
  margin-bottom: 18px;
  border-left: 4px solid #ffba00;
}
#testimonial-slide .quote-text {
  color: #1a237e;
  font-size: 1.08rem;
  font-style: italic;
}
#testimonial-slide .testimonial-thumb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 10px;
}
#testimonial-slide .quote-author {
  color: #ffba00;
  font-weight: 600;
}

/* ======= PARTNER LOGOS ======= */
#doitac_all .clients-logo {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(26,35,126,0.06);
  padding: 12px 8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}
#doitac_all .clients-logo img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

/* ======= FOOTER ======= */
#footer {
  background: linear-gradient(120deg, #1a237e 60%, #ffba00 100%);
  color: #fff;
  padding-top: 48px;
}
#footer .widget-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.18rem;
}
#footer .footer-logo {
  filter: drop-shadow(0 2px 8px #ffba00cc);
}
#footer .footer-social a {
  color: #fff;
  background: #ffba00;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 1.18rem;
  transition: background 0.2s, color 0.2s;
}
#footer .footer-social a:hover {
  background: #fff;
  color: #ffba00;
}
#footer .footer-menu a {
  color: #fff;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
}
#footer .footer-menu a:hover {
  color: #ffba00;
  opacity: 1;
}

/* ======= BUTTONS ======= */
.btn, .btn-primary, .btn-dark {
  border-radius: 30px !important;
  font-weight: 600;
  padding: 10px 28px;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px rgba(255,186,0,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: linear-gradient(90deg, #ffba00 80%, #ffd84d 100%) !important;
  color: #fff !important;
  border: 2.5px solid #1a237e !important;
  box-shadow: 0 4px 18px rgba(26,35,126,0.13), 0 0 0 3px #fffbe6;
  outline: 2px solid #fffbe6;
}
.btn-primary:hover {
  background: linear-gradient(90deg, #fffbe6 60%, #ffba00 100%) !important;
  color: #1a237e !important;
  box-shadow: 0 8px 32px rgba(255,186,0,0.18), 0 0 0 3px #ffba00;
  border-color: #ffba00 !important;
  outline: 2px solid #ffba00;
}
.btn-dark {
  background: #1a237e !important;
  color: #fff !important;
  border: none !important;
}
.btn-dark:hover {
  background: #ffba00 !important;
  color: #1a237e !important;
}

/* ======= RESPONSIVE TWEAKS ======= */
@media (max-width: 991px) {
  .section-title { font-size: 1.45rem; }
  #facts .ts-facts { padding: 18px 8px 14px 8px; }
  #project_list .latest-post, #product_list .fh5co-card-item { padding: 0; }
}
@media (max-width: 700px) {
  .section-title { font-size: 1.12rem; }
  .section-sub-title { font-size: 0.98rem; }
  #facts .ts-facts-img img { width: 36px; height: 36px; }
  #facts .ts-facts-num { font-size: 1.25rem; }
  #project_list .latest-post-media img, #product_list .fh5co-card-item img { min-height: 110px; max-height: 140px; }
  #doitac_all .clients-logo { height: 54px; }
  #doitac_all .clients-logo img { max-height: 36px; }
}
/* Modern custom style for #ts-service-area */
#ts-service-area {
  background: linear-gradient(120deg, #f8fafc 60%, #fffbe6 100%);
  padding: 60px 0 40px 0;
}
#ts-service-area .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a237e;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
#ts-service-area .section-sub-title {
  font-size: 1.25rem;
  color: #ffba00;
  font-weight: 600;
  margin-bottom: 2.5rem;
}
#ts-service-area .ts-service-box {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(26,35,126,0.07), 0 1.5px 6px rgba(255,186,0,0.08);
  padding: 32px 24px 28px 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid #f3e7c7;
}
#ts-service-area .ts-service-box:hover {
  box-shadow: 0 8px 32px rgba(255,186,0,0.18), 0 2px 12px rgba(26,35,126,0.10);
  transform: translateY(-6px) scale(1.025);
  border-color: #ffba00;
}
#ts-service-area .ts-service-box-img {
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  width: 64px;
  background: linear-gradient(135deg, #fffbe6 60%, #ffecb3 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(255,186,0,0.10);
  margin-right: 0;
}
#ts-service-area .ts-service-box-img img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
#ts-service-area .ts-service-box-info {
  flex: 1 1 auto;
}
#ts-service-area .service-box-title {
  font-size: 1.18rem;
  font-weight: 600;
  color: #1a237e;
  margin-bottom: 0.5rem;
  margin-top: 0;
}
#ts-service-area .ts-service-box-info p {
  color: #444;
  font-size: 1.01rem;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  #ts-service-area .ts-service-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 14px 18px 14px;
    gap: 10px;
  }
  #ts-service-area .ts-service-box-img {
    margin-bottom: 8px;
    width: 54px;
    height: 54px;
  }
  #ts-service-area .ts-service-box-img img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 700px) {
  #ts-service-area {
    padding: 32px 0 18px 0;
  }
  #ts-service-area .section-title {
    font-size: 1.35rem;
  }
  #ts-service-area .section-sub-title {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
  }
  #ts-service-area .ts-service-box {
    margin-bottom: 18px;
    padding: 12px 6px 10px 6px;
    border-radius: 10px;
  }
}
.banner-carousel .slider-content,
    .banner-carousel .slide-title,
    .banner-carousel .slide-sub-title,
    .banner-carousel .slider-description {
      opacity: 1 !important;
      visibility: visible !important;
      display: block !important;
      z-index: 2;
    }

.banner-carousel .slide-title,
.banner-carousel .slide-sub-title,
.banner-carousel .slider-description {
  color: #ff9800 !important;
  text-shadow: 0 2px 8px rgba(26,35,126,0.10), 0 1px 2px #fffbe6;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.img-fluid{
  width: 100%;
  height: auto;
}

/* Thêm vào file CSS của bạn hoặc trong <style> */
#product-navbar {
  display: flex;
  gap: 20px;
  margin: 10px 0 16px 0;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
  padding-left: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#product-area .section-sub-title {
  margin-bottom: 0.5rem !important;
}

.product-navbar-btn {
  min-width: 170px;
  font-weight: bold;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 1.12rem;
  border: 2.5px solid #ffba00;
  background: linear-gradient(90deg, #fff 70%, #fffbe6 100%);
  color: #1a237e;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
  box-shadow: 0 2px 12px rgba(255,186,0,0.10);
  margin-bottom: 10px;
  cursor: pointer;
  text-align: left;
}

.product-navbar-btn.active,
.product-navbar-btn:hover {
  background: linear-gradient(90deg, #ffba00 80%, #ffd84d 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(255,186,0,0.18);
  border-color: #ffba00;
}

@media (max-width: 700px) {
  #product-navbar {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    margin: 12px 0 8px 0;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .product-navbar-btn {
    min-width: 110px;
    font-size: 0.95rem;
    padding: 8px 8px;
    text-align: center;
    flex: 0 0 auto;
    margin-bottom: 0;
  }
}

