@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;600&display=swap');

body, html, a, h1, h2, h3, h4, h5, h6, p, form, label, input, button, select, textarea {
  font-family: 'Roboto Slab', serif;
}

h2 {
  font-size: 3rem !important;
}

@media (max-width: 990px) {
  h2 {
    font-size: 2rem !important;
  }
}

a {
  color: #2A2A72 !important;
  transition: all 0.3s ease-in-out !important;
}

a:hover {
  color: #FFA400 !important;
}

.btn-primary {
  background-color:  #2A2A72 !important;
  border-color: #2A2A72 !important;
  color: #fff !important;
  border-radius: 0 !important;
  padding: 5px 10px !important;
}

.container-fluid {
  padding-left: 0 !important;
}

.header {
  padding: 0 !important;
}

.logo-rudy {
  height: 130px;
  background-size: cover;
  background-position: center;
}

.logo-rudy img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* This will make the image display from the center point */
  object-position: center;
  overflow: hidden;
}

.nav-link-item {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-link-item>a {
  font-size: 16px !important;
  font-weight: 500;
  padding: 10px 20px;
  /* All in uppercase */
  text-transform: uppercase;
}

.nav-link-item>a:hover {
  color: #FFA400 !important;
  background-color: #fff !important;
  border-radius: 5px;
}

.full-search-2 {
  border-radius: 0 !important;
}

.form-control {
  border-radius: 0 !important;
}

.form-control:focus {
  border-color: #FFA400 !important;
}

.form-check-input {
  background-color: #EAF6FF;
}

.form-check-input:checked {
  background-color: #FFA400;
  border-color: #FFA400;
}

.__custom-primary-badge {
  background-color: #FFA400 !important;
  color: #2A2A72 !important;
  border-radius: 0 !important;
  border-color: #FFA400;
  padding: 5px 10px !important;
  font-weight: 600 !important;
  font-size: .75rem !important;
}



.h2 {
  font-size: 2.5rem !important;
  font-weight: 600 !important;
  color: #232528 !important;
  text-transform: uppercase !important;
}


/* .card */

.__custom-card {
  border-radius: 0 !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1) !important;
}

.__custom-card-listing-property {
  background: #FFF !important;
  border-radius: 0 !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1) !important;
  padding: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  margin-top: 25px !important;
}

.__property-price {
  font-size: 1rem !important;
  font-weight: 400 !important;
  color: #2A2A72 !important;
}

.__property-card-listing-img-div {
  padding: 0 !important;
  height: 250px !important;
}

.__property-card-listing-img {
  border-radius: 0 !important;
  width: 100% !important;
  height: 250px !important;
  object-fit: cover !important;
}

.__property-listing-type {
  margin-top: 1rem !important;
  padding: 5px 10px !important;
  border-radius: 0 !important;
}

.__property-card-listing-title {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  color: #2A2A72 !important;
  padding: 5px 10px !important;
}

.__featured_property_image {
  height: 250px!important;
  width: 100% !important;
  object-fit: cover !important; /* This will crop/cover the image */
  object-position: center !important;
}

.list-img-slide .slick-dots li.slick-active button:before {
  background: #FFA400 !important;
}

.listing-img-wrapper {
  border-radius: 0 !important;
}



/* Home Contact Form */

.__home_contact_form_container {
  background: #2A2A72 !important;
  padding: 1rem 0 !important;
  color: #EAF6FF !important;
}

.__home_contact_form_container .__home_contact_form_title {
  font-size: 2.5rem !important;
  font-weight: 600 !important;
  color: #EAF6FF !important;
  margin-top: 2rem;
  text-transform: uppercase !important;
}
.__home_contact_form_container .__home_contact_form_subtitle {
  color: #EAF6FF !important;
}

.__home_contact_form_container .__home_contact_form_label {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #EAF6FF !important;
}

.__home_contact_form_submit_btn {
  border: 1px solid #FFA400 !important;
}


/* Single property */

/* Block header */

.__header_single_property {
  background: #2A2A72 !important;
  padding: 1rem 1rem !important;
  color: #EAF6FF !important;
}

.__header_single_property a h4 {
  color: #EAF6FF !important;
}

.property_block_wrap.style-2 .property_block_wrap_header h4:after {
  background: #FFA400 !important;
  color: #2A2A72 !important;
}


/* Footer */

.__footer {
  border-top: #2A2A72 solid 5px !important;
}

.footer-social {
  margin: 10px auto 0 auto !important;
  text-align: right !important;
}

.list-inline li {
  display: inline-block !important;
  margin-right: 10px; /* Adjust spacing as needed */
}

@media (max-width: 768px) {
  .__footer {
    text-align: center;
  }

  .footer-social {
    text-align: center !important;
  }
  
}


/* ------------------------------- */

.sides-widget {
  background: #EAF6FF !important;
  border-radius: 0 !important;
}

.sides-widget-header {
  border-radius: 0 !important;
}

.sides-widget-header h2 {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  color: #EAF6FF !important;
}

.sides-widget-body-text {
  font-size: 1rem !important;
  color: #2A2A72 !important;
}


.mfp-gallery {
  border-radius: 0 !important;
}



/* Rent or Sell page images */

.__rent_sell_img {
  border: 10px solid #FFA400;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  height: 300px;
  width: 100%;
  object-fit: cover; /* This will crop/cover the image */
  object-position: center;
}


/* listing pages */

.__gray-simple {
  background: #ecf3fa;
  padding: 1.5rem 1rem;
}

.__sorting-bar {
  background: #ffffff;
  border-radius: 0 !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1) !important;
  padding: 1rem 1rem !important;
}

.__simple-sidebar {
  border-radius: 0;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1) !important;
  padding: 1rem 1rem;
}

.__single-card-listing {
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  margin-bottom: 1rem;
}

.__property-thumbnail {
  border-radius: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  height: 100%;
}

.__property-thumbnail .__property-thumbnail-img {
  border-radius: 0;
  width: 100%;
  height: 15rem;
  object-fit: cover;
}

.__property-details {
  height: 100%;
  margin: 0 auto;
}

@media (min-width: 990px) {
  .__property-details {
    padding-right: 1.5rem;
  }
}


/* Partners page */

.__img-partners {
  border-radius: 0;
  border: 10px solid #FFA400;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  height: 20rem;
  width: 100%;
  object-fit: cover;
  object-position: center bottom;
}

@media (max-width: 768px) {
  .__img-partners {
    height: 12rem !important;
  }
}

@media (max-width: 576px) {
  .__img-partners {
    height: 10rem !important;
  }
}

@media (max-width: 480px) {
  .__img-partners {
    height: 8rem !important;
  }
}

.__img-estimate {
  border-radius: 0;
  border: 10px solid #FFA400;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  height: 20rem;
  width: 100%;
  object-fit: cover;
  object-position: center center;
}

  /* Back to Top Button Styling */
  #backToTopBtn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #2A2A72; /* Primary color from the file */
    color: #EAF6FF; /* Light color from the file */
    border: none;
    cursor: pointer;
    display: none; /* Hidden by default */
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
    z-index: 1000;
  }

  #backToTopBtn:hover {
    background-color: #FFA400; /* Highlight color from the file */
    transform: translateY(-3px);
  }

  /* Arrow styling */
  #backToTopBtn::after {
    content: "↑";
    display: inline-block;
  }
