.jbs-crd-wp {
  padding: 100px 0 40px;
}

.aos-init {
  padding: 0 1.5rem;
}

.jbs-crd-wp .jbs-flip {
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: 4px;
  height: 300px;


}

.jbs-crd-wp .jbs-flip>.front,
.jbs-crd-wp .jbs-flip>.back {
  display: block;
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-duration: 0.5s;
  transition-property: transform, opacity;
}

.jbs-crd-wp .jbs-flip>.front {
  transform: rotateY(0deg);
}

.jbs-crd-wp .jbs-flip>.front .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  height: 24px;
  line-height: 18px;
  font-weight: 400;
}

.jbs-crd-wp .jbs-flip>.front .badge+.badge {
  top: 42px;
}

.jbs-crd-wp .jbs-flip>.front .badge+.badge+.badge {
  top: 72px;
}

.jbs-crd-wp .jbs-flip>.back {
  position: absolute;
  opacity: 0;
  top: -50px;
  left: 0px;
  right: 0;
  bottom: 72px;

  transform: rotateY(-180deg);
  padding-top: 50px !important;
}

.jbs-crd-wp .jbs-flip:hover>.front {
  transform: rotateY(180deg);
}

.jbs-crd-wp .jbs-flip:hover>.front h3 {
  transform: rotateY(-180deg);
  background: #ffc107;
  color: #092270;
}

.jbs-crd-wp .jbs-flip:hover>.back {
  opacity: 1;
  transform: rotateY(0deg);
}

.jbs-crd-wp .jbs-flip {
  position: relative;

}

.jbs-crd-wp .jbs-flip>.front,
.jbs-crd-wp .jbs-flip>.back {
  display: flex;
  background-size: cover !important;
  background-position: center !important;
  width: 100%;
  padding: 0px;
  background: #092270f4;
  overflow: hidden;
  align-items: center;
  color: #ffffff;
  justify-content: center;
}

.jbs-crd-wp .jbs-flip>.front h3 {
  align-self: flex-end;
  background: #0071e3;
  flex: 1;
  margin: 0;
  padding: 5px 10%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.jbs-crd-wp .jbs-flip>.back p {
  padding: 0 30px;
  text-align: center;
  color: #ffffff
}

.jbs-crd-wp .jbs-flip>.back h2 {
  border-bottom: 3px solid #ffc107;
  font-size: 18px;
}

.jbs-crd-wp .caption {
  padding: 0.7rem 0.5rem 1.2rem;
}

.jbs-crd-wp .caption p {
  color: #687983;
  font-size: 15px;
  font-weight: 500;
  text-align: justify;
}

.main-banner h2 {
  color: #092270;
  font-size: 1.5rem;
  text-align: justify;
}

.main-banner h1 {
  color: #0071e3;
}

.f-slug h1 {
  display: inline-block;
  color: #092270;
  border-bottom: 2px solid #092270;
  padding-bottom: 10px;
}

.settype {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.settype a {
  font-size: 14px;
  margin-right: 5px;
}

.settype a i {
  margin-right: 5px;
  font-size: 13px;
}

body[dir='ltr'] .settype a i {
  transform: rotate(180deg);
}

@media (max-width: 991.98px) {
  .settype {
    flex-direction: column;
  }
}

/* Logo styles for camp cards */
.card-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 16px 16px;
}

.card-logos>a {
  width: calc((100% - 30px) / 4);
  height: auto;
  aspect-ratio: 3 / 2;
  transition: all 3 ease-in-out;
}

.card-logos>a img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  transition: all 3 ease-in-out;
}

.tooltip .tooltip-inner {
  background-color: #092270 !important;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  font-family: "29LT Bukra", tahoma;
  padding: 8px 12px;
  border-radius: 4px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.tooltip.bs-tooltip-top .arrow::before {
  border-top-color: #092270;
  /* arrow color on top */
}

.tooltip.bs-tooltip-bottom .arrow::before {
  border-bottom-color: #092270;
}

.tooltip.bs-tooltip-left .arrow::before {
  border-left-color: #092270;
}

.tooltip.bs-tooltip-right .arrow::before {
  border-right-color: #092270;
}

.logo-img:hover {
  border-color: #09237052 !important;
}

.inner-camps span.badge {
  font-weight: 400;
  padding: 0.25rem 0.375rem;
  width: fit-content;
  font-size: 11px;
}

.inner-camps h6.card-subtitle {
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  border-block-end: 1px solid #ddd;
  padding: 12px 16px;
  margin-block: 6px 12px;
  line-height: 19px;
}

.inner-camps h6.card-subtitle i {
  font-size: 18px;
  color: #0071e3;
  margin-top: -5px;
}

.inner-camps h6.card-subtitle .badge {
  margin-inline-start: auto;
}

.inner-camps .camp-card {
  background-color: #092270;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  height: 15rem;
  background-size: cover;
  object-fit: cover;
  position: relative;
}

.inner-camps .camp-card h5 {
  font-weight: 500;
  font-size: 18px;
  color: #ffffff;
  position: relative;
  z-index: 3;
  line-height: 2;
}

.inner-camps .camp-card img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: .25;
}

.inner-camps .camp-card span.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding-top: 5px;
}

.inner-camps p.card-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: auto;
  padding: 0 16px;
}

.inner-camps .card-body {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.inner-camps .card {
  overflow: hidden;
  border-radius: 8px;
}

/* Landing Page Styles */
.card.shadow-sm {
  transition: all 0.3s ease;
}

.card.shadow-sm:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

.card-body i {
  transition: all 0.3s ease;
}

.card:hover .card-body i {
  transform: scale(1.1);
}

.btn-block {
  transition: all 0.3s ease;
}

.btn-block:hover {
  transform: translateY(-2px);
}

/* Page Headers */
.display-3,
.display-4 {
  font-weight: 700;
}

/* Filter Navigation Styles */
.btn-group .btn {
  border-radius: 0;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-group .btn:first-child {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

.btn-group .btn:last-child {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

.btn-group .btn.active {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-group .btn:hover {
  transform: translateY(-1px);
}

/* RTL fixes for button group */
.btn-group .btn:first-child {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn-group .btn:last-child {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Card animation for filtering */
.col-md-4 {
  transition: opacity 0.3s ease;
}

/* Search and Filter Styles */
.input-group-text {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  color: #495057;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#searchInput {
  border-radius: 0 0.375rem 0.375rem 0;
}

#locationFilter {
  border-radius: 0 0.375rem 0.375rem 0;
}

/* Clear button styling */
.btn-outline-secondary {
  border-color: #6c757d;
  color: #6c757d;
}

.btn-outline-secondary:hover {
  background-color: #6c757d;
  border-color: #6c757d;
  color: white;
}

/* RTL adjustments for input groups */
.input-group-prepend .input-group-text {
  border-left: none;
  border-right: 1px solid #dee2e6;
}

.input-group .form-control {
  border-right: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .input-group {
    margin-bottom: 1rem;
  }

  .btn-block {
    width: 100%;
  }
}

.search-filter-wp {
  padding: 16px;
  background: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 30px;
}

.search-filter-wp .form-control {

  border-radius: 5px !important;
}

.search-filter-wp .btn-group .btn.active {
  transform: translateY(-0px);
  box-shadow: none !important;
  opacity: 1;

}

.search-filter-wp .btn-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.search-filter-wp .btn-group .btn {
  border-radius: 5px !important;
  width: fit-content !important;
  font-size: 13px;
  opacity: 0.7;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;

}

input#searchInput {
  height: 36px;
  padding: 0 12px;
  font-size: 13px;

}


div#campsCount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  background-color: #00000010;
  padding: 0 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  gap: 1rem;
  width: fit-content;
  margin-inline-start: auto;
  color: #6c757d;
}

span#campsCountNumber {
  font-weight: 700;
  color: #092270;
}