/********** Template CSS **********/
:root {
  --primary: #5a1b14;
  --light: #f3f6f8;
  --dark: #0e2e50;
  --fontfamilyprimary: "Lato", sans-serif;
  --fontfamilysecondary: "Open Sans", sans-serif;
}
body {
  margin: 0;
  font-family: var(--fontfamilysecondary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}
sup {
  color: red;
}
.bg-primary {
  background-color: #5a1b14 !important;
}
.bg-footer {
  background-color: #54565b !important;
}
.text-primary {
  color: #5a1b14 !important;
}
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: "Lato", sans-serif;
  font-weight: 500 !important;
}
/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

.my-6 {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
  color: #ffffff;
}
.btn.btn-primary:hover {
  color: #5a1b14;
  background-color: transparent !important;
  border-color: #5a1b14 !important;
}

.btn.btn-primary:active {
  color: #5a1b14;
  background-color: transparent !important;
  border-color: #5a1b14 !important;
}

.btn.my-btn-color {
  color: #fff;
  background-color: #5a1b14;
  border-color: #fff !important;
  font-weight: 700;
}

.btn.my-btn-color:hover {
  color: #fff !important;
  border-color: #fff 1px solid !important;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

.allsocialicon {
  position: fixed;
  top: 95px;
  right: 0;
  background-color: #f2f2f2;
  border-radius: 5px 0 0 5px;
  border: 1px solid #ccc;
  padding: 8px;
  z-index: 99;
}
.allsocialicon ul {
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 0;
}
.allsocialicon ul li {
  list-style-type: none;
  padding-bottom: 5px;
}
.allsocialicon ul li:last-child {
  padding-bottom: 0;
}
.allsocialicon ul li a {
  font-size: 20px;
  color: #000;
}

/*** Navbar ***/
.navbar .navbar-nav .nav-link {
  position: relative;
  margin-left: 15px;
  padding: 35px 0;
  color: #ffffff;
  font-weight: 500;
  outline: none;
  transition: 0.5s;
  font-size: 17px;
  font-family: "Lato";
}
.dropdown-menu {
  padding: 0;
}
.dropdown-item:hover,
.dropdown-item:focus {
  color: #fff;
  background-color: #5a1b14;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: #5a1b14;
}

.sticky-top.navbar .navbar-nav .nav-link {
  padding: 20px 0;
  color: #fff;
}

.sticky-top.navbar .navbar-nav .nav-link:hover,
.sticky-top.navbar .navbar-nav .nav-link.active {
  color: #fff;
}

.navbar .navbar-brand h1 {
  color: #ffffff;
  background: url(../img/logo.png) no-repeat;
  background-size: 80px;
  width: 87px;
  min-height: 80px;
}

.navbar .navbar-brand img {
  max-height: 65px;
  transition: 0.5s;
}

.sticky-top.navbar .navbar-brand img {
  max-height: 65px;
}
a.whttxt {
  color: #fff;
}
a.whttxt:hover {
  color: #fff;
}

.sticky-top.navbar a.whttxt {
  color: #fff;
}

@media (max-width: 991.98px) {
  .sticky-top.navbar {
    position: relative;
    background: #000;
  }

  .navbar .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid #dddddd;
  }

  .navbar .navbar-nav .nav-link,
  .sticky-top.navbar .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
    color: var(--dark);
  }

  .navbar .navbar-nav .nav-link:hover,
  .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
  }

  .navbar .navbar-brand h1 {
    color: var(--primary);
  }

  .navbar .navbar-brand img {
    max-height: 45px;
  }
}

@media (min-width: 992px) {
  .navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(256, 256, 256, 0.2);
    z-index: 999;
  }

  .sticky-top.navbar {
    position: fixed;
    background: #5a1b14;
  }

  .navbar .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    bottom: 10px;
    left: 0;
    background: #ffffff;
    opacity: 0;
    transition: 0.5s;
  }

  .sticky-top.navbar .navbar-nav .nav-link::before {
    background: #5a1b14;
  }

  .navbar .navbar-nav .nav-link:hover::before,
  .navbar .navbar-nav .nav-link.active::before {
    bottom: -1px;
    left: 0;
    opacity: 1;
  }

  .navbar .navbar-nav .nav-link.nav-contact::before {
    display: none;
  }

  .sticky-top.navbar .navbar-brand h1 {
    color: #5a1b14;
    background: url(../img/logo_blue.png) no-repeat;
    background-size: 60px;
    width: 87px;
    min-height: 58px;
  }

  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: 0.5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Hero Header ***/
.hero-header {
  margin-bottom: 0rem;
  padding: 10rem 0 7rem 0;
  background: url(../img/backgrnd.jpg) center top no-repeat;
  background-size: cover;
  position: relative;
}
.hero-header::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.hero-header .row {
  position: relative;
  z-index: 9;
}

.page-header {
  margin-bottom: 6rem;
  padding: 12rem 0 6rem 0;
}
.other-page-header {
  background: url(../img/header_bg.jpg);
  padding: 100px 0 30px;
  background-size: cover;
  background-position: top center;
  height: auto;
  position: relative; /* Changed to relative */
  z-index: 0; /* Set to 0 or remove */
}

.site_title {
  position: relative; /* Changed to relative */
  z-index: 1; /* Added z-index to ensure visibility */
  color: white; /* Ensure text is white to be visible on the background */
  font-size: 50px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  margin-top: 10px !important;
}

img.hmbanr {
  border: 10px solid #fff;
}

@media (max-width: 991.98px) {
  .hero-header {
    padding: 6rem 0 9rem 0;
  }

  .allsocialicon {
    right: 5px;
  }
  .page-header {
    padding: 6rem 0;
  }
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(256, 256, 256, 0.5);
}

/*===============carousal images===================*/

.caousalicon {
  padding: 6rem 0;
  background-color: #f2f2f2;
}
.caousalicon h2 {
  text-align: center;
}
.slick-initialized .slick-slide {
  text-align: center;
}
.slick-slide img {
  display: inline-block;
  max-width: 75%;
  /*  display: inline-block;
  max-width: 100%;
  width: 300px;
  height: 180px; */
}
.slick-dots {
  text-align: center;
  margin: 0 0 10px 0;
  padding: 0;
}
.slick-dots li {
  display: inline-block;
  margin-left: 4px;
  margin-right: 4px;
}
.slick-dots li.slick-active button {
  background-color: black;
}
.slick-dots li button {
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
  background-color: #999;
  border: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}
.slick-dots li :hover {
  background-color: black;
}

/* Custom Arrow */
.prev {
  color: #999;
  position: absolute;
  top: 38%;
  left: -2em;
  font-size: 1.5em;
}
.prev :hover {
  cursor: pointer;
  color: black;
}

.next {
  color: #999;
  position: absolute;
  top: 38%;
  right: -2em;
  font-size: 1.5em;
}
.next :hover {
  cursor: pointer;
  color: black;
}

@media screen and (max-width: 800px) {
  .next {
    display: none !important;
  }
  .allsocialicon {
    right: 5px;
  }
}

/*****carousal images*****/

/*****************Quote property**************/
.quotesecsn {
  background-color: #fff;
}
/****************End quote*****************/

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
  border: 1px solid transparent;
  transform: scale(0.85);
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  box-shadow: none;
  border-color: var(--primary);
  transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-item img {
  width: 50px;
  height: 50px;
}
.testimonial-item img {
  font-size: 16px;
}

.testimonial-carousel .owl-nav {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin: 0 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 45px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: #ffffff;
  background: var(--primary);
}

/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid rgba(256, 256, 256, 0.1);
  border-radius: 40px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
  color: var(--light);
  font-weight: normal;
  transition: 0.3s;
}
/* 
.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
} */

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 60px 0;
  font-size: 14px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
  /*height: 260px;*/
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}
.ftlogo {
  text-align: center;
}
.ftlogo img {
  width: 140px;
}

.collaborate {
  background-color: #5a1b14;
  padding: 30px 0;
}

.boxsecsn {
  background-color: #f8f8f8;
  padding: 80px 0;
}
.boxsecsn h2 {
  text-align: center;
  padding-bottom: 30px;
}
.proboxall {
  margin-bottom: 15px;
}
.bximg img {
  max-width: 100%;
}
.proboxall h5 {
  margin: 10px 0;
  font-size: 16px;
}
.proboxall p {
  margin-bottom: 0;
}
.proboxall h4 {
  margin: 10px 0;
  font-size: 16px;
}
.proboxall a {
  /* background-color: #5a1b14; */
  color: #fff;
  padding: 7px 15px;
  border-radius: 5px;
  margin-top: 5px;
  display: inline-block;
}

.quotesecsn {
  background: url(../img/backgrnd.jpg) no-repeat;
  background-size: cover;
  padding: 80px 0;
  background-attachment: fixed;
}
.whtbk {
  background: rgba(255, 255, 255, 0.7);
  padding: 40px;
  border-radius: 20px;
}
.frmtxt {
  align-items: center;
  align-content: center;
  min-height: 500px;
  padding: 0 50px;
}
.frmtxt h2 {
  font-size: 50px;
  text-transform: uppercase;
  text-align: center;
  line-height: 60px;
}

.card {
  background-color: #2e2e2e;
  color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.card h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #ffcc33;
}

.card ul {
  list-style-type: none;
  padding-left: 20px;
}

.card li {
  margin-bottom: 10px;
}

.card li::before {
  content: "•";
  color: #ffcc33;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-post {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  transition: transform 0.2s;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.blog-post img {
  width: 200px;
  height: auto;
  object-fit: cover;
}

.post-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.post-title {
  font-size: 1.5em;
  margin: 0 0 10px;
  text-align: left !important;
}

.post-excerpt {
  flex-grow: 1;
  margin: 0 0 20px;
}

.read-more {
  align-self: flex-start;
  padding: 10px 15px;
  background-color: #5a1b14 !important;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.read-more:hover {
  background-color: #5a1b14;
  color: white;
}

.client-box-section {
  margin-bottom: 15px;
  background: #efefef;
  padding: 20px;
  margin-bottom: 40px;
}
.client-boximg {
  /* min-height: 180px; */
}

.bio_pic {
  border: 1px solid #5a1b14 !important;
  padding: 2px;
  width: 85%;
}
.bio-contact p {
  font-size: 16px;
}
ul.bio-bullet {
  padding-left: 10px;
}

ul.bio-bullet li {
  margin-bottom: 10px;
  font-size: 16px;
}
.wpcf7-textarea {
  max-height: 115px !important;
}
.section_wrapper {
  margin-top: 10px 0;
}
.property_evaluation_section {
  padding: 10px 50px;
  background-color: #efefef;
  box-shadow: 0px 12px 18px -6px rgb(196 208 236) !important;
}

.form-floating p label {
  margin-bottom: 10px !important;
}
ul.pe-items {
  margin-left: -20px !important;
  margin-top: 20px;
}

ul.pe-items li {
  font-size: 16px;
  margin-bottom: 10px;
}
.et_pb_text_inner p {
  font-size: 16px;
}
.social_icon a {
  font-size: 25px;
  border: 1px solid;
  padding: 1px 10px;
  margin: 10px 0;
}

@media (max-width: 767px) {
  body,
  html {
    overflow-x: hidden !important;
  }
  .navbar .navbar-brand img {
    max-height: 40px !important;
  }
  .navbar .navbar-nav .nav-link {
    padding: 8px 0px;
  }
  .dropdown-menu {
    padding: 10px 0px;
  }
  .dropdown-item {
    padding: 5px 10px;
  }
  .navbar {
    padding: 4px 12px !important;
  }
  .allsocialicon {
    right: 0px;
    border: none;
  }
  .allsocialicon ul li {
    display: flex;
    justify-content: center;
  }
  .hero-header h1 {
    font-size: 24px;
    line-height: 150%;
    padding: 0px 25px;
  }
  .hero-header p {
    font-size: 20px;
    line-height: 150%;
  }
  .navbar-brand {
    padding: 6px 0px;
  }
  .testimonials h2 {
    margin-bottom: 25px !important;
  }
  .boxsecsn {
    background-color: #fff;
    padding: 50px 0;
  }
  .boxsecsn a.btn {
    font-size: 16px;
    padding: 8px 20px !important;
  }
  .testimonial-item .ps-3 {
    padding-left: 0px !important;
  }
  .testimonial-item .ps-3 h5 {
    font-size: 16px;
  }
  .featured_listings .proboxall {
    background: #fff;
    padding: 12px !important;
    margin: 0px !important;
  }
  .featured_listings_btn {
    margin-top: 10px !important;
  }

  .featured_listings_btn a {
    font-size: 16px;
    padding: 8px 20px !important;
  }
  .collaborate p {
    font-size: 22px;
  }
  .collaborate a {
    font-size: 16px;
    padding: 8px 20px !important;
    font-weight: unset !important;
    text-transform: capitalize !important;
  }
  .copyright .text-center {
    text-align: left !important;
    margin-bottom: 0px !important;
  }
  .copyright .text-center img {
    width: 105px !important;
    margin-bottom: 15px;
  }
  .copyright .text-center p {
    line-height: 160% !important;
  }
  .footer-contact {
    margin-top: 0px !important;
  }
  .footer-contact h4 {
    font-size: 20px;
  }
  .footer .copyright a {
    font-size: 14px;
  }
  .footer .copyright {
    padding: 40px 0px 30px 0px;
  }
  .testimonial-carousel .owl-nav .owl-prev,
  .testimonial-carousel .owl-nav .owl-next {
    margin: 0px 8px;
    width: 30px;
    height: 30px;
  }
  .site_title {
    font-size: 28px !important;
  }
  .other-page-header {
    padding: 66px 0 30px;
  }
  .bio_area {
    padding: 50px 0px 25px 0px;
  }
  .bio-contact {
    margin-left: 0px !important;
  }
  .bio-contact p {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .bio_content {
    margin-top: 0px !important;
  }
  .bio_content h2 {
    margin-bottom: 10px !important;
  }
  .bio_content .highlight_section h4 {
    font-size: 17px;
  }
  ul.bio-bullet {
    padding-left: 20px;
  }
  .client-box-section {
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
  }
  .page-template-recent_trasactions h2 {
    text-transform: capitalize !important;
    font-size: 25px;
    border-bottom: none !important;
  }
  .post-title {
    margin: 0 0 2px;
  }
  .blog .read-more {
    display: inline-block;
  }
  .page-template-contact form button {
    padding: 10px 0px !important;
  }
}
