@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --blue: #2f337e;
  --gold: #f0c030;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  color: #474747;
  scroll-behavior: smooth;
}

p {
  line-height: 25px;
}

div {
  position: relative;
}

section {
  padding: 40px 80px;
  z-index: 0;
}

button {
  cursor: pointer;
}

.sect-title {
  text-align: center;
}

.sect-title.title-other-page {
  font-weight: 700;
  color: #fff;
  font-size: 25px;
}

.preloader {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: #fff url("../img/pre-loader/preloader.gif") no-repeat center
    center;
  background-size: 30%;
}

/**------Nav-------**/

nav {
  padding: 20px 40px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  background-color: #fff;
  z-index: 555;
}

nav .logo a img {
  width: 350px; 
}

nav .lu-links ul {
  display: flex;
  gap: 20px;
}

nav .lu-links ul li {
  list-style: none;
}

nav .lu-links ul li a {
  text-decoration: none;
  color: #646464;
}

nav .lu-links ul li a:hover {
  color: #000;
  text-decoration: underline;
}

nav .lu-links ul li a.active {
  color: #000;
  text-decoration: underline;
}

@media (max-width: 960px) {
  nav {
    padding: 20px 10px;
    padding-right: 30px;
  }

  .lu-links {
    display: none;
  }

  .lu-links.active {
    position: absolute;
    width: 100%;
    padding: 20px;
    background-color: #fff;
    display: block;
    left: 0;
    top: 100%;
    border-top: 1px solid #ccc;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.5);
  }

  .lu-links.active ul {
    display: grid;
  }

  .lu-links.active ul li {
    width: 100%;
  }

  .toggle {
    cursor: pointer;
  }

  .toggle .bar {
    display: block;
    width: 25px;
    height: 1px;
    background-color: #ccc;
    margin-bottom: 5px;
  }

  .preloader {
    background-size: 80%;
  }
  
  nav .logo a img {
  width: 250px;
}
}
/**------Nav-------**/

/**------Hero-------**/
.hero {
  height: fit-content;
  background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0) 10%,
      rgba(0, 0, 0, 0) 90%
    ),
    url("../img/main/main.jpg");
  background-position: center;
  background-size: cover;
  padding-top: 220px;
  padding-bottom: 100px;
  background-attachment: fixed;
}

.hero .hero-items {
  width: 100%;
}

.hero .hero-items .hero-item {
  width: 100%;
}

.hero .hero-items .hero-item .top-items {
  width: fit-content;
  display: flex;
  gap: 10px;
  margin: 0 auto;
}

.hero .hero-items .hero-item .top-items .top-btn {
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 5px;
  background-color: #fff;
  color: #646464;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero .hero-items .hero-item .top-items .top-btn.active {
  background-color: var(--blue);
  color: #fff;
}

.search-form {
  width: 90%;
  margin: 0 auto;
  padding: 30px 30px;
  background-color: white;
  margin-top: 40px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.search-form :nth-child(odd),
.search-form :nth-child(even) {
  width: 100%;
}

.search-form .first-form-items {
  display: flex;
  gap: 10px;
  align-items: center;
}

button {
  background-color: var(--blue);
  color: #fff;
  padding: 10px;
  border: none;
  transition: all ease 1s;
  border-radius: 5px;
}

button:hover {
  background-color: #5357a8;
}

.inpu-cont {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.results {
  position: absolute;
  top: 100%;
  background-color: #fff;
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.5);
  display: grid;
  max-height: 300px;
  overflow-y: auto;
  border-radius: 5px;
  display: none;
}

.hide {
  display: none;
}

.results .result {
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  padding: 5px;
  color: #666666;
}

.results .result:hover {
  background-color: var(--blue);
  color: #fff;
}

.inpu-cont.select {
  padding-right: 10px;
}

.inpu-cont:focus-within {
  border: 1px solid #6f57f8;
  box-shadow: 0 0 5px rgba(17, 0, 255, 0.5);
}

.inpu-cont input,
.inpu-cont select,
.inpu-cont textarea {
  width: 100%;
  padding: 10px;
  outline: none;
  border: none;
  color: #646464;
  font-size: 14px;
}

select {
  cursor: pointer;
}

label {
  font-size: 14px;
}

@media (max-width: 960px) {
  section {
    padding: 40px 10px;
  }
  .search-form .first-form-items {
    flex-wrap: wrap;
  }

  .search-form {
    width: 100%;
  }
}
/**------Hero-------**/

/**------Properties-------**/
.properties-first {
  margin-top: 40px;
  width: 100%;
  position: relative;
  z-index: 0;
}

.properties-first .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  z-index: 1;
  cursor: pointer;
}

.properties-first .arrow i {
  color: #fff;
}

.properties-first .arrow-right {
  right: -50px;
}

.properties-first .arrow-left {
  left: -50px;
}

.properties-first .properties {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  overflow: hidden;
  padding: 50px 10px;
}

.properties-first .properties .price{
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: #fff;
  font-weight: 800;
  z-index: 2;
}

.properties-first .properties a .overlay{
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.properties-first .properties.other-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.properties.other-page.detailes{
    grid-template-columns: repeat(1, 1fr);
}

.properties-first.details{
  display: flex;
  gap: 20px;
}

.properties-first.details > * {
  width: 100%;
}

.properties.other-page > * {
  width: 100%;
}

.properties-first .properties > * {
  width: 100%;
}

.properties-first .properties .property {
  width: 100%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  transition: all ease 1s;
  scroll-behavior: smooth;
  border: 1px solid #ccc;
}

.properties-first .properties .property:hover {
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.9);
}

.properties-first .properties .property .img a {
  display: flex;
}

.properties-first .properties .property .img{
    height:300px;
    overflow:hidden;
}

.properties-first .properties .property .img a{
    height:100%;
}

.properties-first .properties .property .img a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
z-index: 0;
transition: all ease 1s;
}

.properties-first .properties .property .img a:hover img{
scale: 1.1;
}

.properties-first .properties .property .bottom-proprety {
  padding: 20px;
  padding-bottom:80px;
}

.properties-first .properties .property .bottom-proprety .description,
.properties-first .properties .property .bottom-proprety .title {
  margin-top: 10px;
}

.properties .location {
  margin-top: 20px;
}

.property .img .badge {
  background-color: var(--blue);
  color: #fff;
  position: absolute;
  width: 210px;
  display: flex;
  justify-content: center;
  padding: 7px 0px;
  transform: rotate(-45deg) translate(-55px, -20px);
  top: 0;
  left: 0;
  z-index: 2;
}

.properties .title {
  font-size: 20px;
  color: black;
  font-weight: 400;
}

.properties .view-details {
  text-decoration: none;
  background-color: var(--blue);
  border-radius: 5px;
  padding: 7px 10px;
  color: #fff;
  font-size: 13px;
}

.properties .last-bottom {
  padding: 15px 10px;
  display: flex;
  height: fit-content;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: 1px solid #ccc;
  background-color: #fff;
}

.readmore {
  color: rgb(39, 39, 105);
}

.readmore:hover {
  color: rgb(132, 132, 245);
}

.properties-first.details .property .bottom-proprety{
height: fit-content;
padding-bottom: 80px;
}

@media (max-width: 960px) {
  .properties-first .arrow-right {
    right: -10px;
  }

  .properties-first .arrow-left {
    left: -10px;
  }
  
  .properties-first .properties{
      grid-template-columns: repeat(1,1fr);
  }
  
  .properties-first .properties.other-page{
      grid-template-columns: repeat(1,1fr);
  }
}

/**------Properties-------**/

/**------VBS-------**/
.vbs {
  background-color: #fcf1f1;
}

.vbs .locations-l {
  margin-top: 80px;
  display: flex;
  gap: 20px;
  overflow: hidden;
  height: 500px;
}

.vbs .locations-l .left-pictures {
  height: 100%;
}

.vbs .locations-l > * {
  width: 100%;
}

.vbs .locations-l .img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.vbs .locations-l img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all ease 1s;
  z-index: 0;
}

.vbs .locations-l .img:hover img {
  scale: 1.1;
}

.vbs .locations-l .overlay-img {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.vbs .locations-l .overlay-img .text {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.vbs .locations-l .overlay-img .text.bottom-one {
  bottom: 105px;
}

.vbs .locations-l .overlay-img .text h3,
.vbs .locations-l .overlay-img .text p {
  color: #fff;
}

.vbs .locations-l .top-two {
  display: flex;
  gap: 10px;
}

.vbs .locations-l .top-two .img {
  height: 250px;
}

.vbs .locations-l .left-pictures {
  display: grid;
  gap: 10px;
}

.vbs .right-picture {
  height: 100%;
}

.vbs .bottom-one img {
  height: 100%;
}

@media (max-width: 960px) {
  .vbs .locations-l {
    flex-wrap: wrap;
    height: fit-content;
  }
  .vbs .locations-l .top-two {
    flex-wrap: wrap;
  }

  .vbs .locations-l .overlay-img .text.bottom-one {
    bottom: 10px;
  }
}

/**------VBS-------**/

/**------About-------**/
.about {
  background-color: #f8f8f8;
}

.about .about-content {
  display: flex;
  gap: 20px;
  margin-top: 80px;
}

.about .about-content .content {
  width: 100%;
  display: grid;
  justify-content: end;
}

.about .about-content .content.first {
  align-items: center;
}

.about .about-content .content .imgs {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

.about .about-content .content .imgs img {
  width: 100%;
  height: 300px;
  object-fit: contain;
}

.about .about-content .title {
  margin: 30px 0;
  text-align: start;
}

.about .about-content .title.first {
  margin-top: 0;
}

.about .about-content .title i {
  color: var(--blue);
}

.core-values {
  margin-top: 40px;
}

.core-values .core-values-cont {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.core-values .core-values-cont .core-value {
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  padding: 10px;
  transition: all ease 1s;
  cursor: pointer;
  background-color: #fff;
}

.core-values .core-values-cont .core-value .icon {
  margin-top: 30px;
}

.core-values .core-values-cont .core-value .icon i {
  color: var(--blue);
  font-size: 40px;
}

.core-values .core-values-cont .core-value h2 {
  margin: 20px 0;
}

.core-values .core-values-cont .core-value:hover {
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.9);
}

@media (max-width: 1200px) {
  .core-values .core-values-cont {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .about .about-content {
    flex-wrap: wrap;
  }
  .core-values .core-values-cont {
    grid-template-columns: repeat(1, 1fr);
  }
}
/**------About-------**/

/**------Contact-------**/
.sm {
  background-color: #f8f7f7;
}
.sm .top-conts {
  display: flex;
  gap: 10px;
  width: 100%;
}

.sm .top-conts .conts {
  width: 100%;
}

.sm form {
  width: 100%;
  margin-top: 30px;
}

.sm .inpu-cont {
  margin-bottom: 10px;
}

.sm .inpu-cont textarea {
  height: 250px;
}

@media (max-width: 960px) {
  .sm .top-conts {
    flex-wrap: wrap;
    gap: 0px;
  }
}

/**------Contact-------**/

/**------wt-------**/
.inner-wt {
  margin-top: 80px;
}

.inner-wt .wts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.wts.contact {
  grid-template-columns: repeat(4, 1fr);
}

.wts.contact .wt-item {
  border: 1px solid var(--blue);
  border-radius: 10px;
  padding: 10px;
}

.inner-wt .wts .wt-item {
  text-align: center;
}

.inner-wt .wts .wt-item .title {
  margin: 24px 0;
}

.inner-wt .wts .wt-item .icon i {
  font-size: 35px;
  color: rgb(151, 151, 255);
}

@media (max-width: 960px) {
  .inner-wt .wts {
    grid-template-columns: repeat(1, 1fr);
  }
}
/**------wt-------**/

/**------Footer-------**/
.footer {
  background-color: var(--blue);
  color: #fff;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6,
.footer p {
  color: #fff;
}

.footer h2 {
  text-align: start;
  margin-bottom: 20px;
}

.footer .links {
  margin-top: 20px;
}

.footer p {
  font-size: 12px;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer i {
  color: #fff;
}

.footer .bottom-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer li {
  list-style: none;
  margin: 5px 0;
}

.footer li a {
  font-size: 12px;
}

.footer hr {
  background-color: #fff;
  margin: 10px 0;
}

.footer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer .footer-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .footer .footer-items {
    grid-template-columns: repeat(1, 1fr);
  }
  .footer .bottom-footer {
    flex-wrap: wrap;
    justify-content: center;
  }
}
/**------Footer-------**/
