html {
  scroll-behavior: smooth;
}

.webstra-btn-outline-light {
  --si-btn-color: #fff;
  --si-btn-border-color: #fff;
  --si-btn-hover-color: #000;
  --si-btn-hover-bg: #fff;
  --si-btn-hover-border-color: #fff;
  --si-btn-focus-shadow-rgb: 255, 255, 255;
  --si-btn-active-color: #000;
  --si-btn-active-bg: #fff;
  --si-btn-active-border-color: #fff;
  --si-btn-active-shadow: unset;
  --si-btn-disabled-color: #fff;
  --si-btn-disabled-bg: transparent;
  --si-btn-disabled-border-color: #fff;
  --si-gradient: none;

  --si-btn-border-color: rgba(255, 255, 255, 0.14);
  --si-btn-disabled-border-color: rgba(255, 255, 255, 0.14);

  --si-btn-border-color: rgba(255, 255, 255);
  --si-btn-hover-color: #33354d;
  --si-btn-active-color: #33354d;
  --si-btn-hover-bg: #fff;
  --si-btn-active-bg: #fff;
}

.webstra-btn-outline-light-blue {
  --si-btn-color: #004823 !important;
  --si-btn-border-color: #004823;
  --si-btn-hover-color: #fff;
  --si-btn-hover-bg: #02eda2;
  --si-btn-hover-border-color: #02eda2;
  --si-btn-focus-shadow-rgb: 11, 15, 25;
  --si-btn-active-color: #fff;
  --si-btn-active-bg: #02eda2;
  --si-btn-active-border-color: #02eda2;
  --si-btn-active-shadow: unset;
  --si-btn-disabled-color: #02eda2;
  --si-btn-disabled-bg: transparent;
  --si-btn-disabled-border-color: #02eda2;
  --si-gradient: none;
}

.webstra-bg-dark-blue {
  --si-bg-opacity: 1;
  background-color: #004823 !important;
}

.webstra-footer-biglink {
  padding: 25px;
  border-radius: 0.5rem;
  border-color: rgba(164, 174, 198, 0.2) !important;
  border: 1px solid;
}

.webstra-footer-biglink:hover > *,
.webstra-footer-biglink:hover > * > * {
  /*   background-color: rgba(128, 128, 128, 0.05); */
  color: #02eda2 !important;
}

.webstra-nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.webstra-nav i {
  color: #0b0f19;
}

.nav-link:hover,
.nav-link:focus {
  color: #02eda2 !important;
}

.btn.hover > i {
  color: #fff;
}

.webstra-hover-blue:hover > *,
.webstra-hover-blue:hover > * > * {
  color: #02eda2 !important;
}

.webstra-hover-blue-parent:hover {
  color: #02eda2 !important;
}

.webstra-hover-underline {
  text-decoration: none !important;
}

.webstra-hover-underline:hover > p {
  text-decoration: underline !important;
  color: #fff;
}

.webstra-modal-link {
  text-decoration: none !important;
  display: flex;
  align-items: center; /* This will vertically center the content */
}

.webstra-modal-link:hover {
  color: #02eda2 !important;
}

/* noUiSlider Styling */

/* .noUi-target {
  height: 10px; Adjust this value to make the slider line as thick as you want
}

Styling the tooltip
.noUi-tooltip {
  font-size: 16px !important;  adjust font size
  font-weight: 800 !important;
  padding: 10px !important;  adjust padding
  border-radius: 4px !important; optional: for rounded corners
  background-color: #004823 !important;  Color for the tooltip
  color: #fff !important;  text color
}

.noUi-handle {
  margin-top: 0px !important;
  top: -6px !important;
} */

.bg-gradient-primary {
  /* background: linear-gradient(90deg, #004823 0%, #a40785 50%, #02eda2 100%) !important; */

  background: linear-gradient(90deg, #004823 0%, #02eda2 100%) !important;
}

.btn-instagram {
  border-width: 0px;
}

.btn-instagram:hover {
  background: #d6249f !important;
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  ) !important;
  box-shadow: 0 0.375rem 1.125rem -0.375rem #d6249f80 !important;
}

.btn-youtube {
  border-width: 0px;
}

.btn-youtube:hover {
  background: #d6249f !important;
  background: linear-gradient(60deg, #00fff0, #ff007f) !important;
  box-shadow: 0 0.375rem 1.125rem -0.375rem #d6249f80 !important;
}

#contact-button {
  border-color: #d4d7e5;
  border-radius: var(--si-btn-border-radius);
  border-width: 1px;
}

#contact-button:hover {
  border: none;
}

.form-control:focus {
  color: #565973;
  background-color: #fff;
  border-color: #02eda235;
  outline: 0;
  box-shadow:
    inset 0 0 0 rgba(0, 0, 0, 0),
    0 0.5rem 1.125rem -0.5rem rgba(99, 102, 241, 0.2);
}

.dropdown-item:hover {
  color: #02eda2 !important;
}

.webstra-link:hover {
  color: #02eda2 !important;
  /* text-decoration: underline; */
}

.webstra-link p:hover > a {
  color: #02eda2 !important;
  /* text-decoration: underline; */
}

.webstra-btn-hover:hover {
  color: #fff !important;
  background-color: #02eda2 !important;
}

.webstra-card {
  text-decoration: none;
  cursor: pointer;
}

.webstra-card:hover {
  color: #02eda2;
}

#afford,
#call,
#position,
#get-free-consultation,
#calculator,
#team,
#process,
#faq,
#contact-form {
  scroll-margin-top: 90px;
}

.aspect-ratio-16-9 {
  position: relative;
  padding-top: 70%;
}

.aspect-ratio-16-9 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* max-height: 290px; */
  object-fit: cover;
}

.aspect-ratio-16-9 a {
  z-index: 20 !important;
}

/* Interest Rate Calculator */
.input-group-text {
  flex: 1; /* Make input group text full width */
  justify-content: space-between; /* Position items on opposite ends */
  align-items: center; /* Center items vertically */
}

.input-group-text i {
  font-size: 1.5rem; /* Increase icon size */
}

.form-check-input {
  margin-top: 0; /* Align radio button vertically */
  margin-left: 4px; /* Space on the left of the radio button */
  margin-right: 0; /* Reset right margin */
}

/* LEFT SIDE SPAN AND I */

.input-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
}

.input-wrapper::before {
  content: '';
  display: block;
}

.input-wrapper .form-control {
  flex-grow: 1;
  z-index: 1;
}

.euro-placeholder-different {
  position: absolute;
  left: 10px;
  margin-top: auto;
  margin-bottom: auto;
  top: 0;
  bottom: 0;
  height: fit-content;
  z-index: 2;
}

.input-wrapper .invalid-feedback {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  z-index: 3;
}

.webstra-placeholder-roi {
  padding-left: 30px;
}

/* RIGHT SIDE SPAN AND I */
/* .input-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
}

.input-wrapper::before {
  content: "";
  display: block;
}

.input-wrapper .form-control {
  flex-grow: 1;
  z-index: 1;
  padding-right: 30px;
}

.euro-placeholder-different {
  position: absolute;
  right: 10px;
  margin-top: auto;
  margin-bottom: auto;
  top: 0;
  bottom: 0;
  height: fit-content;
  z-index: 2;
}

.input-wrapper .invalid-feedback {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  z-index: 3;
} */

/* .input-wrapper {
  position: relative;
} */

/* .euro-placeholder-different {
  position: relative;
  left: 10px;
  top: 34px;
  vertical-align: middle !important;
} */

.euro-placeholder {
  /* position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; */
  position: absolute;
  left: 10px;
  margin-top: auto;
  margin-bottom: auto;
  top: 0;
  bottom: 0;
  height: fit-content; /* Adjust the height to the content */
  z-index: 2; /* Ensure the symbol is above the pseudo element */
}

.webstra-placeholder {
  padding-left: 30px; /* Adjust as needed for proper spacing */
}

.webstra-nav-link:focus {
  color: white !important;
}

.Shell {
  display: flex; /* To align items in a row */
  flex-wrap: wrap; /* Allows items to wrap to the next line */
  gap: 8px; /* This creates a 2px gap between items */
}

.webstra-bank-image {
  /* max-width: 100px; */

  height: 30px; /* Adjust as needed */
  width: auto;
  object-fit: contain; /* Keeps the aspect ratio of the image */
}

.webstra-partners-image {
  /* max-width: 100px; */

  height: 40px; /* Adjust as needed */
  width: auto;
  object-fit: contain; /* Keeps the aspect ratio of the image */
}

.webstra-partners-image-2 {
  /* max-width: 100px; */

  height: 50px; /* Adjust as needed */
  width: auto;
  object-fit: contain; /* Keeps the aspect ratio of the image */
}

/* Video CSS */
.video-background {
  position: relative;
  width: 100%; /* Width is set to 100% of the container */
  height: 100%; /* Height is set to the viewport height */
  overflow: hidden;
}

.video-style {
  width: 100%; /* Video width is set to 100% of the container */
  height: 100%; /* Video height is set to 100% of the container */
  object-fit: contain; /* Ensures entire video is visible */
  display: block; /* Removes any extra space below the video */
  margin: auto; /* Centers video in the container */
}

.webstra-divider-container {
  display: flex;
  align-items: center; /* Vertikal zentriersen */
  justify-content: center; /* Horizontal zentrieren */
}

.webstra-divider-line {
  flex-grow: 1; /* Erlaubt dem Element, den verfügbaren Platz auszufüllen */
  height: 1px;
  background-color: #d1d1d1; /* Farbe des Strichs */
  margin: 0 10px; /* Abstand zwischen dem Strich und dem Text */
}

.webstra-divider-icon {
  padding: 0 10px; /* Abstand zum Strich */
  z-index: 1; /* Über den Strich legen */
  background-color: #fff; /* Hintergrundfarbe, um den Strich hinter dem Text zu verbergen */
}

.webstra-margin-top-negative {
  margin-top: -126px !important;
}

@media (max-width: 991px) {
  .webstra-margin-top-negative {
    margin-top: -83px !important;
  }
}

.webstra-img-project {
  display: block;
  width: 100%; /* Ensures the image spans the full width of its container */
  height: auto; /* Keeps the aspect ratio intact */
  object-fit: cover; /* Ensures the image fills the container without distortion */
}

@media (min-width: 1400px) {
  /* Extra extra large devices (xxl) */
  .webstra-img-project {
    height: 600px;
  }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
  /* Large devices (lg) */
  .webstra-img-project {
    height: 600px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Medium devices (md) */
  .webstra-img-project {
    height: 450px;
  }
}

@media (max-width: 767.98px) {
  /* Small and extra small devices */
  .webstra-img-project {
    height: 400px;
  }
}

.webstra-gap {
  column-gap: 40px !important; /* Horizontal gap */
  row-gap: 10px !important; /* Vertical gap */
}

/* .webstra-filter-real-estate {
  padding: 0 150px 0 150px !important;
}

@media (max-width: 991.98px) {
  .webstra-filter-real-estate {
    padding: 0 100px 0 100px !important;
  }
}

@media (max-width: 580px) {
  .webstra-filter-real-estate {
    padding: 0 20px 0 20px !important;
  }
} */

/* Floating Consultation Button */
.floating-consultation-btn {
  position: fixed;
  bottom: 14px;
  left: 14px;
  background-color: #004823; /* Bootstrap Primary Color */
  color: #fff;
  border-radius: 50%;
  padding: 10px;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s,
    background-color 0.3s;
  text-decoration: none;
}

.floating-consultation-btn:hover {
  transform: scale(1.1);
  background-color: #02eda2; /* Darker Shade on Hover */
  color: #fff;
}

/* Responsive Sizing */
@media (max-width: 576px) {
  .floating-consultation-btn {
    padding: 8px;
    font-size: 20px;
    width: 50px;
    height: 50px;
  }
}

@media (min-width: 577px) {
  .floating-consultation-btn {
    padding: 12px;
    font-size: 24px;
    width: 60px;
    height: 60px;
  }
}

.breadcrumb-item > a,
.breadcrumb-item + .breadcrumb-item::before {
  color: #33354d;
}

/* Accessible Navigation Links */
.accessible-nav-link {
  display: inline-flex; /* Enables flexbox for centering */
  align-items: center; /* Vertically centers the icon */
  justify-content: center; /* Horizontally centers the icon */
  padding: 6px; /* Adjusts clickable area to meet 24x24px */
  text-decoration: none; /* Removes underline from links */
  color: inherit; /* Inherits text color to maintain design */
  transition: background-color 0.2s ease; /* Smooth hover/focus transition */
}

.accessible-nav-link:hover,
.accessible-nav-link:focus {
  background-color: rgba(0, 0, 0, 0.05); /* Subtle background on hover/focus */
  outline: none; /* Removes default outline */
}

.accessible-nav-link:focus-visible {
  outline: 2px solid #005fcc; /* Custom outline for keyboard navigation */
  outline-offset: 2px; /* Space between outline and element */
}

.webstra-accordion-button {
  box-shadow: unset !important;
  justify-content: space-between;
}

.webstra-accordion-button::after {
  width: 10px !important;
  background-color: transparent !important;
  margin-left: 15px;
}

.webstra-accordion-item {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  /* border-bottom: var(--si-accordion-border-wid) solid var(--si-accordion-border-color) !important;
  box-shadow: inset 0 calc(-1 * var(--si-accordion-border-width)) 0 var(--si-accordion-border-color) !important; */
}

.webstra-accordion {
  --si-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%2333354d'%3e%3cpath d='M225.813 48.907L128 146.72 30.187 48.907 0 79.093l128 128 128-128z'/%3e%3c/svg%3e") !important;
}

.webstra-active-link {
  text-decoration: underline !important;
  color: #02eda2;
}

/* Modern Card Styles - Minimalistic Design */
.modern-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform: translateY(0);
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.modern-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}

/* Status badge styling */
.badge {
  transition: all 0.3s ease !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

.modern-card:hover .badge {
  transform: scale(1.1) !important;
}

/* Image hover effect */
.modern-card img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.modern-card:hover img {
  transform: scale(1.1) !important;
}

/* Hover overlay effect */
.modern-card .position-absolute[style*='opacity: 0'] {
  transition: opacity 0.3s ease !important;
}

/* Responsive adjustments */
/*  @media (max-width: 768px) {
  .modern-card {
    margin-bottom: 1rem !important;
  }
} */

/* Loading animation for cards */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modern-card {
  animation: cardFadeIn 0.6s ease-out;
}

/* Overlay text styling - improved readability */
.modern-card .text-white h3,
.modern-card .text-white p,
.modern-card .text-white span,
.modern-card .text-white div {
  color: #fff !important;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.7),
    0 1px 2px rgba(0, 0, 0, 0.5) !important;
}
.modern-card .text-white h3 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
}
.modern-card .text-white p {
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  margin-bottom: 0.5rem !important;
}
.modern-card .text-white span,
.modern-card .text-white div {
  font-size: 1.05rem !important;
  font-weight: 500 !important;
}
.modern-card .text-white .fw-bold {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
}
/* Make overlay info always white and bigger */
.modern-card .position-absolute.bottom-0.start-0.w-100.p-3 {
  color: #fff !important;
}

/* Cursor pointer for better UX */
.modern-card {
  cursor: pointer !important;
}

/* Smooth transitions for all elements */
.modern-card * {
  transition: all 0.3s ease !important;
}

/* Stronger dark overlay for card bottom */
.modern-card .position-absolute.bottom-0.start-0.w-100.p-3 {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.92) 90%,
    rgba(0, 0, 0, 1) 100%
  ) !important;
  padding: 2rem 1.5rem 1.5rem 1.5rem !important;
  color: #fff !important;
}
/* Project/property name: much bigger and bolder */
.modern-card .text-white h3 {
  font-size: 2rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.7rem !important;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
/* Location: bigger */
.modern-card .text-white p {
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.7rem !important;
}
/* Key details (rooms, area): bigger */
.modern-card .text-white span,
.modern-card .text-white div {
  font-size: 1.15rem !important;
  font-weight: 600 !important;
}
/* Price: extra large and bold */
.modern-card .text-white .fw-bold {
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.5px;
}
/* Price label smaller but clear */
.modern-card .text-white .price-label {
  font-size: 1rem !important;
  font-weight: 400 !important;
  opacity: 0.85;
}
/* Available from: large and bold */
.modern-card .text-white .available-label {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin-top: 0.5rem;
  display: block;
}
/* Text shadow for all overlay text */
.modern-card .text-white h3,
.modern-card .text-white p,
.modern-card .text-white span,
.modern-card .text-white div {
  text-shadow:
    0 3px 12px rgba(0, 0, 0, 0.85),
    0 1px 2px rgba(0, 0, 0, 0.7) !important;
}

/* Larger and bolder status badge - match name size */
.modern-card .badge {
  font-size: 1rem !important;
  font-weight: 800 !important;
  padding: 0.6em 1.2em !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  letter-spacing: 0.5px;
}

/* Make card 1 per row and more rectangular */
@media (min-width: 992px) {
  .modern-card-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.modern-card .position-relative[style*='padding-bottom'] {
  padding-bottom: 45% !important;
}

/* Small mobile styles (very small screens) */
@media (max-width: 480px) {
  /* Keep cards 1 per row on mobile */
  .modern-card-col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Make images more square on mobile */
  .modern-card .position-relative[style*='padding-bottom'] {
    padding-bottom: 100% !important;
  }

  /* Smaller text on mobile */
  .modern-card .text-white h3 {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.3rem !important;
    line-height: 1.1;
  }

  .modern-card .text-white p {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.3rem !important;
  }

  .modern-card .text-white span,
  .modern-card .text-white div {
    font-size: 0.7rem !important;
    font-weight: 500 !important;
  }

  .modern-card .text-white .fw-bold {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
  }

  .modern-card .text-white .price-label {
    font-size: 0.65rem !important;
    font-weight: 400 !important;
  }

  .modern-card .text-white .available-label {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    margin-top: 0.2rem;
  }

  /* Smaller status badge on mobile */
  .modern-card .badge {
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    padding: 0.3em 0.6em !important;
    border-radius: 4px !important;
  }

  /* Reduce padding on mobile */
  .modern-card .position-absolute.bottom-0.start-0.w-100.p-3 {
    padding: 0.8rem 0.6rem 0.6rem 0.6rem !important;
  }

  /* Ensure clickability on mobile */
  .modern-card {
    cursor: pointer !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
  }

  /* Improve touch targets */
  .modern-card a {
    min-height: 44px;
    min-width: 44px;
    z-index: 10;
  }

  /* Better touch feedback */
  .modern-card:active {
    transform: scale(0.98) !important;
  }

  /* Reduce margins on mobile */
  .modern-card-col {
    padding: 0 0.25rem !important;
  }

  /* .modern-card {
    margin: 0 0.25rem 0.5rem 0.25rem !important;
  } */
}

/* Larger smartphones and tablets */
@media (min-width: 481px) and (max-width: 991px) {
  .modern-card-col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .modern-card .badge {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    padding: 0.3em 0.6em !important;
    border-radius: 4px !important;
  }

  .modern-card .position-relative[style*='padding-bottom'] {
    padding-bottom: 75% !important;
  }

  /* Medium text size for larger phones and tablets */
  .modern-card .text-white h3 {
    font-size: 1.1rem !important;
  }

  .modern-card .text-white p {
    font-size: 0.9rem !important;
  }

  .modern-card .text-white span,
  .modern-card .text-white div {
    font-size: 0.85rem !important;
  }

  .modern-card .text-white .fw-bold {
    font-size: 1rem !important;
  }
}
