@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
        /* background-color: #f3f3f3; */
        background-color: #d4d4d4;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      position: relative;
      z-index: 1000;
    }

    .logo img {
      margin-left: 170px;
      height: auto;
      max-width: 100%;
      display: block;
    }

    .navbar {
      display: flex;
      gap: 20px;
      align-items: center;
      padding-right: 170px;
    }

    .navbar a, .dropbtn {
      text-decoration: none;
      color: #000000;
      font-weight: bold;
      background: none;
      border: none;
      cursor: pointer;
      padding: 10px;
      font-size: 16px;
    }

    .navbar a:hover{
      border: #333;
      border-radius: 15px;
      /* background-color: #d0d0d0 ; */
      color: #ffffff;
    }

    /* Hamburger icon */
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
      z-index: 1002;
      
    }

    .hamburger span {
      width: 25px;
      height: 3px;
      background-color: #333;
      transition: all .3s ease;
    }


footer {
    display: block;
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 550;
    padding: 1%;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    /* background-color: #333; */
        background-color: #d4d4d4;
    color: white;
}

#footer-placeholder footer p,
#footer-placeholder footer a,
#footer-placeholder footer li {
  padding-left: 0 !important;       /* chặn rule p{padding-left:50px} toàn cục */
  text-align: left !important;
}

.footer-container {
  display: block;   
  max-width: 100%;
  margin-left: 155px;
  padding: 0 15px;
  justify-content: space-between;
}

.footer-info {
  /* color: rgb(250, 221, 34); */
      color: #000000;
  margin-top: 10px;
  text-align: left;
  padding-bottom: 30px;
  /* border-bottom: 1px solid #dfd515; */
  border-bottom: 1px solid #000000;
}

.footer-social {
  padding-bottom: 30px;
  display: flex;           /* map và fb nằm ngang */
  gap: 500px;               /* khoảng cách giữa 2 khối */
  border-bottom: 1px solid #000000;
  align-items: flex-start; /* căn thẳng hàng trên */
}

.footer-map {
  text-align: left;
}

.footer-map, .footer-facebook a {
  font-weight: bold;
  font-size: 20px;
  /* color: rgb(250, 221, 34); */
      color: #000000;

}

.footer-map iframe,
.footer-facebook iframe {
  width: 500px;
  height: 130px;
}

.footer-copyright {
  margin-top: 20px;
  /* color: rgb(250, 221, 34); */
      color: #000000;
  margin-top: 10px;
  text-align: center;
}

  nav.breadcrumb-nav {
     background-color: #cecece;
    padding: 10px 20px;
    /* background-color: #f5f5f5; */
  }
  ul.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    font-size: 0.9rem;
    padding-left: 170px;
  }
  ul.breadcrumb li + li:before {
    content: "/";
    margin: 0 0.5em;
    color: #888;
  }
  ul.breadcrumb a {
    color: black;
    text-decoration: none;
    /* font-weight: bold; */
  }
  ul.breadcrumb a:hover {
    text-decoration: underline;
  }


/* Nút đóng */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}

    .popup-content input, 
    .popup-content textarea, 
    .popup-content button {
      width: 100%;
      margin: 8px 0;
      padding: 8px;
      font-size: 14px;
    }

    .popup-content button {
      background: #ff6600;
      border: none;
      color: #fff;
      cursor: pointer;
    }


/* Nút gọi 📞 */
.call-button {
  position: fixed;
  right: 20px;
  bottom: 20px; /* dưới cùng */
  width: 55px;
  height: 55px;
  background: #28a745;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: background 0.3s;
}

.call-button:hover {
  background: #1e7e34;
}

.call-button svg {
  fill: #fff;
  width: 28px;
  height: 28px;
}

/* === GHI ĐÈ DESKTOP: đưa menu sát logo === */
@media (min-width: 769px) {
  header{
    justify-content: flex-start;   /* thay cho space-between */
    column-gap: 24px;              /* khoảng hở giữa logo và menu */
  }

  .logo img{
    margin-left: 330px;                /* bỏ 170px đang đẩy logo */
    height: 80px;                  /* tùy chỉnh nếu cần */
  }

  .navbar{
    padding-right: 0;              /* bỏ 170px bên phải */
    gap: 18px;                     /* khoảng cách giữa các mục */
  }
  
  /* (tuỳ chọn) giảm padding item đầu để sát hơn */
  .navbar a:first-child,
  .navbar .dropbtn:first-child{
    padding-left: 300px;
  }
}

/* Breadcrumb vẫn đẹp khi kéo menu về trái */
ul.breadcrumb { padding-left: 0; }


/* Responsive */
/* -----------------------------------
   Mobile menu (≤768px)
----------------------------------- */
@media (max-width: 768px) {
  /* Đảm bảo header luôn ở trên cùng */
  header {
    position: relative;
    z-index: 1000;
  }

  /* căn chỉnh logo trên điện thoại */
   .logo {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
  }

  .logo img {
    margin-left: 15px;     /* Xóa khoảng cách bên trái */
    height: 80px;        /* Tuỳ chỉnh kích thước logo */
  }

  /* Hamburger luôn hiển thị */
  .hamburger {
    display: flex;
    cursor: pointer;
    z-index: 1002;
  }

  /* Menu nav */
  .navbar {
    /* Chuyển sang fixed để phủ lên toàn bộ */
    position: fixed;
    top: 0;              /* bắt đầu từ đầu viewport */
    left: 0;
    width: 80%;          /* bạn có thể chỉnh lại %, 100% nếu muốn full */
    max-width: 300px;    /* giới hạn chiều rộng */
    height: 100vh;       /* phủ full chiều cao */
    background-color: #fff;
    display: none;       /* ẩn theo mặc định */
    flex-direction: column;
    padding: 20px;
    border-right: 1px solid #ddd;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    z-index: 1001;       /* luôn cao hơn body */
    overflow-y: auto;    /* cuộn nếu nhiều item */
    transition: transform .3s ease;
    transform: translateX(-100%);
  }

  /* Khi add class .show thì kéo vào */
  .navbar.show {
    display: flex;
    transform: translateX(0);
  }

   ul.breadcrumb {
    padding-left: 0;          /* bỏ padding */
    font-size: 0.85rem;       /* nhỏ gọn hơn */
    justify-content: flex-start; /* căn trái */
  }

  nav.breadcrumb-nav {
    padding: 8px 12px;       /* thu gọn khoảng cách */
  }

   ul.breadcrumb a{
    /* padding-left: 50px; */
    font-size: 10px;
  }
       .call-button {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
      }
      .call-button svg {
        width: 24px;
        height: 24px;
      }


html, body { overflow-x: hidden; }
  #footer-placeholder, #footer-placeholder * { box-sizing: border-box; }

  /* Khối footer chung */
  #footer-placeholder footer {
    padding: 14px 12px !important;
    background-clip: padding-box;    /* tránh co kéo lạ */
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;   /* chặn tràn ngang */
  }

  /* Container & cột: xếp dọc, căn trái, không tự căn giữa */
  #footer-placeholder footer .footer-container {
    display: block !important;       /* thay vì flex căn giữa */
    width: 100% !important;
  }

  #footer-placeholder footer .footer-column {
    width: 100% !important;
    max-width: 320px !important;     /* gọn khối nội dung */
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  /* Vô hiệu mọi căn giữa/đẩy lề từ các class bạn nêu */
  .footer-info,
  .footer-social {
    text-align: left !important;
    display: flex !important;
    flex-direction: row !important;  /* icon mạng XH nằm ngang; đổi 'column' nếu muốn */
    justify-content: flex-start !important;
    /* align-items: center !important; */
    gap: 14px !important;
  }

  /* Nếu muốn social để dọc, dùng dòng dưới thay cho 4 dòng trên:
     .footer-social { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; } */

  /* Map / Facebook embed: full chiều ngang, không đẩy layout */
  .footer-map iframe,
  .footer-facebook iframe,
  #footer-placeholder footer iframe,
  #footer-placeholder footer img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    display: block;
  }
  .footer-map iframe,
  .footer-facebook iframe { height: 140px !important; border: 0; border-radius: 6px; }

  /* Văn bản trong footer: nhỏ gọn, bỏ mọi lề trái */
  #footer-placeholder footer p,
  #footer-placeholder footer a,
  #footer-placeholder footer li,
  #footer-placeholder footer h4 {
    margin: 4px 0 !important;
    padding: 0 !important;
    text-align: left !important;
    line-height: 1.4;
  }

    .footer-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin: 0 auto !important;
    padding: 0 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 2) Bỏ các kích thước cứng gây tràn/đẩy layout */
  .footer-map iframe,
  .footer-facebook iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: 140px !important;
  }

  /* 3) Social: bỏ gap quá lớn trên desktop */
  .footer-social {
    gap: 12px !important;       /* thay cho gap: 500px; */
    flex-wrap: wrap;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  /* 4) Văn bản: đảm bảo lề trái, không còn padding-left “di truyền” */
  footer p, footer a, footer li, footer h4 {
    padding-left: 0 !important;
    text-align: left !important;
    margin: 4px 0 !important;
    line-height: 1.4;
    word-break: break-word;
  }
}

/* (TÙY CHỌN) Thu hẹp phạm vi rule p toàn cục để khỏi ảnh hưởng footer */
.about-text p, .news-item p { padding-left: 50px; }



