/* Nav */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #e3dbdb;
}
.theme-bg {
  background-color: #421574;
}
.text-custom{
  color: #421574!important;
}
.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: #fff !important;
}
.nav-link {
  color: #fff !important;
  position: relative;
  transition: 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease-in-out;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link:hover {
  color: #ffeaa7 !important;
}

.navbar-toggler {
  border: none;
}
.navbar .navbar-toggler-icon {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.banner-carousel .carousel-item img {
  height: 600px;
  object-fit: cover;
  width: 100%;
}
.overlay-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1200px;
  display: flex;
  gap: 30px;
  z-index: 10;
}
.form-card {
  background: #de98eb66;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  flex: 1;
}
.form-card .form-control:focus{
  background-color: transparent;
}
.form-card input,.form-card select{
    background:transparent;
}
.info-card {
  border-radius: 20px;
  flex: 1;
}
.nav-tabs .nav-link {
  color: #666;
  border: none;
}
.nav-tabs .nav-link.active {
  color: #6a11cb;
  font-weight: bold;
  border-bottom: 2px solid #6a11cb;
}
.form-control,.form-select {
  border-radius: 10px;
}
.btn-search {
  border-radius: 30px;
}
.table img {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: 0.3rem;
}
.status-available { color: green; font-weight: 500; }
.status-sold { color: red; font-weight: 500; }
.table-container {
  overflow-x: auto;
}
.city-card {
  border: 1px solid #dee2e6;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  background-color: #f8f9fa;
  transition: 0.3s ease;
}
.city-card:hover {
  background-color: #e2e6ea;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .overlay-wrapper {
    flex-direction: column;
    transform: translate(-50%, -40%);
  }

  .banner-carousel .carousel-item img {
    height: 400px;
  }
}
/* Nav */
/* Home */
.cat-dimensions{
  height: 107px;
  /* height: 174px; */
  width: 100%;
}
.explore .nav-link{
    color: #000!important;
    font-weight: bold;
}
.explore .nav-link .active{
  color: #6a11cb!important;
  font-weight: bold;
}
.premium_auctions table{
  border: 2px solid #6a11cb;
}
.premium_auctions table th{
  background-color: #f7e4ff !important;
}
.premium_auctions{
  text-align: center;
}
.info-card .carousel-inner{
  height:300px;
}
.bg-light {
  background: #eef0f4;
}

.choices__list--dropdown .choices__item--selectable {
  padding-right: 1rem;
}

.choices__list--single {
  padding: 0;
}
/* 
.card {
  transform: translateY(-50%);
} */

.choices[data-type*=select-one]:after {
  right: 1.5rem;
}

.shadow {
  box-shadow: 0.3rem 0.3rem 1rem rgba(178, 200, 244, 0.23);
}
/* Home */
/*  Property Details */
.main-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
  }

  .section-header {
    border-bottom: 2px solid #f1f1f1;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: #2c3e50;
  }

  .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
  }

  .info-item {
    background: #f9fafc;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e0e6ed;
  }

  .info-item i {
    color: #4a6ee0;
    margin-right: 0.5rem;
  }

  .info-title {
    font-size: 0.85rem;
    color: #6c757d;
  }

  .info-value {
    font-size: 1rem;
    font-weight: 600;
  }

  .badge-pill {
    background: #4a6ee0;
    color: white;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
  }

  .top-banner {
    background-color: #421574;
    border-radius: 1rem;
    color: white;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  }

  .top-banner h1 {
    font-size: 1.8rem;
    font-weight: bold;
  }

  .top-banner p {
    margin: 0.25rem 0;
    font-size: 1rem;
  }

  .icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e7edff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
  }
  .vertical-table {
    border-radius: 1rem;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    overflow: hidden;
  }
  .vertical-table .row {
    border-bottom: 1px solid #f1f1f1;
  }
  .vertical-table .row:last-child {
    border-bottom: none;
  }
  @media (min-width:961px)  {
    .vertical-table .label {
      text-align:right;
    }
  }
  .vertical-table .label {
    background-color: #f8f9fa;
    font-weight: 600;
    padding: 1rem;
    color: #555;
  }
  .vertical-table .value {
    padding: 1rem;
    color: #333;
  }
  /*  Property Details */
  /* Search */
  .search table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
  }
  .search th, td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
  }
  .search th {
    background-color: #f1f1f1;
  }
  .search tr:hover {
    background-color: #f5f5f5;
  }
  .btn-outline-custom {
    color: #421574; /* custom text color */
    border: 1px solid #421574; /* custom border color */
    background-color: transparent;
  }
  .btn-outline-custom:hover {
    background-color: #421574; /* fill on hover */
    color: white !important;
  }
  /* Search */
  /* Property Card */
  .auction-timeline {
    position: relative;
    padding: 2rem;
  }
  .property-entry {
    position: relative;
    margin-bottom: 2rem;
    background: #fff;
    border-left: 6px solid #5c6bc0;
    padding: 1.5rem 1rem 1.5rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    transition: transform 0.2s;
  }
  .property-entry:hover {
    transform: translateY(-5px);
  }
  .ribbon {
    position: absolute;
    right: -10px;
    top: -10px;
    background: #ff4081;
    padding: 5px 15px;
    color: white;
    font-weight: bold;
    transform: rotate(15deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  .property-img {
    max-height: 150px;
    object-fit: cover;
    border-radius: 10px;
    width: 100%;
  }
  .badge-loan {
    background: #ffd740;
    color: #333;
  }
  .details {
    font-size: 0.9rem;
  }
  .btn-interest {
    background: #5c6bc0;
    color: white;
    font-weight: bold;
    border-radius: 20px;
  }
  /* Property Card */
  /* Search */
  .search-wrapper {
    max-width: 1000px;
    margin: 4rem auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    transition: all 0.3s ease;
  }

  .form-floating {
    position: relative;
    transition: all 0.3s ease;
  }

  .form-control,
  .form-select {
    border-radius: 12px;
    padding-left: 2.4rem;
    border: 1px solid #ced4da;
    transition: all 0.25s ease;
  }

  .form-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.9rem;
    pointer-events: none;
  }

  .btn-animated {
    background: linear-gradient(to right, #0d6efd, #6c5ce7);
    border: none;
    padding: 0.8rem 2.2rem;
    color: #fff;
    border-radius: 14px;
    font-weight: 600;
    transition: 0.3s ease;
  }

  .btn-animated:hover {
    background: linear-gradient(to right, #0a58ca, #4834d4);
  }

  /* Smooth Dropdowns */
  .form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='gray' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
  }

  .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.2);
  }

  @media (max-width: 768px) {
    .form-floating {
      margin-bottom: 1rem;
    }
  }
  /* Search */
  /* Blog */
  .blog-card {
    background: white;
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: 0.3s;
  }

  .blog-card:hover {
    transform: translateY(-5px);
  }

  .blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .blog-body {
    padding: 1.5rem;
  }

  .blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0d6efd;
  }

  .blog-meta {
    font-size: 0.9rem;
    color: #6c757d;
  }

  .blog-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
  }

  .tag {
    font-size: 0.75rem;
    background: #e0ebff;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    margin-right: 5px;
    color: #0d6efd;
  }

  @media (max-width: 768px) {
    .hero h1 {
      font-size: 2rem;
    }
  }
  /* Blog */
  .active>.page-link, .page-link.active{
    background-color: #421574;
    border-color: #421574;
  }