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

.fw-bold {
  font-weight: bold !important;
}

.search-section {
  padding: 2rem 0;
}

.nav-tabs {
  border-bottom: none;
}

.nav-tabs .nav-link {
  color: white !important;
  font-size: 1.5rem;
  font-weight: 600;
  border: none;
  padding: 0.5rem 1rem;
  position: relative;
  cursor: pointer;
}

.nav-tabs .nav-link.active {
  background: transparent;
  border: none;
}

.nav-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: #495057;
  /* Indigo underline color */
}

.search-input-container {
  position: relative;
  margin-top: 1rem;
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
}

.search-input {
  border: none;
  padding: 1rem 1.5rem;
  width: 100%;
  font-size: 1rem;
  color: #666;
}

.search-input:focus {
  outline: none;
  box-shadow: none;
}

.search-button {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: #1e3a8a;
  /* Indigo button background */
  border-radius: 1.5rem;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.search-button:hover {
  background: #2b4b9b;
  /* Darker indigo on hover */
}

.search-button svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: white;
}

.search-button span {
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
}

.property-types {
  color: #fff !important;
  margin-top: 1rem;
  font-size: 1rem;
}

.property-types a {
  color: white;
  text-decoration: none;
  margin: 0 0.5rem;
}

.property-types a:hover {
  text-decoration: underline;
}

.property-types span {
  color: white;
}

/* Ensure high specificity for tab-pane styles */
#searchTabContent .tab-pane {
  display: none !important;
}

#searchTabContent .tab-pane.active {
  display: block !important;
}


.real-estate-section {
  background-color: #fff;
  /* White background */
  padding-bottom: 3rem;
}

.header-text {
  font-size: 1.5rem;
  /* 24px for smaller screens */
  font-weight: 600;
  color: rgb(71 146 253);
  /* Dark blue (text-realty equivalent) */
  line-height: 1.5;
}

.header-text p {
  color: rgb(71 146 253);
  margin-bottom: 0;
}

.card-container {
  background-color: rgb(35 40 107);
  /* Dark blue (bg-realty-navyblue equivalent) */
  border-radius: 1.5rem;
  /* rounded-2xl */
  position: relative;
  color: white;
  padding: 1rem;
  /* Default padding for smaller screens */
}

.card-content h2 {
  font-size: 1.125rem;
  /* 18px (text-lg) */
  font-weight: 600;
  color: rgb(71 146 253);
  /* Light blue (text-realty equivalent) */
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.card-content p:first-of-type {
  font-size: 1.5rem;
  /* 24px for smaller screens */
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  color: #fff;
}

.card-content p:last-of-type {
  font-size: 1rem;
  /* 16px for smaller screens */
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 2rem;
  color: #fff;
  max-width: 28rem;
}

.card-content .btn-custom {
  background-color: rgb(71 146 253);
  ;
  /* Light blue (bg-realty equivalent) */
  color: #fff;
  /* Dark blue text */
  font-size: 0.875rem;
  /* 14px (text-sm) */
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 1.5rem;
  /* rounded-2xl */
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.card-content .btn-custom:hover {
  background-color: #8b9de8;
  /* Slightly darker blue (bg-realty-dark equivalent) */
}

.card-image {
  position: absolute;
  bottom: 0;
  right: -1.5rem;
  /* Adjusted to align with the edge */
  width: 33rem;
  height: auto;
}

.box-shadow {
  --tw-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.text-blue {
  color: rgb(71 146 253);
}

.bg-blue {
  background-color: rgb(71 146 253) !important;
}

.card-container-1 {
  background-image: url('../img/bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.card-container-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent black overlay */
  z-index: 1;
  /* Places overlay behind content but above background */
}

.card-content-1 {
  position: relative;
  z-index: 2;
  /* Brings content above the overlay */
  padding: 20px;
  /* Optional: Adds some spacing inside the card */
}
.commercial p {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
@media (min-width: 992px) {
  .header-text {
    font-size: 2.25rem;
    /* 36px for lg (text-4xl) */
  }

  .card-container {
    padding: 4rem;
    /* lg:p-16 */
  }

  .card-content h2 {
    margin-top: 0;
  }

  .card-content p:first-of-type {
    font-size: 1.875rem;
    /* 30px for lg (text-3xl) */
    max-width: 28rem;
    /* lg:max-w-md */
  }

  .card-content p:last-of-type {
    font-size: 1.125rem;
    /* 18px for lg (text-lg) */
  }

  .card-content .btn-custom {
    padding: 0.75rem 2.5rem;
    /* lg:px-10 */
  }
}

@media (max-width: 991.98px) {
  .card-image {
    display: none;
  }

  .card-content {
    text-align: center;
  }
}