/* hero section code */
.text-span {
  font-weight: 400;
}

text-span-two {
  font-weight: 700;
}

.category-hero {
  width: 100%;
  height: 550px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.category-hero img.bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.category-hero-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  z-index: 1;
}

.category-hero-heading {
  text-align: center;
  color: #ffffff;
  font-weight: 400;
  margin-bottom: auto;
  margin-top: auto;
}

.category-hero-heading h1 {
  font-size: 40px;
  letter-spacing: 2.5px;
}

.category-search-sort-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 934px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.category-search-bar {
  flex: 1;
  position: relative;
  height: 52px;
}

.category-search-bar input {
  width: 100%;
  padding: 15px 50px 15px 60px;
  font-size: 1rem;
  background-color: #060606cc;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 5px;
}

.category-search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.6px;
}

.category-search-bar input:focus {
  border: 1px solid rgba(255, 255, 255, 0.5);
  outline: 1px solid rgba(255, 255, 255, 0.5);
}

.category-search-icon {
  position: absolute;
  height: 100%;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-search-icon img {
  object-fit: contain;
  display: block;
}

/* sort field code */
.sort-select {
  padding: 16px 44px;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  background-color: #060606cc;
  color: #ffffff;
  box-sizing: border-box;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 18px) center;
}

.sort-select:focus,
.sort-select:active {
  border: 1px solid rgba(255, 255, 255, 0.5);
  outline: none;
}

.sort-select option {
  background-color: #060606cc;
  color: #ffffff;
  font-weight: 400;
  font-size: 16px !important;
}

@media (max-width: 768px) {
  .category-hero-heading h1 {
    font-size: 30px;
  }

  .text-span {
    font-weight: 275;
  }

  text-span-two {
    font-weight: 500;
  }

  .category-search-sort-container {
    flex-direction: column;
    gap: 15px;
  }

  .category-search-bar {
    width: 100%;
  }

  .sort-select {
    width: 100%;
    padding: 14px 40px;
  }

  .category-search-bar input {
    padding: 14px 45px 14px 38px;
    font-size: 0.95rem;
  }

  .category-hero-inner {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .category-hero {
    height: 676px;
  }

  .category-search-bar input {
    padding: 12px 40px 12px 34px;
    font-size: 0.9rem;
  }

  .category-search-icon {
    left: 10px;
    top: 50%;
  }

  .category-search-icon img {
    width: 15px;
    height: 15px;
  }

  .sort-select {
    padding: 12px 40px;
    font-size: 14px;
  }

  @media (max-width: 376px) {
    .category-hero-heading h1 {
      font-size: 25px;
    }
  }
}

/************************** card section code  ********************************/

.cards-container {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.cards-container .card {
  width: 330px;
  height: 500px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s linear !important;
  border-radius: 0px !important;
}

.cards-container .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 1) 100%
  );
  z-index: 1;
  pointer-events: none;
  transition: all 0.5s ease !important;
}

.cards-container .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.cards-container .card .card-contents {
  width: 100%;
  padding: 32px 40px 0px 40px;
  position: absolute;
  bottom: 0%;
  z-index: 2;
  transition: all 1s ease !important;
}

.cards-container .card .card-contents h3 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #ffffff;
}

.cards-container .card .card-contents ul {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  padding: 0px;
}

.cards-container .card .card-contents ul li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.6px;
  color: #ffffff;
}

.cards-container .card .card-contents ul li img {
  width: 21px;
  height: 20px;
}

.cards-container .card .card-contents .arrow {
  width: 35px;
  height: 35px;
  position: absolute;
  right: 10%;
  bottom: 10%;
  transition: all 0.5s ease !important;
  opacity: 1;
  visibility: visible;
}

.cards-container .card .card-contents .arrow img {
  width: 100%;
  height: 100%;
}

.cards-container .card .card-contents .property-btn {
  padding: 15px 50px;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  transition: all 0.5s ease !important;
  color: #ffffff;
}

.cards-container .card:hover .card-contents {
  transform: translateY(-10px);
}

.cards-container .card:hover::before {
  background: rgba(0, 0, 0, 0.6);
}

.cards-container .card:hover .property-btn {
  opacity: 1;
  visibility: visible;
  max-height: 50px;
  margin-top: 0px;
  color: #ffffff;
}

.cards-container .card:hover .arrow {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 400px) {
  .cards-container .card .card-contents {
    padding: 20px;
  }

  .cards-container .card .card-contents .property-btn {
    padding: 15px 40px;
  }
}

@media (max-width: 321px) {
  .cards-container .card .card-contents {
    padding: 15px;
  }

  .cards-container .card .card-contents .property-btn {
    padding: 15px 30px;
  }

  .cards-container .card .card-contents h3 {
    font-size: 15px;
  }
}

/**************************** OWL Code ****************************** */

@media (max-width: 768px) {
  .cards-container {
    display: none;
  }

  .cards-container.owl-carousel {
    display: block;
  }

  .owl-carousel .owl-stage {
    margin-top: -50px !important;
  }

  .owl-carousel .card {
    width: 330px;
    height: 500px;
  }

  .owl-nav,
  .owl-dots {
    display: none !important;
  }

  .pagination {
    display: none;
  }
}

@media (max-width: 415px) {
  .owl-carousel .card {
    width: 315px;
  }
}

@media (max-width: 391px) {
  .owl-carousel .card {
    width: 290px;
  }
}

@media (max-width: 376px) {
  .owl-carousel .card {
    width: 280px;
  }
}

@media (max-width: 321px) {
  .owl-carousel .card {
    width: 235px;
  }
}

/********************* pagination section code  **********************/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  padding: 10px 20px;
  gap: 10px;
}

.page-num,
.prev,
.next {
  color: #fff;
  padding: 5px 10px;
  cursor: pointer;
  user-select: none;
}

.page-num.active {
  font-weight: bold;
  text-decoration: underline;
}

.ellipsis {
  color: #fff;
  padding: 5px;
  cursor: default;
}

.prev,
.next {
  background: none;
  border: none;
  font-size: 16px;
}

@media (max-width: 768px) {
  .desktop-view {
    display: none;
  }
}

/* FAQs section code */
.faq-span {
  font-weight: 200;
}

.faq-heading {
  font-weight: 400;
  text-transform: uppercase;
  font-size: 40px;
}

.category-faq-heading {
  text-align: center;
  color: #ffffff;
  padding-bottom: 25px;
}

.category-faq-heading h2 {
  letter-spacing: 2px;
}

.accordion {
  padding: 100px 20px;
}

.accordion-item {
  background-color: transparent;
  border: none;
}

.accordion-button {
  background-color: transparent;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  padding: 1.3rem 1.5rem;
  text-align: left;
}

.accordion-button:not(.collapsed) {
  color: #ffffff;
  background-color: #1a1a1a;
  box-shadow: none;
  min-height: 60px;
}

.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(100%);
}

.accordion-body {
  background-color: #1a1a1a;
  color: #ccc;
  padding: 1rem 1.5rem;
  min-height: 60px;
}

.accordion-button:focus {
  outline: none;
  box-shadow: none;
}

@media (max-width: 780px) {
  .faq-heading {
    font-size: 30px;
  }

  .accordion-button {
    font-size: 14px;
  }

  .category-faq-heading {
    padding-bottom: 35px;
  }
}

@media (max-width: 600px) {
  .accordion {
    padding: 55px 10px;
  }

  .faq-span {
    font-weight: 100;
  }
}

@media (max-width: 480px) {
  .faq-heading {
    font-size: 18px;
  }
}

.no-projects-found {
  padding: 40px 0px;
  text-align: center;
  font-size: 1.3rem;
  color: #fff !important;
}
