/* Copy Animation */
.base-color {
  color: hsl(var(--main)) !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: #ff7000;
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}

.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: "";
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: "";
  font-family: "Line Awesome Free";
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}

.show-filter {
  display: none;
}

@media (max-width: 767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}

/* ////////////////// select 2 css //////////////// */
.select2-dropdown {
  border: 0 !important;
  margin-top: 8px !important;
  border-radius: 5px !important;
  box-shadow: 0 3px 9px rgba(50, 50, 9, 0.05),
    6px 4px 19px rgb(115 103 240 / 20%);
}

.select2-search--dropdown {
  padding: 10px 10px !important;
  border-color: #ced4da !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: #ced4da !important;
  padding: 5px 16px;
  border-radius: 4px;
}

.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  padding: 12px 14px !important;
  border-bottom: 1px solid #eee;
}

.select2-results__option.select2-results__message {
  text-align: center !important;
  padding: 12px 14px !important;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar {
  width: 8px;
  border-radius: 5px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb {
  background: #ddd;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow:after {
  position: absolute;
  right: 10px;
  top: 0;
  content: "\f107";
  font-family: "Line Awesome Free";
  font-weight: 900;
  transition: 0.3s;
}

.select2-container--default .select2-selection--single {
  border-color: #ced4da !important;
  border-width: 1px !important;
  border-color: white !important;
  border-radius: 4px !important;
  padding: 0 !important;
  height: 50px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 11px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow:after {
  transform: rotate(-180deg);
}

.select2-results__option:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.select2-results__option:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #f1f1f1 !important;
  color: #000 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: #e9e62c !important;
  outline: 0 !important;
}

.select2-dropdown .country-flag {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.select2-dropdown .gateway-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0px !important;
}

.select2-dropdown .gateway-subtitle {
  font-size: 12px;
  margin-bottom: 0px !important;
}

.select2-container--open .select2-selection.select2-selection--single,
.select2-container--open .select2-selection.select2-selection--multiple {
  border-color: #e9e62c !important;
  border-radius: 4px !important;
}

.gateway-card {
  padding: 15px;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: rgb(var(--main));
  border-radius: 5px;
  border: 0;
  margin-bottom: 0px;
  color: #fff;
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: #cccccf59;
  --hover-border-color: rgb(var(--main));
  background-color: #fff;
  border-radius: 5px;
  height: 100%;
}

.payment-system-list.is-scrollable {
  max-height: min(388px, 70vh);
  overflow-x: auto;
  padding-block: 4px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar-thumb {
  background-color: rgb(var(--main));
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  border: 1px solid #fff;
  border-top-color: var(--border-color);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.payment-item:first-child {
  border-top-color: #fff;
  border-radius: 5px 5px 0 0;
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid var(--hover-border-color);
  border-radius: 0px;
}

.payment-item__check {
  border: 3px solid transparent;
}

.payment-item:has(.payment-item__radio:checked) .payment-item__check {
  border: 3px solid rgb(var(--main));
}

.payment-item__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - var(--thumb-width));
}

.payment-item__check {
  width: var(--radio-size);
  height: var(--radio-size);
  border: 1px solid rgb(var(--main));
  display: inline-block;
  border-radius: 100%;
}

.payment-item__name {
  padding-left: 10px;
  width: calc(100% - var(--radio-size));
  transition: all 0.3s;
}

.payment-item__thumb {
  width: var(--thumb-width);
  height: var(--thumb-height);
  text-align: right;
  padding-left: 10px;

  &:has(.text) {
    width: fit-content;
  }
}

.payment-item__thumb img {
  max-width: var(--thumb-width);
  max-height: var(--thumb-height);
  object-fit: cover;
}

.deposit-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.deposit-info__title {
  max-width: 50%;
  margin-bottom: 0px;
  text-align: left;
}

.deposit-info__input {
  max-width: 50%;
  text-align: right;
  width: 100%;
}

.deposit-info__input-select {
  border: 1px solid var(--border-color);
  width: 100%;
  border-radius: 5px;
  padding-block: 6px;
}

.deposit-info__input-group {
  border: 1px solid var(--border-color);
  border-radius: 5px;

  .deposit-info__input-group-text {
    align-self: center;
    padding-left: 5px;
  }
}

.deposit-info__input-group .form--control {
  padding: 5px;
  border: 0;
  height: 35px;
  text-align: right;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
}

.info-text .text,
.deposit-info__input .text {
  font-size: 14px;
}

.deposit-info__title .text.has-icon {
  display: flex;
  align-items: center;
  gap: 5px;
}

.total-amount {
  border-top: 1px solid var(--border-color);
}

.total-amount .deposit-info__title {
  font-weight: 600;
}

.payment-item__btn {
  border: 0;
  border-block: 1px solid var(--border-color);
  border-bottom: 0;
  background: #fff;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
}

.payment-item:hover+.payment-item__btn {
  border-top-color: #fff;
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

label.required:after {
  content: "*";
  color: #dc3545 !important;
  margin-left: 2px;
}

/* ---------- Homepage: hero (no top property / “deal” block) ---------- */
.hero.hero--modern {
  display: flex;
  align-items: center;
  min-height: 52vh;
  padding-top: 200px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 991px) {
  .hero.hero--modern {
    min-height: auto;
    padding-top: 160px;
    padding-bottom: 80px;
  }
}

.hero--modern__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Light scrim + tint (keep photo visible; yellow headline still reads) */
  background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.22) 0%,
      rgba(0, 0, 0, 0.18) 50%,
      rgba(0, 0, 0, 0.28) 100%
    ),
    linear-gradient(
      115deg,
      rgba(0, 32, 70, 0.55) 0%,
      rgba(0, 32, 70, 0.4) 45%,
      rgba(0, 32, 70, 0.28) 100%
    );
}

.hero--modern .container {
  z-index: 1;
}

.hero--modern__inner {
  max-width: 720px;
}

@media (min-width: 992px) {
  .hero--modern__inner {
    max-width: 100%;
  }
}

.hero--modern__title {
  font-family: "Quicksand", sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/*
 * Hero headline: solid yellow (no background-clip — fixes grey/black in many browsers).
 * Entrance animates only opacity + transform; pulse animates only text-shadow (no conflict).
 */
.hero--modern__title--highlight {
  display: inline-block;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fde047 !important;
  -webkit-text-fill-color: #fde047 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85), 0 0 22px rgba(250, 204, 21, 0.5),
    0 0 40px rgba(234, 179, 8, 0.25);
  /* Keep opacity: 1 so text never disappears if animations fail */
  opacity: 1;
  transform: translate3d(0, 18px, 0);
  animation: heroTitleEnter 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    heroTitleGoldPulse 3.25s ease-in-out 0.9s infinite;
  will-change: transform;
}

@keyframes heroTitleEnter {
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroTitleGoldPulse {
  0%,
  100% {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85), 0 0 20px rgba(250, 204, 21, 0.45),
      0 0 38px rgba(234, 179, 8, 0.22);
  }
  50% {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 32px rgba(253, 224, 71, 0.95),
      0 0 52px rgba(250, 204, 21, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--modern__title--highlight {
    animation: none;
    transform: none !important;
    will-change: auto;
  }
}

.hero--modern__lead {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.92;
}

@media (min-width: 992px) {
  .hero--modern__lead {
    margin-left: 0;
    margin-right: 0;
  }
}

.btn--modern-outline {
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.55) !important;
  background: transparent !important;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn--modern-outline:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #fff !important;
  color: #fff !important;
}

/* Search strip + card (no decorative bg image) */
.main-search-area--home {
  padding: 2.75rem 0 3rem;
  overflow: visible;
}

.home-search-shell {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

@media (min-width: 992px) {
  .home-search-shell {
    padding: 2rem 2.25rem 1.75rem;
  }
}

.home-search-shell__title {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
}

.home-search-shell__sub {
  font-size: 0.95rem;
  opacity: 0.85;
}

.home-search-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  opacity: 0.9;
}

.home-search-input {
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.98) !important;
}

.home-search-btn {
  border-radius: 8px !important;
  min-height: 48px;
}

.main-search-area--home .select2-container .select2-selection--single {
  min-height: 48px;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  display: flex;
  align-items: center;
}

.main-search-area--home .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px;
  padding-left: 12px;
}

.main-search-area--home .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
}

/* Sections below homepage search: calmer rhythm */
.main-search-area ~ section:nth-child(odd) {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.main-search-area ~ section .section-header .section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.main-search-area ~ section .section-header p {
  color: #5a6570;
  max-width: 36rem;
}

.main-search-area ~ section .section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}

.property-card,
.new-list-card {
  border-radius: 12px !important;
  overflow: hidden;
  border-color: #e8ecf1 !important;
  box-shadow: 0 8px 30px rgba(0, 32, 70, 0.06) !important;
}

.property-card:hover,
.new-list-card:hover {
  box-shadow: 0 14px 40px rgba(0, 32, 70, 0.12) !important;
}

.cta-section .cta-wrapper {
  border-radius: 16px !important;
  overflow: hidden;
}

/* ---------- Property details page refresh ---------- */
.property-page--modern {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 46%, #f8fafc 100%);
}

.property-page--modern .property-details-top {
  border-radius: 14px;
  border: 1px solid #e8edf3;
  background: #fff;
  box-shadow: 0 12px 32px rgba(10, 38, 64, 0.06);
  padding: 20px;
}

.property-page--modern .property-details-header .title {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  letter-spacing: -0.02em;
}

.property-page--modern .property-details-price {
  font-size: clamp(1.35rem, 1.9vw, 2rem);
  color: var(--secondary-color);
}

.property-page--modern .property-details-meta li {
  background: #f3f7fb;
  border: 1px solid #e5edf5;
  border-radius: 999px;
  padding: 6px 12px;
  margin: 0.25rem 0.35rem;
  font-size: 0.92rem;
}

.property-page--modern .details-thumb-slider .thumb-item img {
  border-radius: 12px;
}

.property-page--modern .custom--nav-tabs.style--two {
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8edf3;
  padding: 8px;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(10, 38, 64, 0.05);
}

.property-page--modern .custom--nav-tabs.style--two .nav-item {
  margin: 0;
}

.property-page--modern .custom--nav-tabs.style--two .nav-item .nav-link {
  border-radius: 10px;
  padding: 10px 16px;
  min-width: 120px;
  text-align: center;
  color: #485464;
  font-weight: 600;
}

.property-page--modern .custom--nav-tabs.style--two .nav-item .nav-link.active {
  background: linear-gradient(90deg, var(--base) 0%, #ff7f6f 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(240, 89, 69, 0.25);
}

.property-page--modern .custom--nav-tabs.style--two .nav-item .nav-link::after {
  display: none;
}

.property-page--modern .property-details-box,
.property-page--modern .property-widget {
  border-radius: 14px;
  border: 1px solid #e8edf3;
  background: #fff;
  box-shadow: 0 10px 28px rgba(10, 38, 64, 0.05);
}

.property-page--modern .property-details-box {
  padding: 1.35rem;
}

.property-page--modern .property-details-box .title {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.property-page--modern .property-details-box .property-meta li {
  width: 33.333%;
  padding: 8px;
  color: #314154;
}

.property-page--modern .property-details-box .property-meta li i {
  color: var(--base);
}

@media (max-width: 991px) {
  .property-page--modern .property-details-box .property-meta li {
    width: 50%;
  }
}

@media (max-width: 575px) {
  .property-page--modern .property-details-box .property-meta li {
    width: 100%;
  }
}

.property-page--modern .amenities-list li {
  width: 33.333%;
  margin-bottom: 4px;
}

@media (max-width: 991px) {
  .property-page--modern .amenities-list li {
    width: 50%;
  }
}

@media (max-width: 575px) {
  .property-page--modern .amenities-list li {
    width: 100%;
  }
}

.property-page--modern .property-sidebar {
  top: 112px;
  background: transparent;
}

.property-page--modern .property-widget {
  padding: 1.15rem;
}

.property-page--modern .agent__content .name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.property-page--modern .agent-social-list li a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f3f7fb;
  border: 1px solid #e5edf5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4b5a6b;
  transition: all 0.2s ease;
}

.property-page--modern .agent-social-list li a:hover {
  background: var(--base);
  border-color: var(--base);
  color: #fff;
}

.property-page--modern .agent-form .form--control {
  border-radius: 10px;
  border: 1px solid #dfe8f2;
  background: #fbfdff;
}

.property-page--modern .agent-form textarea.form--control {
  height: auto;
  min-height: 115px;
  padding-top: 12px;
}

.property-page--modern .agent-form .btn {
  width: 100%;
  border-radius: 10px;
  min-height: 46px;
  font-weight: 700;
}