	/* ===== HEADER ===== */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== LOGO ===== */
.header-logo {
    flex: 0 0 auto;
}

.header-logo img {
    height: 60px;
    width: auto;
}

/* ===== MENU ===== */
.navbar {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navbar-nav {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.navbar-nav li {
    list-style: none;
    position: relative;
}

.navbar-nav li a {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    white-space: nowrap;
}

.navbar-nav li a:hover {
    color: #007bff;
}

/* tạo line ẩn */
.navbar-nav li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: #007bff; /* màu line */
    transition: 0.3s;
}

/* hover hiện line */
.navbar-nav li a:hover::after {
    width: 100%;
}
/* hover cấp 1 */
.navbar-nav > li > a:hover,
.navbar-nav > li:hover > a {
    color: #007bff !important;
}

/* ===== DROPDOWN ===== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    min-width: 180px;
    background: #fff;
    border: 1px solid #ddd;
    z-index: 999;
}

.dropdown-toggle::after {
    display: none !important;
}

.navbar li:hover > .dropdown-menu {
    display: block;
}

/* ===== SEARCH ===== */
.search-box {
    flex: 0 0 auto;
    position: relative;
    width: 150px;
}

.search-box input {
    width: 100%;
    height: 25px;
    padding: 0 28px 0 10px;
    border: 1px ;
    border-radius: 20px;
}

/* ICON SEARCH */
.btn-search {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
}

.btn-search i {
    font-size: 14px;
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .main-header {
        flex-direction: column;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .dropdown-menu {
        position: relative;
        border: none;
    }
}

/* ================================
   2️⃣ SLIDER / CAROUSEL / SWIPER
/* Slide tổng thể */
.slide-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.slide.active img:hover {
  transform: scale(1.05);
}

.slide-text {
  position: absolute;
  bottom: 10%;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}

.slide.active .slide-text {
  opacity: 1;
  transform: translateY(0);
}

/* ẢNH BANNER */

.swiper-slide img{
width:100%;
height:850px;
object-fit:cover;
transform:scale(1);
transition:transform 8s ease;
}

.swiper-slide-active img{
transform:scale(1.08);
}

/* KHUNG CHỮ */

.text_slide_left_5{
position:absolute;
top:75%;
left:8%;
width:720px;
padding:12px 26px;
/* Nền xanh dương */
border-radius:14px;
background:rgba(18,64,88,0.25);
border:1px solid rgba(255,255,255,0.2);
backdrop-filter:blur(4px);
-webkit-backdrop-filter:blur(4px);
box-shadow:0 10px 35px rgba(0,0,0,0.25);
border-left:4px solid #2db6a3;
z-index:10;
opacity:0;
transform:translateY(40px);
transition:all 2.2s ease;
}

/* khi slide active thì hiện ra */
.swiper-slide-active .text_slide_left_5{
opacity:1;
transform:translateY(0);
}

/* bỏ nền div bên trong */

.text_slide_left_5 .bp_slide_title_note,
.text_slide_left_5 .content-highlight-box{
background:transparent !important;
box-shadow:none !important;
max-width:none !important;
width:100%;
padding:0 !important;
}

.text_slide_left_5 h2{
font-size:34px;
font-weight:700;
color:white;
margin-bottom:10px;
letter-spacing:0.5px;
}

/* CHỮ */

.main-title{
font-size:28px;
line-height:1.3;
color:white;
}

.description{
font-size:16px;
line-height:1.7;
color:white;
}

.text_slide_left_5 p{
max-width:none !important;
width:100%;
}

/* HIỆU ỨNG CHỮ */

@keyframes slideText{
0%{
opacity:0;
transform:translateX(-40px);
}

100%{
opacity:1;
transform:translateX(0);
}
}

.swiper-slide-active .main-title{
animation:slideText 1s ease forwards;
}

.swiper-slide-active .description{
animation:slideText 1.2s ease forwards;
}

/* NÚT NHẬN TƯ VẤN CHO SLIDER - chuẩn responsive */
.btn-slider {
  display: inline-block;
  background-color: #2db6a3;
  color: #fff;
  padding: 8px 18px;       /* padding mặc định */
  font-size: 12px;         /* chữ nhỏ */
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;

  /* Animation nhấp nháy nền + scale */
  animation: blinkBtn 2s infinite;
  transition: all 0.3s ease;  /* bao gồm màu chữ hover */
}

/* Hover: phồng nhẹ + đổi màu chữ */
.btn-slider:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  color: #fff;       /* chữ đổi màu vàng khi hover */
}

/* Nhấp nháy nền + scale */
@keyframes blinkBtn {
  0%, 100% { background-color: #2db6a3; transform: scale(1); }
  50% { background-color: #3ec6a8; transform: scale(1.05); }
}

/* RESPONSIVE - trên màn hình nhỏ hơn 768px */
@media (max-width: 768px) {
  .btn-slider {
    padding: 6px 14px;   /* nhỏ hơn nữa trên mobile */
    font-size: 12px;     /* chữ gọn hơn */
  }
}

/* ================================
   4️⃣ SEARCH / CART / MISC
================================= */
.search-box input {
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.search-box button.btn-search {
    background-color: #0DCAF0;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
}

.bp_cls_cart_item { position: relative; }
.bp_cls_cart_item:hover .bp_cart_items_list {
    opacity: 1;
    visibility: visible;
}
.bp_cart_items_list {
    position: absolute;
    top: 100%;
    right: 0;
    width: 270px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}


/* Box Dự Án Ngoài Trang Chủ */

.project-box{
flex:0 0 calc(33.333% - 20px);
background:#fff;
border-radius:14px;
overflow:hidden;
box-shadow:0 8px 25px rgba(0,0,0,0.08);
transition:0.35s;
position:relative;
}

.project-box:hover{
transform:translateY(-10px);
box-shadow:0 18px 45px rgba(0,0,0,0.15);
}

/* IMAGE */
.project-slider {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  position: relative;
  margin: 40px auto 0;
}

.project-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  transition: transform 0.5s ease;
}

.project-box {
  flex: 0 0 calc(33.333% - 20px);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  border-radius: 0;
}

.project-box::after {
  content: "";
  display: block;
  height: 3px; /* độ dày đường line */
  width: 100%;
  background: linear-gradient(90deg, #2c6fb7, #3ec6a8); /* giống border-image hiện tại */
  position: absolute;
  bottom: 0;
  left: 0;
}

.project-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.project-box img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #2c6fb7, #3ec6a8) 1;
  transition: transform 0.5s ease;
  border-radius: 0; 
}

.project-box:hover img {
  transform: scale(1.08);
}

.project-info {
  font-size: 15px;
  color: #374151;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 15px;
}

.project-info h3 {
  font-size: 18px;
  color: #2c6fb7;
  margin-bottom: 6px;
}

.project-info p {
  font-size: 14px;
  color: #777;
  text-align: center;
  line-height: 1.4;
}

.project-title {
  font-size: 18px;
  color: #1b3a57;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 8px;
  margin-top: 10px;
}

/* Khung mô tả trong header */
.section-subtitle {
  background: #f0f0f0;            /* nền xám nhạt */
  border-left: 4px solid #28a745; /* line bên trái màu xanh logo */
  padding: 12px 16px;              /* khoảng cách chữ và viền */
  margin-top: 5px;                /* cách trên so với tiêu đề */
  color: #555;                     /* màu chữ hơi đậm để đọc dễ */
  line-height: 1.6;                /* khoảng cách dòng thoáng */
  border-radius: 14px;                /* bỏ bo góc */
  font-size: 15px;                 /* chữ vừa phải */
  margin: 10px auto 0 auto; 
  max-width: 820px;
  transition: all 0.3s ease;
  position: relative; /* cần để transform hoạt động */
}

/* Highlight từ khóa trong đoạn mô tả */
.section-subtitle .highlight {
  color: #28a745;  /* xanh lá */
  font-weight: 600;
}

/* MŨI TÊN */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(44,111,183,0.8);
  color: #fff;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 0;
  z-index: 20;
  transition: none;
}

.slider-btn:hover {
  background: rgba(62,198,168,0.9);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 0px; /* ngoài box */
}

.slider-next {
  right: 0px;
}

/* Highlight từ khóa */
.section-subtitle .highlight {
  color: #28a745;  /* xanh lá */
  font-weight: 600;
}

/* Hover hiệu ứng cho khung mô tả */
.section-subtitle:hover {
  background-color: #2c6f3f;               /* xanh lá đậm */
  color: #ffffff;                          /* chữ trắng */
  transform: translateY(-3px);             /* nâng nhẹ khi hover */
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .section-subtitle {
    max-width: 95%;   /* co nhỏ lại trên mobile */
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* Chỉnh LoGo Khách hàng */

.brand-slider {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  position: relative;
}

/* Track chứa logo */
.brand-track {
  display: flex;
  gap: 60px;
  animation: slideLogos 20s linear infinite; /* tự động chạy */
}

/* Logo */
.brand-track img {
  height: 80px;
  width: 120px;
  object-fit: contain;
  transition: all 0.3s ease; /* chuyển mượt */
  filter: brightness(1);      /* mặc định */
  cursor: pointer;
  display: inline-block;
}

/* Hover - rê chuột nổi lên */
.brand-track img:hover {
  transform: translateY(-5px) scale(1.05); /* nhích lên + hơi to */                 
  box-shadow: 0 8px 20px rgba(0,0,0,0.25); /* tạo cảm giác nổi */
}

/* Animation chạy liên tục từ trái sang phải */
@keyframes slideLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* thay đổi tuỳ theo số logo */
}

/* Container logo */

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

/* Chữ logo */
.logo-text {
  font-size: 28px;
  font-weight: 700;
  color: #1f7a63;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  transition: color 0.4s ease, transform 0.4s ease;
}

/* Line hai bên - gradient đẹp hơn */
.logo-container .line {
  flex: 1;
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, #1f7a63, #2db6a3, #1f7a63);
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* Khoảng cách cho line */
.logo-container .line-left {
  margin-right: 10px;
}
.logo-container .line-right {
  margin-left: 10px;
}

/* Hover hiệu ứng */
.logo-container:hover .line {
  transform: scaleX(1.3);  /* dài hơn 30% */
  background: linear-gradient(90deg, #2db6a3, #1f7a63, #2db6a3);
}

.logo-container:hover .logo-text {
  color: #2db6a3;
  transform: translateY(-3px);
}

/* Animation gradient chạy qua line (tùy chọn) */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.logo-container .line {
  background-size: 200% 100%;
  animation: gradientMove 4s ease infinite;
  transform-origin: center;
}

/* Responsive */
@media (max-width: 768px) {
  .logo-text {
    font-size: 22px;
  }
  .logo-container .line {
    height: 2px;
    width: 40px;
  }
}



