/* bộ lọc */
.filter-wrapper {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto;
  align-items: stretch;
}

/* Filter chính */
.filter-section {
  flex: 1;
  font-family: Arial, sans-serif;
  padding: 20px;
  background-color: #f7f7f7;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Tabs */
.filter-tabs {
  display: flex;
  margin-bottom: 20px;
}

.tab-button {
  background-color: #f7f7f7;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 16px;
  color: #555;
  border-radius: 8px 8px 0 0;
  transition: background-color 0.3s, color 0.3s;
}

.tab-button:hover {
  background-color: #0282a5;
  color: #fff;
}

.tab-button.active {
  background-color: #0282a5;
  color: #fff;
  font-weight: bold;
}

/* Thanh tìm kiếm */
.search-bar {
  display: flex;
  background-color: #4a4a4a;
  padding: 10px;
  border-radius: 8px;
  align-items: center;
  margin-bottom: 15px;
}

.search-input {
  flex-grow: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  color: #333;
}

.search-input::placeholder {
  color: #aaa;
}

.search-button {
  background-color: #d9534f;
  color: #fff;
  border: none;
  padding: 10px 25px;
  margin-left: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.search-button:hover {
  background-color: #c9302c;
}

/* Bộ lọc tùy chọn */
.filter-options {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

.filter-dropdown {
  flex: 1;
  position: relative;
}

.filter-dropdown.large-dropdown {
  flex: 1.5;
}

.dropdown-button {
  width: 100%;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  color: #555;
  transition: border-color 0.3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-button:hover {
  border-color: #aaa;
}

.dropdown-button::after {
  content: "▼";
  font-size: 10px;
  margin-left: 8px;
  float: right;
  line-height: 1;
}

/* Menu xổ xuống */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  margin-top: 5px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.filter-dropdown.show .dropdown-content {
  display: block;
}

/* Ảnh bên phải */
.filter-banner {
  flex: 0 0 350px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
}

.filter-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==== Responsive ==== */

@media (max-width: 1200px) {
  .filter-banner {
    display: none;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .filter-wrapper {
    flex-direction: column;
  }

  .filter-banner {
    flex: unset;
    width: 100%;
    height: 250px;
  }
}

/* Mobile nhỏ */
@media (max-width: 768px) {
  .filter-options {
    flex-wrap: wrap;
  }

  .filter-dropdown {
    flex: 1 1 45%;
    margin-bottom: 10px;
  }
}

/* sổ đỏ */
.red-book-check-section {
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 40px 20px;
  background-color: #f0f4ef;
}

.section-title {
  color: #3b7431;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.search-form-container {
  background-color: #3b7431;
  border-radius: 8px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-input,
.form-select {
  padding: 12px 15px;
  border: 1px solid #5a9e52;
  border-radius: 5px;
  background-color: #5a9e52;
  color: #fff;
  font-size: 1em;
  outline: none;
  transition: background-color 0.3s, border-color 0.3s;
}

.form-input::placeholder {
  color: #c9e0c6;
}

.form-input:focus,
.form-select:focus {
  background-color: #69a762;
  border-color: #69a762;
}

.form-dropdown {
  position: relative;
  min-width: 150px;
}

.form-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-position: right 10px center;
  cursor: pointer;
}

.form-dropdown::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 0;
  height: 0;
  pointer-events: none;
  transform: translateY(-50%);

  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #fff;
}

.radio-group {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 1em;
  gap: 5px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.radio-group input[type="radio"] {
  accent-color: #c9e0c6;
}

.submit-button {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  background-color: #60a556;
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.submit-button:hover {
  background-color: #62965c;
}

/* Responsive styles */
@media (max-width: 768px) {
  .search-form {
    flex-direction: column;
  }

  .form-input,
  .form-select,
  .radio-group,
  .submit-button {
    width: 100%;
    margin: 5px 0;
  }

  .search-form-container {
    padding: 15px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .search-form {
    justify-content: space-between;
  }

  .form-input,
  .form-select,
  .submit-button {
    flex-grow: 1;
    min-width: 120px;
  }

  .radio-group {
    flex-grow: 1;
    min-width: 150px;
  }
}

/* ký gửi */
.rs-main-section {
  padding: 40px 15px;
  display: flex;
  justify-content: center;
  background: #26694c;
}

.rs-main-container {
  max-width: 1200px;
  width: 95%;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  border-radius: 6px;
}

.rs-header {
  color: #fff;
  text-align: center;
  padding: 1.6rem 1rem 0.6rem;
}
.rs-header h1 {
  font-size: 2rem;
  margin: 0;
  font-weight: 700;
}
.rs-header p {
  margin-top: 0.5rem;
  font-size: 1rem;
  opacity: 0.9;
}

.rs-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.rs-form-section,
.rs-video-section {
  flex: 1;
  padding: 1.5rem;
}
.rs-form-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  text-align: center;
}

.rs-form-group {
  margin-bottom: 1rem;
}
.rs-form-group input,
.rs-form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 8px;
  background: #ffffff;
  color: #333;
  font-size: 1rem;
  transition: box-shadow 0.3s;
  border: 1px solid #2e2e2e;
}
.rs-form-group input::placeholder {
  color: #666;
  opacity: 0.8;
}
.rs-form-group input:focus,
.rs-form-group select:focus {
  background-color: #dadada;
  outline: none;
  box-shadow: 0 0 0 3px #1a4f1a55;
}

.rs-form-row {
  display: flex;
  gap: 1rem;
}
.rs-form-row .rs-form-group {
  flex: 1;
}

.rs-submit-btn {
  width: 100%;
  padding: 1rem;
  background: #23ab75;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid #2e2e2e;
}
.rs-submit-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.rs-video-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
}
.rs-video-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 12px solid #23ab75;
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 8px 14px;
  cursor: pointer;
  transition: 0.3s;
}
.play-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Modal */
.rs-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}
.rs-modal-content {
  width: 90%;
  max-width: 800px;
  position: relative;
  border-radius: 12px;
}
.rs-modal-content video {
  width: 100%;
  border-radius: 10px;
}
.rs-close-btn {
  position: absolute;
  top: -18px;
  right: 15px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s;
}
.rs-close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Responsive */
@media (min-width: 768px) {
  .rs-main-section {
    padding: 20px;
  }
  .rs-content-wrapper {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .rs-main-section {
    padding: 28px 10px;
  }

  .rs-main-container {
    padding: 0;
  }

  .rs-form-section {
    padding: 0;
  }
  .rs-video-section {
    padding: 0;
  }

  .rs-header {
    padding: 0 1rem 0.6rem;
  }
}

/* bđs item */

.bds-section {
  background-color: #f8f9fa;
  padding: 20px;
}

.bds-container {
  max-width: 1280px;
  margin: 0 auto;
}

.bds-header {
  text-align: center;
  margin-bottom: 15px;
}

.bds-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.bds-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px 0 10px;
}

.bds-divider span {
  background-color: #0282a5;
  width: 160px;
  height: 2px;
}

.intro-text p {
  color: #6b7280;
  font-style: italic;
}

.bds-filter {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 20px;
}

.filter-tab {
  padding: 6px 16px;
  border-radius: 5px;
  border: 1px solid #d1d5db;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  font-weight: 500;
}

.bds-btn-wrap {
  text-align: center;
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.bds-btn,
.btn-viewAll {
  display: inline-block;
  padding: 7px 20px;
  background-color: #059669;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bds-btn:hover,
.btn-viewAll:hover {
  opacity: 0.8;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-viewAll {
  width: 180px;
  padding: 12px 0;
}

/* item */
.bds-item {
  padding: 0 10px;
  cursor: pointer;
}

.bds-card {
  background-color: #fff;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  width: 100%;
}

.bds-card-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}

.bds-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin: 1rem 0;
}

.bds-thumbs img {
  cursor: pointer;
  flex-grow: 1;
  width: calc(25% - 0.375rem);
  height: 62px;
  object-fit: cover;
  border-radius: 0.375rem;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.bds-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bds-title {
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.bds-desc {
  font-size: 0.875rem;
  color: #4b5563;
  margin-top: 0.25rem;
}

.bds-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
  width: 100%;
}

.bds-price {
  background-color: #f8644d;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.bds-area,
.bds-type {
  font-size: 0.875rem;
  color: #4b5563;
}
.bds-area i {
  margin-right: 0.25rem;
  color: #3b82f6;
}
.bds-type i {
  margin-right: 0.25rem;
  color: #22c55e;
}

.bds-location {
  margin-top: 0.5rem;
}
.bds-old-location,
.bds-new-location {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}
.bds-old-location {
  color: #6b7280;
  text-decoration: line-through;
}
.bds-old-location i {
  color: #f8644d;
  margin-right: 0.25rem;
}
.bds-new-location {
  color: #22c55e;
  font-weight: 500;
}
.bds-new-location i {
  margin-right: 0.25rem;
}

.bds-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.4rem;
  gap: 0.75rem;
}

.bds-author {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.bds-author:hover {
  transform: scale(1.1);
}

.bds-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 10px 16px;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  flex-grow: 1;
  min-width: 100px;
}
.bds-btn i {
  margin-right: 0.5rem;
}
.bds-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.call-btn {
  background-color: #dca54a;
}

.consult-btn {
  background-image: linear-gradient(to right, #10b981, #059669);
}
.consult-btn i {
  margin-right: 0.25rem;
}

@media (max-width: 768px) {
  .slick-dotted.slick-slider {
    margin-bottom: 0;
  }
}

/* bđs details */
.thumbnail-image {
  width: 100px;
  height: 75px;
  object-fit: cover;
  flex-shrink: 0;
}
.related-post-image {
  height: 200px;
}
#mainContent {
  overflow-x: hidden;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-item {
  flex: 1 1 23%;
  background-color: #16a34a;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  color: #fff;
  transition: transform 0.3s ease-in-out;
  min-width: 150px;
}

@media (max-width: 768px) {
  .card-item {
    flex: 1 1 45%;
  }
}

.card-item:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 36px;
}

.card-value {
  font-size: 20px;
  font-weight: bold;
  margin-top: 8px;
}

.card-label {
  font-size: 14px;
}
/* --- Sidebar  --- */
#sidebarToggle {
  display: none;
  position: fixed;
  top: 78px;
  right: 24px;
  left: auto;
  z-index: 1001;
  background: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 10px 12px;
  cursor: pointer;
}
#sidebarOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1000;
}
@media (max-width: 1024px) {
  #sidebar {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    height: 100vh;
    width: 80vw;
    max-width: 340px;
    background: #fff;
    z-index: 1002;
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #sidebar.open {
    transform: translateX(0);
  }
  #sidebarToggle {
    display: block;
  }
  #sidebarOverlay.active {
    display: block;
  }
}
/* ---  mobile/tablet --- */
@media (max-width: 1024px) {
  .card-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
  }
  .card-item {
    min-width: 220px;
    flex: 0 0 auto;
  }
}

@media (max-width: 1024px) {
  .card-container {
    padding: 12px;
  }
  .card-item {
    min-width: 180px;
    padding: 12px;
  }
  .card-icon {
    font-size: 28px;
  }
  .card-value {
    font-size: 16px;
  }
  .card-label {
    font-size: 12px;
  }

  /* Post cards smaller on tablet */
  #relatedPosts > .related-post-card,
  #latestPosts > .related-post-card {
    max-width: 320px;
    padding: 12px;
  }
  #relatedPosts .related-post-image,
  #latestPosts .related-post-image {
    height: 160px;
  }
  #relatedPosts .post-thumbs img,
  #latestPosts .post-thumbs img {
    height: 40px;
  }
  #relatedPosts h2,
  #latestPosts h2 {
    font-size: 1rem;
  }
  #relatedPosts .text-sm,
  #latestPosts .text-sm {
    font-size: 0.8rem;
  }
}
@media (max-width: 640px) {
  .card-item {
    min-width: 100px;
    padding: 10px;
  }
  .card-icon {
    font-size: 24px;
  }
  .card-value {
    font-size: 14px;
  }
  .card-label {
    font-size: 12px;
  }

  /* Post cards smaller on mobile */
  #relatedPosts > .related-post-card,
  #latestPosts > .related-post-card {
    max-width: 280px;
    padding: 10px;
  }
  #relatedPosts .related-post-image,
  #latestPosts .related-post-image {
    height: 140px;
  }
  #relatedPosts .post-thumbs img,
  #latestPosts .post-thumbs img {
    height: 36px;
  }
  #relatedPosts h2,
  #latestPosts h2 {
    font-size: 0.95rem;
  }
  #relatedPosts .text-sm,
  #latestPosts .text-sm {
    font-size: 0.75rem;
  }
}

/* post */
.related-post-card {
  background: #fff;
  cursor: pointer;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  flex-grow: 1;
  transition: transform 0.3s ease;
}
.related-post-card:hover {
  transform: scale(1.05);
}

.related-post-image-wrap {
  margin-bottom: 16px;
}
.related-post-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
}

.post-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
}
.post-thumbs img {
  width: 23%;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}
@media (min-width: 1024px) {
  .post-thumbs img {
    width: 24%;
    height: 64px;
  }
}
.post-thumbs img.active {
  border-color: #10b981;
}

.post-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.post-title {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.6;
}
.post-description {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 12px;
}
.post-price {
  background: #f8644d;
  color: #fff;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
}
.post-area {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #666;
}
.post-area i {
  margin-right: 4px;
  color: #3b82f6;
}
.post-type {
  font-size: 14px;
  color: #666;
}
.post-type i {
  margin-right: 4px;
  color: #10b981;
}

.post-location {
  margin-top: 8px;
}
.post-location .old-location {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #666;
  text-decoration: line-through;
}
.post-location .old-location i {
  margin-right: 4px;
  color: #f8644d;
}
.post-location .new-location {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #059669;
}
.post-location .new-location i {
  margin-right: 4px;
}

.post-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.contact-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  flex-shrink: 0;
}

.contact-actions {
  display: flex;
  flex-grow: 1;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  flex: 1;
  transition: opacity 0.3s ease;
  cursor: pointer;
  border: none;
  min-width: 140px;
}
.contact-btn:hover {
  opacity: 0.8;
}
.call-btn {
  background: #dca54a;
}
.consult-btn {
  background: linear-gradient(to right, #10b981, #059669);
}
.contact-btn i {
  margin-right: 8px;
}

/* bđs list */
#sidebarToggle {
  display: none;
  position: fixed;
  top: 78px;
  right: 24px;
  left: auto;
  z-index: 1001;
  background: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 10px 12px;
  cursor: pointer;
}
#sidebarOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1000;
}
@media (max-width: 1024px) {
  #sidebar {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    height: 100vh;
    width: 80vw;
    max-width: 340px;
    background: #fff;
    z-index: 1002;
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #sidebar.open {
    transform: translateX(0);
  }
  #sidebarToggle {
    display: block;
  }
  #sidebarOverlay.active {
    display: block;
  }
}


/* footer4 */
.bg-primary-overlay {
  background-color: rgba(2, 130, 165, 0.5);
}

.footer-4 {
    position: relative;
    padding: 24px 0 0;
    color: rgba(255, 255, 255, 0.8);
    z-index: 1;
    border-top: 3px solid var(--primary);
}
@media (min-width: 992px) {
    .footer-4 {
        padding: 32px 0 0;
        border-top-width: 4px;
    }
}
.footer-4 a:hover {
    color: #fff;
}
.footer-4 .bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    height: 100%;
}
.footer-4 .bg:before {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
}
.footer-4 .bg-img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: -2;
    background-size: cover;
    background-position: center;
}
.footer-4 .container {
    position: relative;
    z-index: 1;
}
.footer-4 .logo-f img {
    max-width: 100%;
}
.footer-4 .ttl-f {
    position: relative;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.footer-4 .ttl-f::before {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    background-color: #fff;
    content: "";
    display: block;
    width: 50px;
}
.footer-4 .images-bct {
    padding-right: 20px;
    padding-left: 8px;
    max-width: 140px;
}
@media (min-width: 640px) {
    .footer-4 .images-bct {
        max-width: 190px;
    }
}
.footer-4 address {
    display: block;
    background-color: rgba(0, 0, 0, 0.4);
    text-align: center;
    margin-bottom: 0;
    font-size: 12px;
    font-style: normal;
    padding: 12px 16px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 640px) {
    .footer-4 address br {
        display: none;
    }
}
@media (max-width: 640px) {
    .footer-4 .list-social {
        margin-right: -12px;
    }
}
.footer-4 .menu-f li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
}
.footer-4 .ttl-sub {
    overflow: hidden;
    border-bottom: 1px solid var(--primary);
}
.footer-4 .ttl-sub span {
    display: inline-block;
    background-color: var(--primary);
    padding: 8px 12px;
    position: relative;
}
.footer-4 .ttl-sub span:before {
    position: absolute;
    top: -1px;
    bottom: -1px;
    right: -16px;
    width: 80px;
    z-index: -1;
    content: "";
    background-color: var(--primary);
    -webkit-transform: skew(24deg);
    transform: skew(24deg);
}

.footer-4 .icon-social{
    border-radius: 8px;
}

.footer-4 .icon-social:hover{
    opacity:0.8 ;
}


/* footer5 */
.bg-primary-overlay {
  background-color: rgba(2, 130, 165, 0.5);
}

.footer-5{
  position: relative;
  padding: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  z-index: 1;
  border-top: 3px solid var(--primary);
}
@media (min-width: 992px) {
  .footer-5{
    padding: 32px 0 0;
    border-top-width: 4px;
  }
}
.footer-5 a:hover {
  color: #fff;
}
.footer-5 .bg{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  height: 100%;
}
.footer-5 .bg:before{
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.4);
}
.footer-5 .bg-img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: -2;
}
.footer-5 .container{
  position: relative;
  z-index: 1;
}
.footer-5 .logo-f img {
  max-width: 100%;
}
.footer-5 .ttl-f {
  position: relative;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.footer-5 .ttl-f::before {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  background-color: #fff;
  content: "";
  display: block;
  width: 50px;
}
.footer-5 .images-bct{
  padding-right: 20px;
  padding-left: 8px;
  max-width: 140px;
}
@media (min-width: 640px) {
  .footer-5 .images-bct {
    max-width: 190px;
  }
}
.footer-5 address {
  display: block;
  background-color: rgba(0, 0, 0, 0.4);
  text-align: center;
  margin-bottom: 0;
  font-size: 12px;
  font-style: normal;
  padding: 12px 16px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 640px) {
  .footer-5 address br{
    display: none;
  }
}
@media (max-width: 640px) {
  .footer-5 .list-social{
    margin-right: -12px;
  }
}
.footer-5 .menu-f li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
}
.footer-5 .ttl-sub{
  overflow: hidden;
  border-bottom: 1px solid var(--primary);
}
.footer-5 .ttl-sub span {
  display: inline-block;
  background-color: var(--primary);
  padding: 8px 12px;
  position: relative;
}
.footer-5 .ttl-sub span:before{
  position: absolute;
  top: -1px;
  bottom: -1px;
  right: -16px;
  width: 80px;
  z-index: -1;
  content: "";
  background-color: var(--primary);
  -webkit-transform: skew(24deg);
          transform: skew(24deg);
}
.footer-5 .btn-submit-f{
  padding: 8px 20px;
  border-radius: 4px;
}

.footer-5 .map-container iframe {
  border-radius: 8px;
  width: 100%;
  height: 260px;
}

.footer-5 .icon-social{
    border-radius: 8px;
}

.footer-5 .icon-social:hover{
    opacity:0.8 ;
}

/* footer 6 */
.footer-6 {
  position: relative;
  padding: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  z-index: 1;
  border-top: 3px solid var(--primary);
}
@media (min-width: 992px) {
  .footer-6 {
    padding: 32px 0 0;
    border-top-width: 4px;
  }
}
.footer-6 a:hover {
  color: #fff;
}
.footer-6 .bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  height: 100%;
}
.footer-6 .bg:before {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.4);
}
.footer-6 .bg-img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: -2;
}
.footer-6 .container {
  position: relative;
  z-index: 1;
}
.footer-6 .logo-f img {
  max-width: 100%;
}
.footer-6 .ttl-f {
  position: relative;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.footer-6 .ttl-f::before {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  background-color: #fff;
  content: "";
  display: block;
  width: 50px;
}
.footer-6 .images-bct {
  padding-right: 20px;
  padding-left: 8px;
  max-width: 140px;
}
@media (min-width: 640px) {
  .footer-6 .images-bct {
    max-width: 190px;
  }
}
.footer-6 address {
  display: block;
  background-color: rgba(0, 0, 0, 0.4);
  text-align: center;
  margin-bottom: 0;
  font-size: 12px;
  font-style: normal;
  padding: 12px 16px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 640px) {
  .footer-6 address br {
    display: none;
  }
}
@media (max-width: 640px) {
  .footer-6 .list-social {
    margin-right: -12px;
  }
}
.footer-6 .menu-f li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
}
.footer-6 .ttl-sub {
  overflow: hidden;
  border-bottom: 1px solid var(--primary);
}
.footer-6 .ttl-sub span {
  display: inline-block;
  background-color: var(--primary);
  padding: 8px 12px;
  position: relative;
}
.footer-6 .ttl-sub span:before {
  position: absolute;
  top: -1px;
  bottom: -1px;
  right: -16px;
  width: 80px;
  z-index: -1;
  content: "";
  background-color: var(--primary);
  -webkit-transform: skew(24deg);
          transform: skew(24deg);
}
.footer-6 .btn-submit-f {
  padding: 8px 20px;
  border-radius: 4px;
}

.footer-6 .icon-social{
    border-radius: 8px;
}

.footer-6 .icon-social:hover{
    opacity:0.8 ;
}