@import url("https://corecms.mqdc.com/assets/eb55d178-f576-45f4-be81-8c646bac02fc&display=swap");
@import url("https://corecms.mqdc.com/assets/b5a785c6-e91b-47b0-a3b6-0c152e72cd48&display=swap");

body {
  font-family: "Campton", "FC Subject", sans-serif;
}

/* Hero banner Begin */
[data-name="hero-banner"] {
  background-color: #000;
  overflow: hidden;
}

/* Hero banner End */

/* Shopping destination Begin */
#creative-shopping-destination {
  background-color: #000;
  color: #fff;
  padding-bottom: 4em;
}

#creative-shopping-destination .img-box li img {
  transition: 0.5s;
  transform: scale(1.05);
}

#creative-shopping-destination .img-box li:hover img {
  transform: scale(1.15);
}

#creative-shopping-destination .img-box li:hover {
  z-index: 2;
}

#creative-shopping-destination h3 {
  font-weight: 700;
  font-size: min(1.5em, 3cqw);
}

@media screen and (min-width: 768px) {
  #creative-shopping-destination .img-box {
    aspect-ratio: 221 / 243;
    container-type: inline-size;
  }

  #creative-shopping-destination .content {
    top: 6em;
    position: sticky;
    z-index: 1;
  }

  #creative-shopping-destination .img-box li {
    position: absolute;
    transition: 0.5s;
    overflow: hidden;
  }

  #creative-shopping-destination .entertain {
    width: 57%;
    top: 0;
    right: 10%;
  }

  #creative-shopping-destination .interact {
    width: 48.6%;
    left: 0;
    top: 30%;
  }

  #creative-shopping-destination .experience {
    width: 48.6%;
    right: 0;
    bottom: 0;
  }
}

@media screen and (min-width: 992px) {
  #creative-shopping-destination .main-subtitle {
    max-width: 25rem;
  }
}

/* Shopping destination End */

/* Zoning highlight Begin */
#zoning-highlight {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  padding-bottom: 4em;
}

#zoning-highlight::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: calc(50% + 4em);
  background-color: #000;
  z-index: 0;
}

.card-tag {
  overflow: visible;
}

.card-tag .swiper-slide {
  height: auto;
  max-width: 20em;
  margin-bottom: 2em;
}

.card-tag .item {
  position: relative;
  padding: 1.68em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  aspect-ratio: 364/555;
}

.card-tag .item-bg {
  background-color: #edf1ff;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 2em;
  z-index: 0;
}

.card-tag .info {
  position: relative;
  z-index: 1;
  container-type: inline-size;
}

.card-tag .ratio {
  border-radius: 1.5em;
  overflow: hidden;
}

.card-tag .number {
  font-size: max(2em, 4.2cqw);
  font-weight: 500;
}

.card-tag h3 {
  font-size: max(1em, 6cqw);
  line-height: 1.1;
}

.card-tag p {
  font-size: min(0.8em, 6cqw);
  line-height: 1.2;
}

@media screen and (min-width: 768px) {
  .card-tag .swiper-slide {
    margin-bottom: 0;
    max-width: none;
  }

  .card-tag .item {
    padding: 1em;
  }

  .card-tag .swiper-slide .item-bg,
  .card-tag .swiper-slide .ratio {
    transition: 0.3s;
  }

  .card-tag .swiper-slide:hover .item-bg {
    transform: scale(1.05);
    background-color: #ededed;
  }

  .card-tag .swiper-slide:hover .ratio {
    transform: scale(1.05);
  }

  .card-tag .item {
    aspect-ratio: unset;
  }

  #zoning-highlight::before {
    height: calc(24% + 4em);
  }

  #zoning-highlight .ratio::before {
    --bs-aspect-ratio: 63%;
  }
}

@media screen and (min-width: 992px) {
  .card-tag .item {
    padding: 1.68em 1.2em 1.2em;
  }
}

@media screen and (min-width: 1200px) {
  #zoning-highlight::before {
    height: calc(34% + 4em);
  }
}

/* Zoning highlight End */

/* Project information Begin */
#project-information .content {
  background-color: #262626;
  color: #fff;
  margin-top: -2em;
  position: relative;
  z-index: 1;
}

#project-information .content li {
  margin: 0;
  padding-bottom: 0.3em;
}

#project-information .content li:not(:last-child) {
  border-bottom: 1px solid #929497;
  margin-bottom: 1em;
}

@media screen and (min-width: 768px) {
  #project-information .content h3 {
    font-size: 1em;
  }

  #project-information .content li {
    font-size: min(1em, 5cqw);
  }
}

@media screen and (min-width: 992px) {
  #project-information .content {
    container-type: inline-size;
    position: absolute;
    background-color: rgba(38, 38, 38, 0.9);
    top: 50%;
    right: 1.5em;
    width: 35%;
    transform: translateY(-50%);
    margin-top: 0;
  }
}

/* Project information End */

/* Gallery Begin */
#gallery {
  overflow: hidden;
}

#gallery .swiper {
  overflow: visible;
  margin-bottom: 2em;
}

#gallery .info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2em 1em;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%) 0 0;
}

#gallery h3 {
  color: #fff;
  font-size: 1.375em;
}

#gallery .swiper-nav-group {
  display: flex;
}

@media screen and (min-width: 768px) {
  #gallery .swiper {
    overflow: hidden;
  }

  #gallery h3 {
    font-size: 1.25em;
  }

  #gallery .swiper-nav-group {
    display: initial;
  }

  #gallery .swiper-button-next,
  #gallery .swiper-button-prev {
    top: var(--swiper-navigation-top-offset, 50%);
    position: absolute;
    margin-top: calc(0px - 1.25em);
  }

  #gallery .swiper-button-prev {
    left: var(--swiper-navigation-sides-offset, 10px);
  }

  #gallery .swiper-button-next {
    right: var(--swiper-navigation-sides-offset, 10px);
  }
}

/* Gallery End */

/* Map Begin */
#getting-here {
  padding-bottom: 4em;
}

#getting-here .sp-map {
  background: transparent url(https://webbackend.mqdc.com/assets/b2dff258-ddad-4514-9146-9ce3275e63d4) no-repeat 0 0 / 355% auto;
  width: 6em;
  height: 6em;
  overflow: hidden;
  text-indent: -999999em;
  border: 0;
  flex: 0 0 auto;
}

#getting-here .btn-bts {
  background-position: 96.032% 92.647%;
}

#getting-here .btn-bts.active {
  background-position: 3.968% 92.647%;
}

#getting-here .btn-airport {
  background-position: 96.032% 7.353%;
}

#getting-here .btn-airport.active {
  background-position: 50% 7.353%;
}

#getting-here .btn-expressway {
  background-position: 50% 92.647%;
}

#getting-here .btn-expressway.active {
  background-position: 3.968% 7.353%;
}

#getting-here .nav-tabs {
  border-bottom: 0;
}

#getting-here .info {
  background-color: #fff;
  padding: 1em;
  border-radius: 0 0 1.25em 1.25em;
}

#getting-here h3 {
  font-weight: bold;
  font-size: 1.5em;
}

#btn-direction {
  display: block;
  font-size: 1.1em;
  color: #fff;
  background-color: var(--cloud-blue);
  border-radius: 10em;
  text-align: center;
  padding: 0.5rem;
  margin-top: 1em;
  transition: 0.5s;
}

#btn-direction:hover {
  letter-spacing: 1px;
}

.map-animation {
  background: url(https://webbackend.mqdc.com/assets/e80db0e0-ea02-4330-b514-e2d80b0c6112) no-repeat 0 0 / contain;
  position: sticky;
  top: 6em;
}

@media screen and (min-width: 768px) {
  #getting-here .sp-map {
    width: 3em;
    height: 3em;
    margin-right: 1em;
    margin-bottom: 1em;
  }

  #getting-here .nav-item {
    border-radius: 1.5em;
    padding: 1em 1em 0 1em;
    transition: 0.3s;
    cursor: pointer;
  }

  #getting-here .nav-item.active {
    background-color: #fff;
  }

  #getting-here .info {
    background-color: transparent;
    padding: 0;
  }

  #getting-here h3 {
    font-size: 1.25em;
  }
}

@media screen and (min-width: 1200px) {
  #getting-here .sp-map {
    width: 6em;
    height: 6em;
  }
}

/* Map End */

/* Contact us Begin */
#contact-us {
  background-color: #fff;
}

#contact-us .info {
  background-color: #eff6ff;
  backdrop-filter: blur(2em);
  border-radius: 0 0 1.8em 1.8em;
  padding: 2em 1em;
}

#contact-us .content {
  border-top: 1px solid var(--cloud-blue);
}

#contact-us .content a:not(:hover) {
  color: var(--cloud-black);
}

#contact-us .content .address {
  padding-left: 2rem;
  background: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!--%20License%3A%20CC0%20License.%20Made%20by%20SVG%20Repo%3A%20https%3A%2F%2Fwww.svgrepo.com%2Fsvg%2F474832%2Fexpand%20--%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214.518%22%20height%3D%2221.395%22%20viewBox%3D%220%200%2014.518%2021.395%22%3E%3Cg%20transform%3D%22translate(-424.417%20-8773.141)%22%3E%3Cpath%20d%3D%22M14.129%2C247.2a5.348%2C5.348%2C0%2C1%2C0-5.349-5.349%2C5.355%2C5.355%2C0%2C0%2C0%2C5.349%2C5.349%22%20transform%3D%22translate(417.546%208538.547)%22%20fill%3D%22blue%22%2F%3E%3Cpath%20d%3D%22M13.947%2C255.923a.294.294%2C0%2C0%2C0%2C.37%2C0c1.592-1.285%2C6.808-6.049%2C7.066-13.44a7.487%2C7.487%2C0%2C0%2C0-6.9-7.881c-.119-.005-.238-.008-.356-.008a7.17%2C7.17%2C0%2C0%2C0-4.986%2C2%2C7.279%2C7.279%2C0%2C0%2C0-2.273%2C5.319c0%2C7.705%2C5.417%2C12.671%2C7.077%2C14.009m.182-20.183a6.113%2C6.113%2C0%2C1%2C1-6.113%2C6.113%2C6.12%2C6.12%2C0%2C0%2C1%2C6.113-6.113%22%20transform%3D%22translate(417.546%208538.547)%22%20fill%3D%22blue%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat left 0.5em top;
}

#contact-us .content .phone {
  padding-left: 2rem;
  background: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!--%20License%3A%20CC0%20License.%20Made%20by%20SVG%20Repo%3A%20https%3A%2F%2Fwww.svgrepo.com%2Fsvg%2F474832%2Fexpand%20--%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2219.227%22%20height%3D%2219.227%22%20viewBox%3D%220%200%2019.227%2019.227%22%3E%3Cpath%20d%3D%22M5.411%2C339.671a1.027%2C1.027%2C0%2C0%2C0-.761-.494%2C1.112%2C1.112%2C0%2C0%2C0-.128-.008%2C1.026%2C1.026%2C0%2C0%2C0-.729.3L1.4%2C341.865a1.361%2C1.361%2C0%2C0%2C0-.4%2C1.024%2C16.093%2C16.093%2C0%2C0%2C0%2C5.031%2C10.475A16.085%2C16.085%2C0%2C0%2C0%2C16.5%2C358.395a1.376%2C1.376%2C0%2C0%2C0%2C1.024-.4l2.393-2.392a1.037%2C1.037%2C0%2C0%2C0-.2-1.619l-3.667-2.2a1.033%2C1.033%2C0%2C0%2C0-1.261.155l-1.117%2C1.113a1.034%2C1.034%2C0%2C0%2C1-1.2.2%2C14.662%2C14.662%2C0%2C0%2C1-3.525-2.806%2C14.644%2C14.644%2C0%2C0%2C1-2.807-3.527%2C1.032%2C1.032%2C0%2C0%2C1%2C.193-1.2L7.455%2C344.6a1.03%2C1.03%2C0%2C0%2C0%2C.155-1.26Z%22%20transform%3D%22translate(-0.997%20-339.169)%22%20fill%3D%22blue%22%2F%3E%3C%2Fsvg%3E") no-repeat left 0.3em top;
}

#contact-us .content .mail {
  padding-left: 2rem;
  background: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!--%20License%3A%20CC0%20License.%20Made%20by%20SVG%20Repo%3A%20https%3A%2F%2Fwww.svgrepo.com%2Fsvg%2F474832%2Fexpand%20--%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2221.219%22%20height%3D%2214.399%22%20viewBox%3D%220%200%2021.219%2014.399%22%3E%3Cg%20transform%3D%22translate(-424.417%20-8941.29)%22%3E%3Cpath%20d%3D%22M0%2C458.634l8.623-6.7-8.551-6.49a.753.753%2C0%2C0%2C0-.072.318Z%22%20transform%3D%22translate(424.417%208496.282)%22%20fill%3D%22blue%22%2F%3E%3Cpath%20d%3D%22M.758%2C445.008H.748l9.186%2C6.973a1.122%2C1.122%2C0%2C0%2C0%2C1.352%2C0l9.186-6.972H.758Z%22%20transform%3D%22translate(424.417%208496.282)%22%20fill%3D%22blue%22%2F%3E%3Cpath%20d%3D%22M21.219%2C458.634V445.766a.753.753%2C0%2C0%2C0-.072-.318l-8.551%2C6.49Z%22%20transform%3D%22translate(424.417%208496.282)%22%20fill%3D%22blue%22%2F%3E%3Cpath%20d%3D%22M20.461%2C459.407a.745.745%2C0%2C0%2C0%2C.38-.106l-8.87-6.888-.227.172a1.884%2C1.884%2C0%2C0%2C1-2.269%2C0l-.227-.172L.377%2C459.3a.745.745%2C0%2C0%2C0%2C.38.106Z%22%20transform%3D%22translate(424.417%208496.282)%22%20fill%3D%22blue%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat left 0.3em top 0.3em;
}

#contact-us .wrapper.disclaimer::after {
  opacity: 0;
}

#contactus-shortcut {
  position: fixed;
  right: 0.5rem;
  bottom: 0;
  text-align: center;
  background: var(--cloud-blue);
  border-radius: 100%;
  width: 5em;
  display: flex;
  height: 5em;
  flex-direction: column;
  color: #fff;
  padding: 0.5em;
  justify-content: center;
  align-items: center;
  opacity: 0;
  z-index: -2;
  transition: 0.5s;
  transform: translateY(100%);
  box-shadow: -0.2em 0.3em 1em rgba(0, 0, 0, 0.4);
}

#contactus-shortcut.active {
  z-index: 1;
  opacity: 1;
  transform: translateY(-1rem);
}

#contactus-shortcut::before {
  content: "\f04b";
  font-family: "Font Awesome 6 Free";
  position: absolute;
  color: var(--cloud-blue);
  font-weight: 900;
  left: -0.1em;
  bottom: -0.34em;
  font-size: 2em;
  transform: rotate(28deg);
  z-index: -1;
}

#contactus-shortcut .fa-envelope {
  font-size: 2em;
  margin-right: -0.2em;
  transition: 0.3s;
}

#contactus-shortcut span {
  font-size: 0.55em;
}

#contactus-shortcut:hover .fa-envelope {
  transform: scale(1.1);
}

#contact-us iframe {
  height: 70em;
  width: 100%;
}

@media screen and (min-width: 388px) {
  #contact-us iframe {
    height: 74em;
  }
}

@media screen and (min-width: 420px) {
  #contact-us iframe {
    height: 81em;
  }
}

@media screen and (min-width: 600px) {
  #contact-us iframe {
    height: 78em;
  }
}

@media screen and (min-width: 655px) {
  #contact-us iframe {
    height: 62em;
  }
}

@media screen and (min-width: 768px) {
  #contact-us .content {
    border-top: 0;
    font-size: 0.8em;
    position: sticky;
    top: 6em;
  }

  #contact-us .content img {
    max-width: 12em;
  }

  #contact-us .info {
    background-color: rgba(239, 246, 255, 0.7);
  }

  #contact-us .wrapper>.row {
    background: #bbbdbf url(https://webbackend.mqdc.com/assets/e2cc839f-07b3-41cd-a3a6-34d8bdf6a696) no-repeat center center / cover;
    position: relative;
  }

  #contact-us .wrapper>.row::after {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    text-align: right;
    color: #ccc;
    font-size: 8px;
    z-index: 1;
    max-width: 90%;
    opacity: 0.4;
    content: "Computer-generated imagery for advertising purposes only. The company reserves the right to change the project's details without prior notice";
  }

  body[lang="th"] #contact-us .wrapper>.row::after {
    content: "ภาพจำลองจากคอมพิวเตอร์เพื่อการโฆษณาเท่านั้น บริษัทฯ ขอสงวนสิทธิ์ในการเปลี่ยนแปลงรายละเอียดโครงการโดยไม่ต้องแจ้งให้ทราบล่วงหน้า";
  }

  #contact-us .disclaimer::after {
    opacity: 0.4;
  }

  #contact-us .info {
    border-radius: 2em;
    margin: 3em 0;
  }

  #contact-us iframe {
    height: 82em;
  }
}

@media screen and (min-width: 1151px) {
  #contact-us iframe {
    height: 60em;
  }
}

@media (hover: hover) {
  #contact-us .wrapper>.row {
    background-attachment: fixed;
  }
}

@media screen and (min-width: 1400px) {
  #contact-us .content {
    font-size: 1em;
  }
}

/* Contact us End */

/* Animation Begin */
.action-gradient-reveal {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.2s;
  will-change: opacity;
}

body[lang="th"] .action-gradient-reveal {
  line-height: 1.45;
}

.action-gradient-reveal:after {
  content: "";
  position: absolute;
  width: 200%;
  height: 100%;
  z-index: 1;
  top: 0;
  left: 0;
  background: linear-gradient(312deg, rgba(0, 0, 0, 1) 25%, transparent 100%);
  transform: translate3d(-49%, 0, 0);
  will-change: transform;
}

.action-gradient-reveal.fin {
  opacity: 1;
}

.action-gradient-reveal.fin:after {
  transition: transform 2.5s;
  transform: translate3d(100%, 0, 0);
}

#gallery .action-gradient-reveal:after,
#getting-here .action-gradient-reveal:after {
  background: linear-gradient(312deg, #eff6ff 25%, transparent 100%);
}

/* Animation End */
