.about-section {
  line-height: 1.8;
}

/* Style dropdown menu */
.navbar .dropdown-menu {
  border-radius: 8px;
  /* bo góc */
  padding: 8px 0;
  /* khoảng cách bên trong */
  border: none;
  /* bỏ viền */
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  /* đổ bóng nhẹ */
  min-width: 220px;
  /* độ rộng tối thiểu */
}

/* Style item trong dropdown */
.navbar .dropdown-menu .dropdown-item {
  padding: 10px 18px;
  color: #333;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  border-radius: 6px;
  /* bo góc item */
}

/* Hover item */
.navbar .dropdown-menu .dropdown-item:hover {
  background-color: #8BC34A;
  /* xanh lá nhạt */
  color: #fff;
  /* chữ trắng */
}

/* Dropdown mở khi hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  animation: fadeIn 0.3s ease-in-out;
  /* hiệu ứng mượt */
}

/* Hiệu ứng fade */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo css */
.logo-circle {
  margin-right: 10px;
  height: 70px;
  width: 70px;
  /* nên để bằng nhau để bo tròn đẹp */
  border-radius: 50%;
  /* bo tròn */
  object-fit: cover;
  /* giữ hình không méo */
  border: 3px solid #8BC34A;
  /* viền xanh lá đồng bộ với web */
  padding: 3px;
  /* cách viền một chút nếu muốn */
  background: white;
  /* nền trắng để viền nổi bật hơn */
}

/*Menu*/
.navbar {
  padding: 12px 20px;
  /* border-bottom: 1px solid #eee; */
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
}

/* Nav link */
.navbar-nav .nav-link {
  font-weight: 500;
  padding: 10px 15px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: #4CAF50 !important;
  /* xanh lá */
}

.navbar-nav .nav-link.active {
  color: #4CAF50 !important;
  font-weight: 600;
}

/* Gạch chân khi hover */
.navbar-nav .nav-link::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: #4CAF50;
  transition: width 0.3s;
  margin: auto;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

/* Dropdown menu */
.dropdown-menu {
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 10px;
}

.dropdown-menu .dropdown-item {
  border-radius: 6px;
  padding: 10px 15px;
  transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
  background: #4CAF50;
  color: #fff;
}

/*thêm */
/* ========= ẨN MŨI TÊN DROPDOWN (giữ nguyên logic) ========= */
.navbar .dropdown-toggle::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  background: none !important;
}

/* ========= SEARCH: mặc định chỉ hiện kính lúp, bấm mới mở ========= */
/* Form search ở trạng thái thu gọn */
#headerSearchForm {
  width: 44px;
  /* chỉ thấy icon kính lúp */
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 999px;
  overflow: hidden;
  gap: 6px;
  transition: width .25s ease, border-color .2s ease, box-shadow .2s ease;
}

/* Ẩn input khi thu gọn */
#headerSearchForm .form-control {
  width: 0;
  min-width: 0;
  opacity: 0;
  padding: 0;
  pointer-events: none;
  background: transparent;
  color: #333;
  transition: width .25s ease, opacity .2s ease, padding .2s ease;
}

/* Màu kính lúp (theo xanh của bạn) */
#headerSearchForm .btn {
  color: #4CAF50 !important;
}

#headerSearchForm .btn:hover {
  color: #43A047 !important;
}

/* Khi focus trong form hoặc có class .open (JS đã thêm) -> mở rộng */
#headerSearchForm:focus-within,
#headerSearchForm.open {
  width: clamp(300px, 35vw, 200px);
  border-color: #4CAF50 !important;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, .18);
}

#headerSearchForm:focus-within .form-control,
#headerSearchForm.open .form-control {
  width: 100%;
  opacity: 1;
  padding: .6rem .5rem;
  pointer-events: auto;
}

#headerSearch::placeholder {
  color: #9aa4b2;
}

/* Nhỏ màn hình: mở rộng vừa phải */
@media (max-width: 576px) {

  #headerSearchForm:focus-within,
  #headerSearchForm.open {
    width: min(90vw, 360px);
  }
}

/* === Search popup: compact list, thấy được nhiều item === */
#searchPopup {
  width: min(640px, 100%);
  max-height: min(60vh, 420px);
  padding: .25rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
  overflow: auto;
}

/* Item kiểu list, thấp – để hiện được nhiều */
#searchPopup .sug-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .6rem;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background .12s ease, border-color .12s ease, transform .08s ease;
}

#searchPopup .sug-item+.sug-item {
  margin-top: .25rem;
}

#searchPopup .sug-item:hover {
  background: #f8fafc;
  border-color: #e5e7eb;
  transform: translateY(-1px);
}

/* Ảnh thu nhỏ cố định – tránh bị phóng to như hình bạn gửi */
#searchPopup .sug-item img {
  width: 56px !important;
  height: 56px !important;
  flex: 0 0 56px !important;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #e5e7eb;
}

/* Tiêu đề 2 dòng, không tràn; giá nhỏ gọn */
#searchPopup .sug-item .title {
  font-weight: 600;
  color: #0f172a;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#searchPopup .sug-item .price {
  color: #475569;
  font-weight: 700;
  font-size: .95rem;
}

/* Bỏ highlight chữ trùng (mark) — nhìn như text bình thường */
#searchPopup mark {
  background: transparent !important;
  color: inherit !important;
  font-weight: inherit !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* One-line nav trên màn ≥ xl */
@media (min-width: 1200px) {

  /* Toàn khối navbar không wrap */
  .navbar .navbar-collapse {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 16px;
    min-width: 0;
    /* cho phép co giãn hợp lý */
  }

  /* Brand + search + nav + utilities phân bổ theo 1 hàng */
  .navbar .navbar-brand {
    margin-right: 12px;
    flex: 0 0 auto;
  }

  .header-search {
    flex: 0 1 360px;
    min-width: 260px;
  }

  /* chỉnh tùy bạn */
  .navbar-nav {
    flex: 1 1 auto;
    justify-content: center;
    flex-wrap: nowrap !important;
    /* quan trọng */
    white-space: nowrap;
    /* không xuống dòng */
    min-width: 0;
  }

  .navbar-nav .nav-item {
    flex: 0 0 auto;
  }

  .navbar-nav .nav-link {
    padding: .6rem .8rem !important;
    /* thu padding để đủ chỗ */
  }

  .navbar .d-flex.ms-auto.nav-utilities {
    flex: 0 0 auto;
  }
}

/* Với màn hẹp 1200–1366: co thêm để vẫn 1 hàng */
@media (min-width: 1200px) and (max-width: 1366px) {
  .navbar-nav .nav-link {
    font-size: .98rem;
    padding: .55rem .7rem !important;
  }

  /* nếu search đang chiếm chỗ, thu nhỏ chút khi mở */
  #headerSearchForm:focus-within,
  #headerSearchForm.open {
    width: clamp(220px, 24vw, 320px);
  }
}

.about-map {
  height: 280px;
  /* tuỳ chỉnh: 200–280px đều đẹp */
  border: 1px solid var(--brand-border, #e1e7ef);
  background: #f6f8fb;
}

.about-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 575.98px) {
  .about-map {
    height: 200px;
  }
}

:root {
  --brand: #63C047;
  /* đổi sang mã xanh chuẩn nếu có */
  --brand-600: #43a72f;
  --brand-700: #2f8e22;
  --brand-soft: rgba(99, 192, 71, .12);
  --brand-border: rgba(99, 192, 71, .24);
  --muted: #6b7280;
}

/* Hero */
.about-hero {
  position: relative;
  height: 240px;
  background: linear-gradient(135deg, rgba(99, 192, 71, .14), rgba(67, 167, 47, .08)),
    url('https://preview.redd.it/zaozcexm45581.jpg?auto=webp&s=5e68c86aed8b856cf030d0f2fb362eef89be47d0') center/cover no-repeat;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .35));
}

.about-hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}

.about-title {
  font-weight: 900;
  letter-spacing: .3px;
}

.about-subtitle {
  opacity: .92;
}

/* Section title */
.section-title {
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--brand-700);
}

/* Badge items */
.about-badge {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .8rem;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  background: #fff;
}

.about-badge i {
  color: var(--brand-700);
  font-size: 20px;
  margin-top: 2px;
}

.about-badge h6 {
  margin: 0;
  font-weight: 800;
}

.about-badge p {
  color: var(--muted);
  font-size: .925rem;
}

/* Stats */
.about-stat {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  padding: 1rem 0;
}

.about-stat .num {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--brand-700);
}

.about-stat .label {
  font-size: .9rem;
  color: #374151;
}

/* Trust logos */
.about-trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  opacity: .9;
}

.about-trust img {
  height: 22px;
  opacity: .9;
  filter: grayscale(1);
}

.about-trust img:hover {
  filter: none;
  opacity: 1;
}

/* Contact */
.about-contact li {
  margin-bottom: .4rem;
  color: #1f2937;
}

.about-contact i {
  width: 20px;
  text-align: center;
  color: var(--brand-700);
  margin-right: .35rem;
}

/* Map placeholder */
.about-map {
  height: 190px;
  background: #f5f7fb;
  border: 1px dashed var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}

.about-map__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}

.about-map__placeholder i {
  font-size: 26px;
  color: var(--brand-700);
}

/* Button system (đồng bộ site) */
.btn-ghost {
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand-700);
}

.btn-ghost:hover {
  background: rgba(99, 192, 71, .18);
  border-color: var(--brand);
}

@media (max-width: 575.98px) {
  .about-hero {
    height: 200px;
  }

  .about-trust {
    flex-wrap: wrap;
    justify-content: center;
  }
}