@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

:root {
  --primary-color: #e0ebed;
  --text-dark: #231e22;
  --text-light: #767268;
  --extra-light: #f3f4f6;
  --white: #ffffff;
  --max-width: 1400px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 4rem 1rem;
}

.section__header {
  position: relative;
  isolation: isolate;
  padding-bottom: 1rem;
  font-size: 3rem !important;
  font-weight: 500;
  line-height: 3.5rem;
  color: var(--text-dark);
  text-align: center;
  overflow: hidden;
}

.section__header::before {
  position: absolute;
  content: "";
  height: 5px;
  width: 5rem;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #25453a;
  border-radius: 1rem;
}

.section__header::after {
  position: absolute;
  content: "";
  height: 5px;
  width: 6px;
  bottom: 0;
  left: calc(50% + 3rem);
  transform: translateX(-50%);
  background-color: #25453a;
  border-radius: 1rem;
}

.btn {
  padding: 1rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--text-dark);
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--text-light);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", serif;
}

nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  z-index: 9;
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
}

.nav__logo a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background-color: var(--primary-color);
  transition: transform 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(100%);
}

.nav__links a {
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
}

header {
  padding-block: 5rem 4rem;
  display: grid;
  position: relative;
  isolation: isolate;
}

.header__image {
  height: 100%;
  background-image: url("assets/model-3.3.jpg");
  /* background-image: url("assets/header.png"); */
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 15rem;
}

.header__content {
  padding-inline: 1rem;
  padding-block: 2rem 22rem;
}

.header__content h1 {
  margin-top: 1.2rem;
  font-size: 2.5rem;
  font-weight: 400;
  /* line-height: 3.5rem; */
  color: var(--text-dark);
  text-align: center !important;
  letter-spacing: 0.2rem;
}

header form {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 2rem 1rem;
  background-color: var(--white);
  box-shadow: 0px 5px 50px var(--primary-color);
}

header .input__group {
  display: grid;
  gap: 0.5rem;
}

header label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

header input {
  padding-bottom: 0.5rem;
  width: 100%;
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  border: none;
  border-bottom: 1px solid var(--text-light);
}

header .btn {
  padding: 0.75rem;
  font-size: 1.5rem;
}

header form {
  font-size: 1rem !important;
}

.service {
  overflow: hidden;
}

.service__grid {
  margin-top: 2rem;
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 2rem 1rem;
}

.service__grid::before {
  position: absolute;
  content: "";
  height: calc(50% + 5rem);
  width: 100vw;
  bottom: -5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  z-index: -1;
}

.service__card {
  position: relative;
  isolation: isolate;
  padding: 2rem 1rem;
  background-color: var(--white);
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.service__card::before {
  position: absolute;
  content: "";
  width: 100%;
  max-width: 10rem;
  aspect-ratio: 1;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--primary-color);
  border-radius: 100%;
  z-index: -1;
}

.service__card img {
  max-width: 70px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.service__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem !important;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
}

.service__card p {
  font-weight: 500;
  color: var(--text-light);
  text-align: center;
  line-height: 1.75rem;
  font-size: 1rem !important;
}

.experience {
  padding-block: 5rem;
  display: grid;
  position: relative;
  isolation: isolate;
}

.experience__image {
  height: 100%;
  background-image: url("assets/model-1.3.jpg");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 15rem;
}

.experience__content {
  padding-inline: 1rem;
  padding-block: 2rem 20rem;
}

.experience__content p {
  margin-block: 2rem;
  font-weight: 500;
  line-height: 1.75rem;
  color: var(--text-dark);
  text-align: center;
  font-size: 1rem !important;
}

.experience__btn {
  text-align: center;
}

.experience__stats {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -1rem);
  width: 100%;
  max-width: 900px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
  gap: 2rem 1rem;
  text-align: center;
  background-color: var(--white);
  box-shadow: 0px 5px 50px var(--primary-color);
}

.experience__stats h4 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.experience__stats p {
  font-weight: 500;
  color: var(--text-light);
}

.swiper {
  padding-block: 4rem;
  width: 100%;
  max-width: 900px;
}

.swiper-slide {
  min-width: 425px;
}

.property__card {
  box-shadow: 0px 5px 50px var(--primary-color);
}

.property__details {
  padding: 1rem;
}

.property__details__header {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.property__details__header h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
}

.property__details__header h5 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
}

.property__amenities {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.property__amenities > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
}

.property__amenities span {
  font-size: 1.2rem;
  color: var(--text-dark);
}

.property__location {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
}

.subscribe {
  margin-top: 2rem;
  padding-inline: 0.5rem;
  padding-block: 3rem 2rem;
  /* margin-bottom: 5rem; */
  background-color: var(--primary-color);
}

.subscribe img {
  display: block;
  width: 100%;
  max-width: 256px;
  margin-inline: auto;
  margin-bottom: 1rem;
  border-radius: 100% !important;
}

.subscribe h3 {
  margin-top: 1.25rem;
  font-size: 1.75rem !important;
  font-weight: 300;
  text-align: center;
}

/* .subscribe form {
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  transform: translateY(calc(50% + 2rem));
  display: flex;
  align-items: center;
  background-color: var(--white);
  box-shadow: 0px 10px 50px var(--primary-color);
}

.subscribe input {
  width: 100%;
  padding-inline: 1rem;
  font-display: 1rem;
  color: var(--text-dark);
  background-color: transparent;
  outline: none;
  border: none;
}

.subscribe .btn {
  padding: 1.5rem 2rem;
} */

.location__map iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 0.5rem;
  margin-top: 2rem;
}

.footer__container {
  display: grid;
  gap: 2rem 2rem !important;
}

.footer__logo a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.footer__col p {
  margin-block: 1rem 2rem;
  max-width: 350px;
  font-weight: 500;
  line-height: 1.75rem;
  color: var(--text-dark);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem !important;
}

.footer__socials a {
  padding: 5px 7px;
  font-size: 2rem;
  color: var(--text-dark);
  background-color: var(--primary-color);
  border-radius: 30%;
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.footer__links {
  display: grid;
  gap: 1rem;
}

.footer__links a {
  font-weight: 500;
  color: var(--text-dark);
}

.footer__links a:hover {
  color: var(--text-light);
}

.footer__property__detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer__property__detail img {
  max-width: 100%;
  border-radius: 0.25rem;
}

.footer__property__detail h5 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.footer__property__detail p {
  margin: 0;
  line-height: 1.25rem;
}

.footer__bar {
  padding: 1rem 2rem;
  font-size: 1rem !important;
  color: var(--text-dark);
  background-color: var(--primary-color);
  text-align: center;
}

/* @media (width > 375px) {
  .nav__logo a {
    font-size: 1.5rem;
  }
  header form {
    flex-direction: column;
  }
  .header__content {
    padding-block: 2rem 7rem;
  }
  .header__content img {
    margin: 0 auto;
    max-width: 80%;
  }
  .header__content h1 {
    margin-top: 1rem;
    font-size: 1.95rem;
    font-weight: 400;
    text-align: center;
  }
  .header__content h2 {
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
  }
  .header__content h3 {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.195rem;
    text-align: center;
  }
  header form {
    font-size: 0.75rem;
  }
  .service .section__header {
    font-size: 1.9rem !important;
  }
  .experience .section__header {
    font-size: 1.9rem !important;
  }
  .subscribe h2 {
    font-size: 1.9rem !important;
  }
  .subscribe h3 {
    font-size: 1.4rem !important;
  }
  .subscribe .section__header {
    font-size: 1.9rem !important;
  }
  .section__container h2 {
    font-size: 1.9;
  }
  .service__grid h4 {
    font-size: 1.25rem;
  }
  .service__grid p {
    font-size: 0.85rem;
  }
  .experience .section__header {
    font-size: 1.9rem;
  }
  .experience__content p {
    font-size: 0.85rem;
  }
  .property__container .section__header {
    font-size: 1.9rem;
  }
  .subscribe .section__header {
    font-size: 1.9rem;
  }
  .subscribe h3 {
    font-size: 1rem;
  }
  .footer__logo a,
  h4 {
    font-size: 1.25rem;
  }
  .footer__col p,
  .footer__links a {
    font-size: 0.9rem;
  }
  .footer__bar {
    font-size: 0.85rem;
  }
} */
/* @media (width > 425px) {
  .nav__logo a {
    font-size: 1rem;
  }
  header form {
    flex-direction: column;
  }
  .header__content {
    padding-block: 3rem 9rem;
  }
  .header__content img {
    margin: 0 auto;
    max-width: 100%;
  }
  .header__content h2 {
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
  }
  .header__content h3 {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-align: center;
  }
  header form {
    font-size: 0.75rem;
  }
  .service .section__header {
    font-size: 1.9rem;
  }
  .service__grid h4 {
    font-size: 1.25rem;
  }
  .service__grid p {
    font-size: 0.85rem;
  }
  .experience .section__header {
    font-size: 1.9rem;
  }
  .experience__content p {
    font-size: 0.85rem;
  }
  .property__container .section__header {
    font-size: 1.9rem;
  }
  .subscribe .section__header {
    font-size: 1.9rem;
  }
  .subscribe h3 {
    font-size: 1rem;
  }
  .footer__logo a {
    font-size: 1.5rem;
  }
  .footer__col h4 {
    font-size: 1.5rem;
  }
  .footer__col p,
  .footer__links a {
    font-size: 1rem;
  }
  .footer__bar {
    font-size: 0.85rem;
  }
  .footer__property__detail img {
    max-width: 175px;
  }
} */

@media (width > 375px) {
  .header__image {
    min-height: 20rem;
  }
  header form {
    flex-direction: column;
  }
  .header__content {
    padding-block: 3rem 10rem;
  }
  .header__content img {
    max-width: 100%;
  }
  .header__content h2 {
    margin-top: 1rem;
    font-size: 34px;
    font-weight: 400;
    text-align: center;
  }
  .header__content h3 {
    margin-top: 0.5rem;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-align: center;
  }
  .service__grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .experience__image {
    min-height: 20rem;
  }
  .experience__content {
    padding-block: 2rem 8rem;
  }
  .experience__stats {
    flex-direction: row;
    text-align: left;
  }
  .property__details {
    padding: 1.5rem;
  }
  .footer__container {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (width > 768px) {
  nav {
    position: static;
    padding: 2rem 1rem;
    max-width: var(--max-width);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .nav__header {
    flex: 1;
    padding: 0;
    background-color: transparent;
  }
  .nav__logo a {
    font-size: 1.75rem;
  }
  .nav__menu__btn {
    display: none;
  }
  .nav__links {
    position: static;
    width: fit-content;
    padding: 0;
    flex-direction: row;
    background-color: transparent;
    transform: none !important;
  }
  .nav__links a {
    font-size: 1.25rem;
  }
  .nav__links a:hover {
    color: var(--text-light);
  }
  header {
    padding-top: 0;
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, calc(var(--max-width) / 2))
      minmax(0, calc(var(--max-width) / 2))
      minmax(0, 1fr);
    align-items: center;
  }
  .header__image {
    grid-area: 1/3/2/5;
    min-height: 30rem;
    border-top-left-radius: 100%;
  }
  .header__content {
    grid-column: 2/3;
    padding-block: 6rem 12rem;
  }
  .header__content h1 {
    text-align: left;
  }
  .header__content h2 {
    /* margin-top: 2.5rem; */
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
  }
  .header__content h3 {
    margin-top: 1.5rem;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1.5px;
  }
  header form {
    font-size: 1rem;
  }
  .section__header h2 {
    font-size: 2rem;
  }
  .service__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .experience {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, calc(var(--max-width) / 2))
      minmax(0, calc(var(--max-width) / 2))
      minmax(0, 1fr);
    align-items: center;
  }
  .experience__image {
    grid-column: 1/3;
    min-height: 30rem;
    border-top-right-radius: 100%;
  }
  .experience__content {
    grid-column: 3/4;
    padding-block: 5rem 8rem;
  }
  .experience__content :is(.section__header, p, .experience__btn) {
    text-align: right;
  }
  .footer__container {
    grid-template-columns: repeat(5, 1fr);
  }
  .footer__col:nth-child(1) {
    grid-column: 1/3;
  }
  .footer__col p {
    text-align: justify;
  }
}

@media (width > 1024px) {
  .service__grid {
    gap: 2rem;
  }
  .service__card {
    padding: 2rem;
  }
}
