/* makes sizing simpler */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* remove default spacing */
/* force styling of type through styling, rather than elements */

* {
  margin: 0;
  padding: 0;
  font: inherit;
}


/* min body height */

body {
  min-height: 100vh;
}

/* responsive images/videos */
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

:root {
  --off-white: #f2f0E4;
  --dark-gray: #453F47;
  --mid-gray: #B5B2B5;
  --light-gray: #A6A1A1;
  --contact-gray: #DAD9DA;
  --error-red: #C93800;
}

body {
  margin: 0;
  font-family: 'W Supreme Web Regular', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: #1d1d1d;
}

h1 {
  font-family: 'W Supreme Web Semibold', sans-serif;
  font-size: 45px;
  color: var(--dark-gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* header */
.header {
  background: transparent;
  min-height: 55px;
  color: #ffffff;
  padding: 20px 10px;
  border-bottom: 1.5px solid var(--off-white);
  font-family: 'W Supreme Web Semibold', sans-serif;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0.25em;
  position: fixed;
  width: 100%;
  z-index: 2;
  transition: all 0.3s ease-in-out;

  &.invert-colours {
    background: var(--off-white);
    border-bottom: 1.5px solid var(--dark-gray);
    color: var(--dark-gray);

    .logo-link {
      .logo {
        filter: invert(1);
      }
    }

    .main-nav a {
      color: var(--dark-gray);

      &.active {
        color: var(--light-gray);
      }
    }

    .right-nav a.enquire-btn {
      background: var(--dark-gray);
      color: var(--off-white);
    }


    span {
      color: var(--dark-gray) !important;

      &:hover {
        color: var(--light-gray);
      }
    }
    
    
  }

  &.invert-colours.enquiry {
    background-color: transparent;
  }

  .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0 51px;
  }

  .logo-link {
    text-decoration: none;
    width: 97px;
    flex-shrink: 0;
    display: flex;
    align-items: center;

    .logo {
      width: 97px;
      height: 95px;
      display: block;
    }
  }

  .main-nav {
    display: flex;
    justify-content: center;
    gap: 2%;
    flex: 1;
    margin: 0;
    align-items: center;

    a {
      text-transform: uppercase;
      letter-spacing: 0.25em;
      padding: 8px;
      text-decoration: none;
      color: var(--off-white);
      display: block;
      transition: 0.3s;
      font-family: 'W Supreme Web Semibold', sans-serif;

      &:hover {
        color: #cccccc;
      }

      &.active {
        color: #8F8C91;
      }
    }


    .nav-dropdown span.nav-link-with-dropdown {
      text-transform: uppercase;
      letter-spacing: 0.25em;
      padding: 8px;
      text-decoration: none;
      color: var(--off-white);
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      transition: 0.3s;
      font-family: 'W Supreme Web Semibold', sans-serif;

      &:hover {
        color: #cccccc;
      }

      &.active {
        color: #8F8C91;
      }

      .dropdown-arrow {
        flex-shrink: 0;
        transition: transform 0.3s ease;
        margin-top: 2px;
      }
    }
  }

  /* Dropdown Navigation */
  .nav-dropdown {
    position: relative;
    display: inline-block;

    .nav-link-with-dropdown {
      text-transform: uppercase;
      letter-spacing: 0.25em;
      padding: 0;
      text-decoration: none;
      color: #f2f0e4;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: 0.3s;
      font-size: 16px;
      white-space: nowrap;
      font-family: 'W Supreme Web Semibold', sans-serif;
      cursor: pointer;

      &:hover {
        color: #cccccc;
      }

      &.active {
        color: #8F8C91;
      }

      .dropdown-arrow {
        transition: transform 0.3s ease;
        margin-top: 2px;
      }
    }

    .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      background-color: rgba(0, 0, 0, 0.95);
      min-width: 280px;
      padding: 12px 10px;
      margin-top: 12px;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease, margin-top 0.3s ease;
      z-index: 1000;
      border-radius: 4px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

      a {
        display: block;
        padding: 12px 24px 12px 0;
        color: #f2f0e4;
        text-decoration: none;
        font-size: 14px;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        font-family: 'W Supreme Web Semibold', sans-serif;
        transition: background-color 0.2s ease, color 0.2s ease;
        white-space: nowrap;
        text-align: left;

        &:hover {
          background-color: rgba(255, 255, 255, 0.1);
          color: #ffffff;
        }
      }
    }

    &:hover {
      .dropdown-menu {
        opacity: 1;
        visibility: visible;
        margin-top: 8px;
      }

      .dropdown-arrow {
        transform: rotate(180deg);
      }
    }
  }

  .right-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;

    .whatsapp-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      text-decoration: none;
      transition: 0.3s;

      svg {
        width: 24px;
        height: 24px;
      }
    }

    a.enquire-btn {
      background: #f2f0e4;
      color: #817B83;
      padding: 16px 32px;
      text-transform: uppercase;
      text-decoration: none;
      font-size: 16px;
      letter-spacing: 0.25em;
      white-space: nowrap;
      transition: 0.3s;
      font-family: 'W Supreme Web Semibold', sans-serif;

      &:hover {
        color: #817B83;
      }
    }

    a.hamburger-link img {
      width: 36px;
      height: 36px;
    }
  }

    /* Dropdown for inverted colors */
    .nav-dropdown {
      .nav-link-with-dropdown {
        color: var(--dark-gray);

        &:hover {
          color: var(--light-gray);
        }

        &.active {
          color: var(--light-gray);
        }

        .dropdown-arrow {
          stroke: var(--dark-gray);
        }
      }

      .dropdown-menu {
        background-color: rgba(242, 240, 228, 0.98);
        border: 1px solid var(--dark-gray);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

        a {
          color: var(--dark-gray);
          text-align: left;
          padding: 8px 10px;
          margin-bottom: 4px;

          &:hover {
            background-color: rgba(69, 63, 71, 0.1);
            color: var(--dark-gray);
          }


        }
      }
    }

    .right-nav a.enquire-btn {
      background: var(--dark-gray);
      color: var(--off-white);
    }

}


.invert-colours {
  & .right-nav {
      a.hamburger-link img {
        filter: invert(1);
      }
    }
}
.video-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;

  &.residences-header {
    overflow: visible;
  }

  .bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
  }
}

.overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25); /* dark transparent overlay */
  z-index: -1;
}

.video-overlay-text {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; /* Above the video */
  text-align: center;
  color: white;
  padding: 20px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.video-overlay-text p {
  letter-spacing: 0.2em;
  line-height: 1.5em;
  text-align: center;
  font-size: 45px;
  font-family: 'W Supreme Web Semibold', sans-serif;
  margin: 0;
  text-transform: uppercase;
  color: #ffffff;
}

.video-overlay-text .middle-line {
  width: 3px;
  height: calc(30vh - 2rem);
}


.hero-img-bg {
  display: none;
}

/* Feature section */
.feature-section {
  display: flex;
  align-items: flex-end;

  .feature-content {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1.5px solid var(--off-white);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    height: 96px;
    font-size: 20px;
    color: var(--off-white);
    width: 100%;
  }
}

/* One-column layout */
.one-column-layout {
  display: flex;
  flex-wrap: wrap;
  height: 100vh;
  background-color: var(--dark-gray);
  color: var(--off-white);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  flex: 1 1 50%;
  min-width: 300px;

  &.inverted-colours {
    background-color: var(--off-white);
    color: var(--dark-gray);
  }

  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 120px !important;
    gap: 40px;
    z-index: 2;

    p {
      letter-spacing: 0.2em;
      line-height: 1.5em;
      text-align: center;
      font-size: 45px;
      font-family: 'W Supreme Web Semibold', sans-serif;
    }

    img {
      width: 3px;
      height: calc(30vh - 2rem);
    }
  }

}


/* Two-column layout */
.two-column-layout {
  display: flex;
  /* flex-wrap: wrap; */
  height: 100vh;

  &.reversed {
    flex-direction: row-reverse;
  }

  .text-column {
    background-color: var(--dark-gray);
    color: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    flex: 1 1 50%;
    min-width: 300px;

    .content {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 60px;

      p {
        max-width: 460px;
        font-size: 18px;
        letter-spacing: 0.05em;
        line-height: 1.5em;
        text-align: center;
      }

      img {
        width: 3px;
      }

      .feature-btn {
        border: 1px solid var(--off-white);
        background: transparent;
        color: #F2F0E4;
        padding: 16px 32px;
        text-transform: uppercase;
        text-decoration: none;
        font-size: 18px;
        letter-spacing: 0.25em;
        line-height: 1.5em;

      }
    }
  }

  .image-column {
    flex: 1 1 50%;
    min-width: 300px;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
  }

}

.mobile-img-bg {
  display: none;
  height: 100vh;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;

  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;

    p {
      letter-spacing: 0.2em;
      line-height: 1.5em;
      text-align: center;
      font-size: 45px;
      font-family: 'W Supreme Web Semibold', sans-serif;
      color: var(--off-white);
    }

    img {
      width: 3px;
      height: calc(30vh - 2rem);
    }
  }

  .img-text-content {
    z-index: 1;
    padding: 1rem;

    img {
      width: 50%;
      margin: 0 auto;
    }
  }

  &.hero {
    background: url('../img/home/mobile/hero-bg-img.jpg') center center/cover no-repeat;

  }

  &.one {
    background: url('../img/home/mobile/feature1-bg-img.jpg') center center/cover no-repeat;
  }

  &.two {
    background: url('../img/home/mobile/feature2-bg-img.jpg') center center/cover no-repeat;
  }

  &.three {
    background: url('../img/home/mobile/feature3-bg-img.jpg') center center/cover no-repeat;
  }

  &.four {
    background: url('../img/home/mobile/feature4-bg-img.jpg') center center/cover no-repeat;
  }
}


/* three-column layout */
.three-column-layout {
  display: flex;
  flex-wrap: wrap;
  height: 100vh;
  background-color: var(--off-white);
  color: var(--dark-gray);

  .two-column {
    padding: 2rem;
    flex: 2;
  }

  .one-column {
    flex: 3;
    padding: 2rem;
    align-content: center;

    &.location-map {
      align-content: flex-start;
    }

    p {
      padding-bottom: 20px;
    }
  }

  .video-one-column {
    flex: 1;
    padding: 2rem;
    align-content: center;
  }

}

.mobile-only {
  display: none;
}

.desktop-only {
  display: flex;
}

.hero-scroll-wrapper {
  position: relative;
  height: 100vh;

  .hero-bg {
    position: sticky;
    top: 0;
    left: 0;
  }

  .first-trigger {
    position: absolute;
    top: 75vh;
    z-index: -1;
  }
}

.hero-scroll-wrapper.location.mobile {
  display: none;
}

.hero-scroll-wrapper.home.mobile {
  display: none;

  .content {
    z-index: 2;
    position: sticky;
    pointer-events: none;
    top: 0;
    transition: opacity 1s ease-in-out;
    margin: 0 auto;
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 2rem;
    padding-top: calc(2rem + 78px);


    p {
      color: var(--off-white);
      /* font-size: 16px; */
      letter-spacing: 4px;
      line-height: 1.5em;
      text-align: center;
      font-size: 42px;
      font-family: 'W Supreme Web Semibold', sans-serif;
    }

    img {
      width: 1px;
      height: 160px;
    }

    &.fade {
      pointer-events: none;
      opacity: 0;
      z-index: -1;
    }
  }

  .scroll-wrapper {
    /* margin-top: -100vh; */
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100vw;
    overflow-x: scroll;
    /* float: left; */

    .hero-bg {
      width: 300vw;
    }
  }
}

.hero-bg {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 1s ease-in-out;
  background-blend-mode: darken;

  &.start-darken-25 {
    background-color: rgba(0, 0, 0, 0.25);
  }

  &.darken-50 {
    background-color: rgba(0, 0, 0, 0.5);
  }

  &.darken-20 {
    background-color: rgba(0, 0, 0, 0.2);
  }

  &.darken-10 {
    background-color: rgba(0, 0, 0, 0.1);
  }

  .content {
    transition: opacity 1s ease-in-out;
    margin: 0 auto;

    &.fade {
      pointer-events: none;
      opacity: 0;
    }
  }

  .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
    opacity: 1;
    background-image: url('../img/location/location-hero-text.png');
    visibility: visible;

    &.cn-page {
      background-image: url('../img/location/location-hero-text-cn.png');
    }

    &.hidden {
      opacity: 0;
      visibility: hidden;
    }

  }
  
}

.other-hero {
  overflow: hidden;

  .content {
    transition: opacity 1s ease-in-out;

    &.hide {
      pointer-events: none;
      opacity: 0;
    }
  }

  .fade-out-text {
    position: absolute;
    bottom: 5rem;
    margin: 0 auto;
    max-width: 70vw;
    display: flex;
    justify-content: center;
    /* transition: opacity 1s ease-in-out; */

    &.fade {
      opacity: 0;
      visibility: hidden;
    }
  }
}

.home-hero {
  background-image: url('../figma_img/Homepage_smaller_size.jpg');
  background-position: center 80%;
}

.location-hero {
  background-image: url('../img/location/location-hero-img.jpg');
}

.benefits-hero {
  background-image: url('../img/benefits/benefits-hero.jpg');
}

.full-screen-image {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.full-screen-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.design-hero-wrapper {
  position: relative;
  height: 400vh;

  .fade-trigger {
    position: absolute;
    top: 100vh;
    z-index: -1;
  }

  .first-trigger {
    position: absolute;
    top: 150vh;
    z-index: -1;
  }

  .second-trigger {
    position: absolute;
    top: 300vh;
    z-index: -1;
  }
  

}

.design-hero {
  position: sticky;
  top: 0;
  height: 100vh;
  /* transition: background-color 1s ease-in-out; */
  background-blend-mode: darken;
  transition: all 1s ease-in-out;
  background-image: url('../img/design/design-feature-img-1.jpg');
  background-color: rgba(0, 0, 0, 0);


  &.fade {
    background-color: rgba(0, 0, 0, 0.25);
  }
}

.hotel-hero {
  background-image: url('../img/hotel/hotel-hero-img.jpg');
}

.enquiry-hero {
  background-image: url('../img/enquiry-bg-img.jpg');
}

.amenities-hero {
  background-image: url('../img/amenities/amenities-hero.jpg');
}

.amenities-hero-2 {
  background-image: url('../img/amenities/world-of-amenities.jpg');
}

/* .residences-hero {
  background-image: url('../img/residences/residences-hero.jpg');
} */

/* Signature Collection page specific hero background */
#signature-page .full-screen-image {
  height: 1269px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.44) 100%), url('../figma_img/013_MARINA VIEW_W Hotel Lobby_01 2.png') lightgray 50% / contain no-repeat;
}

/* Signature Collection hero text */
.signature-hero-text {
  width: 626.052px;
height: 271px;
flex-shrink: 0;
}

.signature-logo {
  display: flex;
height: 1002px;
padding-left: 3px;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 80px;
flex-shrink: 0;
align-self: stretch;
}

/* Signature Collection Gallery Layout */
.signature-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  max-width: none;
  margin: 0;
  padding: 0;
}

.gallery-item-large {
  grid-column: 1 / -1; /* Span full width */
  grid-row: 1;
  width: 100%;
}

.signature-gallery .gallery-item:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

.signature-gallery .gallery-item:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.residences-hero-2 {
  background-image: url('../img/residences/w-ecosystem.jpg');
}

.video-with-text {
  text-align: left;
  padding: 6em 8em;
  color: var(--dark-gray);
  height: auto;

  &.benefits {
    .one-column-layout {
      align-items: center;
    }

    p {
      font-size: 24px;
      line-height: 1.5em;
      font-family: 'W Supreme Web Regular', sans-serif;
    }
  }

  .h1-title, h1 {
    font-family: 'W Supreme Web Semibold', sans-serif;
    font-size: 45px;
    color: var(--dark-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-bottom: 40px;
  }

  p {
    font-family: 'W Supreme Web Regular', sans-serif;
    font-size: 18px;
    letter-spacing: 0.05em;
    line-height: 1.5em;
  }
}


.full-viewport-image {
  img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: block;
  }
}

/* accordion */

.accordion-container {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  font-family: 'W Supreme Web Semibold', sans-serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--light-gray);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  padding: 16px 0;
  cursor: pointer;
  text-align: center;
  margin-top: -1px;
  position: relative;
}

.accordion-section.pseudo-active .accordion-header {
  color: var(--dark-gray);
  border-top: 1px solid var(--dark-gray);
  border-bottom: 1px solid var(--dark-gray);
  z-index: 1;
}

.accordion-section.active .accordion-header {
  color: var(--dark-gray);
  border-top: 1px solid var(--dark-gray);
  border-bottom: 1px solid var(--dark-gray);
  z-index: 1;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-section.active .accordion-content {
  max-height: 500px;
  /* Adjust if more content is added */
  transition: max-height 0.5s ease;
}

.accordion-content ul {
  list-style: none;
  padding: 24px 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 8px;
  text-align: center;

  &.legend {
    li {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;

      img {
        width: 48px;
        height: 8px;
      }
    }
  }
}

.accordion-content li {
  font-size: 16px;
  letter-spacing: 0.05em;
}

/* accordion END */

/* hamburger menu */
.menu-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  background: #f2f0e4;
  z-index: 1002;
  overflow-y: auto;
}

.menu-container.hidden {
  display: none;
}

.menu-container .menu-header {
  display: flex;
  width: 100%;
  height: 96px;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  border-bottom: 1.5px solid #453f47;
  padding: 0 40px;
}

.menu-container .menu-logo {
  width: 82px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;

  a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

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

.menu-container .menu-close-btn {
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);

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

.menu-container .menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 80px 40px;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.menu-container .menu a {
  font-size: 48px;
  text-decoration: none;
  color: #453f47;
  letter-spacing: 4.8px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.5;
  white-space: nowrap;
  transition: all 0.3s ease;

  &:hover {
    opacity: 0.7;
  }

  &.active {
    color: #B5B2B5;
  }

  &.menu-enquiry {
    font-weight: 600;
  }

}

.menu-container .menu-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.menu-container .language-toggle {
  display: none;
  align-items: center;
  gap: 24px;
  margin: 0;
  font-size: 30px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #453f47;

  span:nth-child(3) {
    width: auto;
  }

  a {
    text-decoration: none;
    color: #453f47;
    font-size: 30px;

    &:visited {
      color: #453f47;
    }
  }
}

/* END hamburger menu */

main {
  padding: 20px;
}

.footer {
  background: #000000;
  padding: 80px 64px;
  color: #ffffff;
  position: relative;

  .footer-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;

    .footer-logo {
      width: 310px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;

      img {
        width: 100%;
        height: auto;
      }
    }

    .footer-enquire-btn {
      display: inline-block;
      padding: 16px 32px;
      border: 1.5px solid #ffffff;
      color: #ffffff;
      text-decoration: none;
      font-family: 'W Supreme Web Semibold', sans-serif;
      font-size: 14px;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      transition: all 0.3s ease;

      &:hover {
        background-color: #ffffff;
        color: #000000;
      }
    }

    .footer-social {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 24px;

      .social-label {
        color: #FFF;
        font-size: 30px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%; /* 21px */
        letter-spacing: 0.5px;
        white-space: nowrap;
      }

      .social-icons {
        display: flex;
        gap: 16px;

        a {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 32px;
          height: 32px;
          text-decoration: none;
          transition: all 0.3s ease;

          img {
            width: 20px;
            height: 20px;
            filter: brightness(0) invert(1);
          }

          &:hover {
            opacity: 0.8;
          }
        }
      }
    }

    .footer-divider {
      width: 100%;
      max-width: 1769px;
      border: none;
      background: #FFF;
      margin: 0;
      height: 1.5px;
    }

    .footer-bottom-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      text-align: center;

      .footer-copyright {
        margin: 0;
        font-size: 12px;
        letter-spacing: 0.05em;
        color: #ffffff;
      }

      .footer-links {
        display: flex;
        gap: 24px;

        a {
          font-size: 12px;
          color: #ffffff;
          letter-spacing: 0.05em;
          transition: all 0.3s ease;

          &:hover {
            opacity: 0.8;
          }
        }
      }
    }
  }
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

  img {
    width: 100%;
    height: 100%;
  }
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top.hidden {
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* END scroll to top button */

.location {
  .carousel-section {
    height: 40vh;
  }
}

/* Carousel */
.carousel-section {
  /*height: 50vh;*/
  /* border-top: 1px solid var(--dark-gray);
  border-bottom: 1px solid var(--dark-gray); */
  background-color: var(--off-white);
  display: flex;
  align-items: center;
  width: 100vw;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 20px;
  background-color: var(--off-white);
  width: 100vw;
}

.glide__slide img {
  width: 100%;
}

/* .carousel {
  overflow: hidden;
  width: 100vw;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 30vw;
  max-width: 30vw;
  flex-shrink: 0;
  margin: 0 1rem;
}

.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
} */

.nav {
  /* background: #333;
  color: white;
  border: none;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%; */
  cursor: pointer;
  position: absolute;
  z-index: 1;
  border: none;
  background: transparent;

  &.left {
    top: calc(50% - (56px / 2));
    left: 100px;
  }

  &.right {
    top: calc(50% - (56px / 2));
    right: 100px;
  }
}

/* END carousel */

.services-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: var(--off-white);
  gap: 80px;
  padding: 8em;

  .services-img {
    flex: 1.5;
  }

  .services-content {
    flex: 3.5;

    h1 {
      font-family: 'W Supreme Web Semibold', sans-serif;
      font-size: 45px;
      color: var(--dark-gray);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding-bottom: 40px;
    }

    p {
      font-family: 'W Supreme Web Regular', sans-serif;
      font-size: 18px;
      letter-spacing: 0.05em;
      line-height: 1.5em;
      margin-bottom: 40px;

      a {
        color: var(--dark-gray);
      }
    }

    img {
      display: none;
    }

    .service-items {
      display: flex;
      justify-content: space-between;

      .column1,
      .column2 {
        flex: 1;

        ul {
          list-style: none;

          li {
            font-size: 18px;
            letter-spacing: 0.07em;
            text-transform: uppercase;
            padding-bottom: 20px;
          }
        }
      }
    }

    .divider {
      margin-bottom: 40px;
    }
  }
}

.onvia {
  .onvia-wrapper {
    display: flex;
    padding-top: 5rem !important;
    background-color: var(--dark-gray);

    .onvia-content {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 2rem;
      flex: 1 1 40%;
      min-width: 300px;
      background-color: var(--dark-gray);

      .content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 40px;
        max-width: 485px;
        color: var(--off-white);

        h1 {
          font-family: 'W Supreme Web Semibold', sans-serif;
          font-size: 45px;
          text-transform: uppercase;
          letter-spacing: 0.1em;
          color: var(--off-white);
        }

        p {
          font-family: 'W Supreme Web Regular', sans-serif;
          font-size: 18px;
          letter-spacing: 0.05em;
          line-height: 1.5em;

          &.disclaimer {
            font-size: 14px;
            color: var(--mid-gray);
          }
        }

        .onvia-logo {
          width: 178px;
          display: block;
          padding-top: 10px;
        }
      }
    }


    .more {
      font-family: 'W Supreme Web Semibold', sans-serif;
      text-decoration: underline;
      font-size: 18px;
      letter-spacing: 0.05em;
      line-height: 1.5em;
      color: var(--off-white);
    }

    .onvia-img {
      flex: 1 1 60%;
      min-width: 300px;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
    }
  }
}


/* "loading" screen */

#pre-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--dark-gray);
  /* White background for logo */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1003;
  /* Ensure logo is above iframe, enquiry mobile button is 1001 */
  opacity: 0;
  /* Initially hidden for fade-in */
  /* display: none; Hide by default */

  img {
    max-width: 244px;
    /* Scale logo to fit screen */
    max-height: 240px;
    object-fit: contain;
    /* Maintain aspect ratio */
  }
}

#form-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--off-white);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: -100;
  opacity: 0;
  flex-direction: column;
  transition: opacity 0.3s ease-in-out;

  &.show {
    display: flex;
    z-index: 1004;
    opacity: 1;
  }

  .loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--dark-gray);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
  }

  .loading-text {
    font-size: 1rem;
    color: var(--dark-gray);
    font-family: 'W Supreme Web Regular', sans-serif;
    letter-spacing: 1px;
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#form-success {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--off-white);
  /* White background for logo */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: -100;
  /* Ensure logo is above iframe, enquiry mobile button is 1001 */
  opacity: 0;
  /* Initially hidden for fade-in */
  /* display: none; Hide by default */
  flex-direction: column;
  transition: opacity 0.5s ease-in-out;

  img {
    max-width: 244px;
    /* Scale logo to fit screen */
    max-height: 240px;
    object-fit: contain;
    /* Maintain aspect ratio */
  }

  &.show {
    display: flex;
    z-index: 1003;
    opacity: 1;
    /* Show the success message */
  }

  .text {
    font-size: 1rem;
    padding-top: 1rem;
    color: var(--dark-gray);
    text-align: center;
  }

  .success-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
  }

  .home-btn {
    display: inline-block;
    background-color: var(--dark-gray);
    color: #fff;
    padding: 12px 32px;
    text-decoration: none;
    font-family: 'W Supreme Web Regular', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;

    &:hover {
      background-color: #333;
    }
  }

  .close-btn {
    position: absolute;
    top: 50px;
    right: 50px;
  }
}

/* mobile enquire button */
.mobile-enquiry-button {
  display: none;
  position: fixed;
  top: 30%;
  right: 16px;
  transform: rotate(90deg);
  transform-origin: right center;
  transition: all 0.3s ease-in-out;

  background-color: var(--off-white);
  color: var(--dark-gray);
  text-decoration: none;
  font-size: 12px;
  font-family: 'W Supreme Web Semibold', sans-serif;
  font-weight: 500;
  letter-spacing: 0.2rem;
  padding: 0.5rem 1rem;
  /* border: 1px solid var(--dark-gray); */
  z-index: 1001;
  /* scroll to top is 1000 */

}

.empire-city-special {
  padding: 120px 80px;
  height: auto;
  /* max-width: 90vw;
  box-sizing: border-box; */

  .empire-city-weird-section-left {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    .text-section {
      display: flex;
      justify-content: flex-end;

      h1 {
        justify-content: flex-end;
        font-size: 45px;
        color: var(--dark-gray);
        letter-spacing: 0.1em;
        text-transform: uppercase;
        font-family: 'W Supreme Web Semibold', sans-serif;
        padding-right: 80px;
      }

      .text-container {
        width: 500px;

        p {
          font-size: 18px;
          padding-bottom: 40px;
        }
      }

    }

    .video-section {
      padding-top: 10rem;
    }

    .img-section {
      margin-top: 10vh;
    }


  }

  .empire-city-weird-section-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 16rem;

    p {
      margin-top: 1rem;
      font-size: 14px;
    }

    .offset-section {
      margin-left: 2rem;
    }
  }


}

.full-width.mobile-only,
.empire-city-special.mobile-only {
  display: none;
}

.full-width.mobile-only {
  background-color: var(--off-white);
  padding-top: 4rem;
}

.inspired-spaces {
  padding: 8rem 12rem;
  height: auto;

  .img-caption {
    p {
      font-size: 16px;
      padding-top: 0.5rem;
    }
  }

  .inspired-spaces-right {
    align-content: flex-end;
    padding-bottom: 6.5rem;
  }

  h1 {
    font-size: 45px;
    color: var(--dark-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'W Supreme Web Semibold', sans-serif;
    padding-bottom: 2.5rem;
  }

  .text-section {
    padding-bottom: 2.5rem;

    .text-container {
      max-width: 60%;
      min-width: 400px;
    }
  }

  .img-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;

    img {
      width: calc((100% - 2rem) / 2);
      height: auto;
      max-width: 500px;
      object-fit: cover;
    }
  }
}

.living-well {
  padding: 8rem 12rem;
  flex-direction: column;
  height: auto;

  .title {
    font-size: 45px;
    padding: 2rem;
    font-family: 'W Supreme Web Semibold', sans-serif;
    text-transform: uppercase;
    color: var(--dark-gray);
  }

  .flex-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
  }

  .one-column {
    align-content: flex-start;

    h1 {
      padding: 40px 0;
      font-family: 'W Supreme Web Semibold', sans-serif;
      font-size: 30px;
      text-transform: uppercase;
    }

    p {
      font-family: 'W Supreme Web Regular', sans-serif;
      font-size: 16px;
      letter-spacing: 0.05em;
      line-height: 1.5em;
    }
  }
}

.living-well-carousel.mobile-only {
  display: none;
}

/* Hotel page */

.hotel-hero {
  .content {

    p {
      font-size: 60px;
    }

    .sub-text {
      font-size: 18px;
      text-align: center;
      letter-spacing: 0.05rem;
    }
  }
}

.img-with-text {
  padding: 6em 8em;
  height: auto;
  gap: 2rem;

  .content {
    font-size: 18px;
    letter-spacing: 0.05em;
  }

  .img-caption {
    p {
      font-size: 14px;
      padding-top: 0.5rem;
    }
  }
}

/* Developer page */
.dev-section {
  background-color: var(--dark-gray);
  height: auto;

  .content {
    max-width: 1344px;
    padding: 12rem 2rem 0;
  }

  .title {
    font-size: 60px;
  }

  .sub-text {
    max-width: 600px;
    text-align: center;
  }

  .dev-video {
    padding: 2rem 0;
  }

  .dev-logo {
    img {
      max-width: 320px;
      width: auto;
      height: auto;
      ;
      display: block;
      padding: 4rem 0;
    }
  }
}

.property-section {
  background-color: var(--dark-gray);
  height: auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 2rem;

  .content {
    max-width: 1344px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
    display: flex;
    gap: 10rem;
  }

  .sub-text {
    padding-top: 0.5rem;
  }

  .one-column-layout {
    height: auto;
    justify-content: flex-start
  }

}

.team-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 8rem 10rem;
  background-color: var(--off-white);

  .sub-text {
    font-size: 24px;
    letter-spacing: 0.05em;
  }

  .container {
    display: flex;
    gap: 2rem;
    padding-top: 6rem;

    .one-column {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;

      .img-wrapper {
        display: flex;
        align-items: center;
        height: 114px;
      }

      img {
        max-width: 220px;

        &.interior-design {
          max-width: 160px;
        }
      }


    }

    p {
      font-size: 18px;
      letter-spacing: 0.05em;
      padding-bottom: 5rem;
    }
  }
}

/* Contact us */
.contact-us-section {
  background-color: var(--off-white);
  color: var(--dark-gray);
  height: auto;
  padding-bottom: 80px;

  &.menu-offset {
    padding-top: 262px;
    /* top nav + 120px + menu height */
  }

  .content {
    gap: 5rem;
  }

  p.title {
    font-family: 'W supreme Web Semibold', sans-serif;
    font-size: 60px;
    text-transform: uppercase;
    letter-spacing: 6px;
  }

  .middle-line {
    max-height: 120px;
  }

  .subtitle {
    font-family: 'W supreme Web Semibold', sans-serif;
    font-size: 45px;
    text-transform: uppercase;
    letter-spacing: 4.5px;
    padding-bottom: 1rem;
    text-align: center;
  }

  .sub-text {
    font-size: 18px;
    text-align: center;
    letter-spacing: 0.05em;

    &.medium {
      font-size: 28px;
    }
  }
}

.contact-us-map {
  background-color: var(--off-white);
  height: auto;
  padding: 0 5rem;

  img {
    width: 100%;
  }
}

.pre-form {
  height: auto;
  background-color: var(--off-white);
  color: var(--dark-gray);
  padding-top: 5rem;
  padding-bottom: 5rem;

  .middle-line {
    max-height: 120px;
  }

  .sub-text {
    font-size: 18px;
    text-align: center;
  }
}

.contact-container {
  background-color: var(--off-white);
  padding-bottom: 7.5rem;
}

.contact-form-wrapper {
  margin: 0 auto;
  max-width: 720px;
}

.contact-form {
  padding: 1rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row {
  display: flex;
  gap: 0.5rem;
}

.form-row input {
  flex: 1;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: none;
  font-size: 14px;
  background-color: var(--contact-gray);
  border: 1px solid var(--contact-gray);
  box-sizing: border-box;
  max-height: min-content;
}

textarea {
  resize: vertical;
}

.error-group {
  display: none;
}

.error-group.show {
  display: flex;
}

.error-icon {
  padding: 4px 0;
  padding-right: 0.3rem;
  min-width: fit-content;
}

.error-msg {
  color: var(--error-red);
  font-size: 0.75rem;
  margin-top: 4px;
}

.input-group {
  display: flex;
  flex-direction: column;
  /* margin-bottom: 10px; */
  flex: 1;
}

input.error,
textarea.error {
  border: 1px solid var(--error-red);
  outline: none;
}

.checkbox-row {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
}

.checkbox-label {
  font-size: 16px;
  letter-spacing: 0.05em;
}

.form-checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  justify-content: flex-start;

  .checkbox-box {
    padding: 0.5rem 0;
  }

  input[type="checkbox"] {
    width: auto;
    background-color: var(--off-white);
  }

  .checkbox-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;

  }

}

.form-checkbox a {
  text-decoration: underline;
  color: var(--dark-gray);
}

.form-submit {
  display: flex;
  justify-content: flex-end;
}

.form-submit button {
  background: var(--dark-gray);
  color: var(--off-white);
  padding: 0.5rem 1.5rem;
  letter-spacing: 5px;
  border: none;
  cursor: pointer;
  min-width: 170px;
  font-family: 'W supreme Web Semibold', sans-serif;
  font-size: 18px;
}

.contact-info {
  margin-top: 1.5rem;
  text-align: center;

  p {
    font-size: 1rem;
    letter-spacing: 0.05rem;
  }
}

.contact-info a {
  font-family: 'W supreme Web Semibold', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  text-decoration: underline;
  color: var(--dark-gray);
}

.contact-info.enquiry {
  display: flex;
  justify-content: space-between;
  padding-top: 5rem;

  .whatsapp {
    text-align: left;
  }

  .social-media {
    display: flex;
    align-items: flex-end;
    gap: 16px;

    .social-links {
      display: flex;
      gap: 8px;
      ;

      img {
        width: 24px;
        height: 24px;
      }
    }
  }
}

/* sliced */
.sliced-desktop {
  display: block;

  img {
    width: 100%;
  }
}

.sliced-mobile {
  display: none;

  img {
    width: 100%;
    height: auto;
  }
}

/* privacy policy */
.privacy-policy {
  background-color: var(--off-white);
  color: var(--dark-gray);
  padding: 7.5rem 5rem;
  padding-top: calc(97.5px + 120px);
  /* top nav + 120px */

  .privacy-policy-wrapper {
    max-width: 1200px;
    margin: 0 auto;
  }

  h1 {
    font-family: 'W supreme Web Semibold', sans-serif;
    font-size: 60px;
    text-transform: uppercase;
    letter-spacing: 6px;
    padding-bottom: 5rem;
  }

  .subheader {
    font-family: 'W supreme Web Semibold', sans-serif;
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-bottom: 1.5rem;
  }

  .section-header {
    font-family: 'W supreme Web Semibold', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
    padding-bottom: 1rem;
  }

  .text {
    font-family: "W Supreme Web Regular", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.05rem;
    padding-bottom: 1rem;

    &:last-child {
      padding-bottom: 2.5rem;
    }
  }

  .indented {
    padding-left: 5rem;
    padding-bottom: 0.15rem;

    &:last-child {
      padding-bottom: 1.5rem;
    }
  }

  .copyright {
    padding-top: 2.5rem;
  }

}

/* Enquiry */
.enquiry-section {
  display: flex;
  flex-direction: column;
  align-items: center;

  .main-brochure {
    color: var(--dark-gray);
    font-family: 'W Supreme Web Semibold', sans-serif;
  }

  .enquiry-content {
    max-width: 672px;
    width: 100%;
    padding: 0 20px;
  }

  .enquiry-title {
    color: #453F47;
    text-align: center;
    font-family: 'W Supreme Web Semibold', sans-serif;
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin: 0 0 40px 0;
  }

  .divider-line {
    width: 1px;
    height: 80px;
    background-color: #453F47;
    margin: 0 auto 60px;
  }

  .sales-gallery {
    text-align: center;
    margin-bottom: 60px;

    h2 {
      color: #453F47;
      font-family: 'W Supreme Web Semibold', sans-serif;
      font-weight: 600;
      letter-spacing: 6px;
      text-transform: uppercase;
      margin: 0 0 16px 0;
    }

    .gallery-address {
      color: #453F47;
      text-align: center;
      font-family: 'W Supreme Web Regular', sans-serif;
      font-weight: 400;
      line-height: 150%;
      letter-spacing: 0.7px;
      margin: 0;
    }
  }

  .whatsapp-section {
    text-align: center;
    margin-bottom: 60px;

     .whatsapp-icon {
       margin-bottom: 20px;
       text-align: center;
       display: flex;
       justify-content: center;
       align-items: center;

       img {
         width: 64px;
         height: 64px;
       }
     }

    .whatsapp-label {
      color: #453F47;
      text-align: center;
      font-family: 'W Supreme Web Regular', sans-serif;
      font-weight: 400;
      letter-spacing: 3.6px;
      text-transform: uppercase;
      margin: 0 0 8px 0;
    }

    .whatsapp-number {
      font-size: 30px;
      color: #453F47;
      text-align: center;
      font-family: 'W Supreme Web Regular', sans-serif;
      font-weight: 600;
      line-height: 120%;
      letter-spacing: 4px;
      text-decoration: none;
      display: block;

      &:hover {
        opacity: 0.8;
      }
    }
  }

  .form-intro {
    text-align: center;
    margin-bottom: 40px;

    p {
      color: #453F47;
      text-align: center;
      font-family: 'W Supreme Web Regular', sans-serif;
      font-weight: 400;
      line-height: 150%;
      letter-spacing: 0.7px;
      margin: 0 0 8px 0;
    }

    .form-subtitle {
      font-weight: 400;
      margin-top: 3em;
    }
  }

  .contact-form {
    margin-bottom: 60px;

    .form-row {
      display: flex;
      gap: 20px;

      .input-group {
        flex: 1;
      }
    }

    .input-group {
      margin-bottom: 5px;

      label {
        display: block;
        color: #453F47;
        font-family: 'W Supreme Web Regular', sans-serif;
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 0.6px;
        margin-bottom: 8px;
      }

      input,
      select,
      textarea {
        width: 100%;
        padding: 12px 16px;
        background-color: #F2F0E4;
        border: 1px solid rgba(69, 63, 71, 0.2);
        color: #453F47;
        font-family: 'W Supreme Web Regular', sans-serif;
        font-size: 14px;
        font-weight: 400;
        letter-spacing: 0.7px;
        box-sizing: border-box;

        &:focus {
          outline: none;
          border-color: #453F47;
        }

        &::placeholder {
          color: rgba(69, 63, 71, 0.5);
        }
      }

      textarea {
        resize: vertical;
        min-height: 120px;
      }

      select {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23453F47' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
        padding-right: 40px;
      }

      .error-group {
        display: none;
        align-items: center;
        gap: 8px;
        margin-top: 8px;
        color: var(--error-red);
        font-size: 12px;

        &.show {
          display: flex;
        }

        .error-icon {
          width: 16px;
          height: 16px;
        }
      }
    }

    .form-footer {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 24px;
      margin-top: 32px;

       .form-checkbox {
         display: flex;
         align-items: center;
         gap: 12px;

         input[type="checkbox"] {
           width: 20px;
           height: 20px;
           margin: 0;
           cursor: pointer;
           flex-shrink: 0;
         }

         label {
           color: #453F47;
           font-family: 'W Supreme Web Regular', sans-serif;
           font-size: 12px;
           font-weight: 400;
           line-height: 150%;
           letter-spacing: 0.6px;
           cursor: pointer;
           margin: 0;
           flex: 1;
         }
       }

      .submit-btn {
        background-color: #000;
        color: #FFF;
        font-size: 16px;
        font-weight: 400;
        letter-spacing: 4.2px;
        padding: 16px 48px;
        line-height: 150%;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s ease;
        &:hover {
          background-color: #333;
        }

        &:active {
          background-color: #000;
        }
      }
    }
  }

  .map-container {
    width: 1760px;
    max-width: 100%;
    height: 400px;
    aspect-ratio: 440/373;
    flex-shrink: 0;
    margin: 0 auto 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .contact-container {
    background-color: transparent;
    width: 100%;
    padding-top: 5rem;

    input,
    textarea {
      background-color: rgba(69, 63, 71, 0.25);
      border: 1px solid rgba(69, 63, 71, 0.25);
    }

    input.error,
    textarea.error {
      border: 1px solid var(--error-red);
      outline: none;
    }

    input::placeholder,
    textarea::placeholder {
      color: var(--dark-gray);
    }

    .contact-info.enquiry {
      padding-top: 2rem;
    }
  }

}

/* Amenities & Residences common */
.amenities-hero, .residences-hero, .hotel-hero {
  .content {
    p {
      text-transform: uppercase;
      font-size: 60px;
    }
  }

  .sub-text {
    font-size: 18px;
    text-align: center;
    letter-spacing: 0.05rem;
  }
}

/* Amenities */

/* Amenities */

.axo-facade {
  background-color: var(--off-white);
  height: 500vh;
  position: relative;

  .trigger {
    position: absolute;
    top: 0;
    width: 0;
    background-color: transparent;
    z-index: -10;
    pointer-events: none;

    &.first {
      top: 0vh;
    }

    &.second {
      top: 100vh;
    }

    &.third {
      top: 200vh;
    }

    &.fourth {
      top: 300vh;
    }
  }

  .left-column {
    flex: 0 0 50%;
    width: 50%;
    position: relative;
    align-content: unset;

    .image-content-wrapper {
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-items: flex-start;
      height: calc(100vh - 142px);
      position: sticky;
      top: 142px;
      max-height: calc(100vh - 142px);
      padding-left: 3vw;
      padding-right: 2vw;
      padding-top: 20px;
      overflow: hidden;

      .away-content,
      .living-room-content,
      .wet-fit-content, 
      .w-hotel-content {
        transition: opacity 0.5s ease-in-out;
        opacity: 1;
        width: 100%;
        max-width: 900px;

        &.fade {
          opacity: 0;
          max-height: 0px;
          height: 0px;
          visibility: hidden;
        }
      }

      h1 {
        font-family: 'W Supreme Web Semibold', sans-serif;
        font-size: 42px;
        letter-spacing: 4px;
        text-transform: uppercase;
        padding-bottom: 20px;
        margin: 0;
      }

      .level {
        font-family: 'W Supreme Web Semibold', sans-serif;
        font-size: 20px;
        letter-spacing: 5px;
        text-transform: uppercase;
        padding-bottom: 40px
      }

      .text {
        font-family: 'W Supreme Web Regular', sans-serif;
        font-size: 18px;
        letter-spacing: 1px;
        padding-bottom: 40px;
      }

      .content-info {
        display: flex;
        gap: 30px;
        align-items: flex-start;

        .level-label {
          font-family: 'W Supreme Web Semibold', sans-serif;
          font-size: 16px;
          letter-spacing: 3px;
          text-transform: uppercase;
          flex-shrink: 0;
          min-width: 100px;
        }

        .description-text {
          font-family: 'W Supreme Web Regular', sans-serif;
          font-size: 14px;
          line-height: 1.4;
          letter-spacing: 0.3px;
          color: var(--dark-gray);
          flex: 1;
        }
      }

      .image-carousel {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 6px;

        img {
          width: 100%;
          height: auto;
          max-height: 420px;
          object-fit: cover;
          display: block;
          border-radius: 4px;
        }

        .carousel-prev,
        .carousel-next {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          background: rgba(255, 255, 255, 0.3);
          border-radius: 50%;
          border: none;
          cursor: pointer;
          padding: 0;
          z-index: 10;
          display: flex;
          align-items: center;
          justify-content: center;
          width: 48px;
          height: 48px;
          transition: background 0.3s ease;
          color: rgba(255, 255, 255, 0.8);

          &:hover {
            background: rgba(255, 255, 255, 0.6);
          }

          svg {
            width: 44px;
            height: 44px;
            display: block;
          }

          path {
            stroke: rgba(255, 255, 255, 0.8);
          }
        }

        .carousel-prev {
          left: 8px;
        }

        .carousel-next {
          right: 8px;
        }
      }

      .image-disclaimer {
        font-family: 'W Supreme Web Regular', sans-serif;
        font-size: 9px;
        letter-spacing: 0.3px;
        color: var(--dark-gray);
        opacity: 0.6;
        margin: 0;
        padding-left: 1px;
      }

      .image-title {
        font-family: 'W Supreme Web Regular', sans-serif;
        font-size: 14px;
        letter-spacing: 0.8px;
        color: var(--dark-gray);
        margin-top: 6px;
      }

      .amenities-list {
        font-family: 'W Supreme Web Regular', sans-serif;
        font-size: 12px;
        line-height: 1.5;
        letter-spacing: 0.3px;
        color: var(--dark-gray);
        margin: 0;
      }

    }
  }

  .glide {
    position: relative;
    user-select: none;
    touch-action: pan-y;
  }

  .glide__track {
    overflow: hidden;
    cursor: grab;

    &:active {
      cursor: grabbing;
    }
  }

  .axo-facade-image {
    position: relative;
    flex: 0 0 25%;
    width: 25%;
    min-width: 280px;
    align-content: unset;
    flex-shrink: 0;

    .image-wrapper {
      position: sticky;
      top: 0;
      display: flex;
      align-content: center;
      justify-content: center;
      padding-top: 180px;
      /* 100px offset for top nav */
    }

    img {
      width: 280px;
      min-width: 280px;
      height: auto;
      max-height: calc(100vh - 200px);
      object-fit: contain;
      flex-shrink: 0;
    }
  }

  .right-column {
    flex: 0 0 20%;
    width: 20%;
    position: relative;
    align-content: unset;


    .text-wrapper {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: calc(100vh - 140px);
      position: sticky;
      top: 0;
      padding-top: 142px;
      /* 100px offset for top nav */
      max-height: calc(100vh - 140px);
      margin-left: -5%;

      .text {
        display: flex;
        align-items: center;
        text-align: left;
        min-height: calc((100vh - 240px) / 4);
        width: 100%;

        .title-subtext {
          padding-left: 40px;
          text-decoration: underline;
          cursor: pointer;
          transition: opacity 0.3s ease;
          width: fit-content;
          flex-shrink: 0;

          &:hover {
            opacity: 0.7;
          }

          h2 {
            font-family: 'W Supreme Web Semibold', sans-serif;
            font-size: 1rem;
            letter-spacing: 0.05rem;
          }

          p {
            text-align: left;
            font-family: 'W Supreme Web Regular', sans-serif;
            font-size: 14px;
            letter-spacing: 1px;
            padding-bottom: 0px;
          }
        }

        .middle-line {
          width: 90px;
          height: 3px;
        }



        .away,
        .living-room,
        .wet-fit,
        .w-hotel {
          text-align: left;
          display: flex;
          align-items: center;
          transition: opacity 0.5s ease-in-out;

          &.fade {
            opacity: 0.4;
            cursor: not-allowed;

            .title-subtext {
              text-decoration: none;
            }
          }
        }
      }
    }
  }
}

.amenities-accordion.mobile-only {
  background-color: var(--off-white);
  display: none;
}

.amenities-accordion {
  background-color: var(--off-white);
  min-height: auto;
  height: auto;
  padding-bottom: 4.5rem;
  overflow-x: hidden;

  .image-wrapper>img {
    max-height: 90vh;
    padding-bottom: 2.5rem;
    margin: 0 auto;
  }

  .image-wrapper {
    position: relative;

    .text-wrapper {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: calc(90vh - 2.5rem);
      position: absolute;
      top: 3rem;
      right: 0;
      width: 30%;
      max-height: calc(90vh - 2.5rem);

      .text {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: left;
        min-height: calc((90vh - 2.5rem) / 3);
        width: 100%;
        color: var(--dark-gray);

        .away,
        .living-room,
        .wet-fit 
        .w-hotel {
          display: flex;
          align-items: center;
          width: 100%;
        }

        .title-subtext {
          text-align: center;
          padding-left: 2rem;

          h2 {
            font-family: 'W Supreme Web Semibold', sans-serif;
            font-size: 0.8rem;
            letter-spacing: 0.05rem;
          }

          p {
            text-align: center;
            font-family: 'W Supreme Web Regular', sans-serif;
            font-size: 12px;
            letter-spacing: 1px;
            padding-bottom: 0px;
          }
        }

        .middle-line {
          width: 40px;
        }



        /* .away, .living-room, .wet-fit {
          display: flex;
          align-items: center;
          transition: opacity 0.5s ease-in-out;

          &.fade {
            opacity: 0.4;
          } */
      }

      .away {
        padding-bottom: 0vh;
      }

      .living-room {
        padding-bottom: 10vh;
      }

      .wet-fit {
        display: flex;
        align-items: center;
        width: 100%;
        padding-bottom: 17vh;
      }


      .w-hotel {
        display: flex;
        align-items: center;
        width: 100%;
        padding-bottom: 25vh;
      }
    }

  }

  .accordion-container {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    overflow: hidden;
  }

  .accordion-section {

    .accordion-icon {
      .plus {
        display: block;
      }

      .minus {
        display: none;
      }
    }

    &.active {
      .accordion-content {
        max-height: 1500px;
      }

      .accordion-icon {
        .plus {
          display: none;
        }

        .minus {
          display: block;
        }
      }

    }


    .accordion-header {
      display: flex;
      justify-content: space-between;
      font-size: 21px;
      align-items: center;
      border-bottom: none;
      color: var(--dark-gray);
      border-top: 1px solid var(--dark-gray);

      .title {
        position: relative;

        .floating {
          position: absolute;
          top: 4px;
          right: -12px;
          z-index: 10;
          font-size: 11px;

          /* &.wet-fit {
            right: 0;
            left: -5px;
          } */
        }
      }
    }

    &.pseudo-active .accordion-header {
      border-bottom: none;

      /* &:last-child {
        border-bottom: 1px solid var(--dark-gray);
      } */
    }

    &.active .accordion-header {
      border-bottom: none;
    }

    &:last-child .accordion-header {
      border-bottom: 1px solid var(--dark-gray);
    }

  }

  .accordion-content {
    color: var(--dark-gray);
    width: 100%;
    overflow: hidden;

    .content-wrapper {
      padding-top: 1.5rem;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;

      .level {
        font-family: 'W Supreme Web Semibold', sans-serif;
        font-size: 12px;
        letter-spacing: 5px;
        text-transform: uppercase;
        padding-bottom: 1rem;
      }

      .blurp {
        font-family: 'W Supreme Web Regular', sans-serif;
        font-size: 14px;
        line-height: 1.5;;
        letter-spacing: 1px;
        padding-bottom: 1rem;
      }

      .points {
        font-family: 'W Supreme Web Regular', sans-serif;
        font-size: 14px;
        line-height: 1.5;;
        letter-spacing: 1px;
        padding-bottom: 1rem;

        .subpoint {
          padding-left: 1rem;
        }
      }

      .image {
        padding-bottom: 1.5rem;
      }

      .image-carousel {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;

        img {
          width: 100%;
          height: auto;
          max-height: 300px;
          object-fit: cover;
          display: block;
          border-radius: 4px;
        }

        .carousel-prev,
        .carousel-next {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          background: rgba(255, 255, 255, 0.3);
          border-radius: 50%;
          border: none;
          cursor: pointer;
          padding: 0;
          z-index: 10;
          display: flex;
          align-items: center;
          justify-content: center;
          width: 40px;
          height: 40px;
          transition: background 0.3s ease;
          color: rgba(255, 255, 255, 0.8);

          &:hover {
            background: rgba(255, 255, 255, 0.6);
          }

          svg {
            width: 36px;
            height: 36px;
            display: block;
          }
        }

        .carousel-prev {
          left: 8px;
        }

        .carousel-next {
          right: 8px;
        }
      }

      .image-title {
        font-family: 'W Supreme Web Regular', sans-serif;
        font-size: 12px;
        letter-spacing: 0.8px;
        color: var(--dark-gray);
        margin-bottom: 0.75rem;
        margin-top: 0.5rem;
      }

      .amenities-list-text {
        font-family: 'W Supreme Web Regular', sans-serif;
        font-size: 11px;
        line-height: 1.5;
        letter-spacing: 0.3px;
        color: var(--dark-gray);
        margin: 0;
      }

    }
  }
}

/* Explore Units Section */
.explore-units-section {
  background-color: var(--off-white);
  padding: 4% 0 5%;
  display: flex;
  justify-content: center;
  align-items: center;

  .explore-units-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .text-content {
    width: 643px;
    color: var(--Black, #000);
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 27px */
    margin-bottom: 30px;
  }

  .image-container {
    width: 100%;
    margin-bottom: 30px;
    position: relative;

    img {
      width: 100%;
      height: auto;
      display: block;
    }

    .image-credit {
      font-family: 'W Supreme Web Regular', sans-serif;
      font-size: 10px;
      letter-spacing: 0.3px;
      color: var(--dark-gray);
      opacity: 0.6;
      margin-top: 8px;
      text-align: left;
    }
  }

  .w-residences-link {
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    font-family: 'W Supreme Web Semibold', sans-serif;
    font-size: 20px;
    letter-spacing: 3px;
    color: var(--dark-gray);
    text-decoration: none;
    transition: opacity 0.3s ease;

    &:hover {
      opacity: 0.7;
    }

    svg {
      display: flex;
      height: 57.667px;
      padding: 16px;
      justify-content: center;
      align-items: center;
      gap: 8px;
      transition: transform 0.3s ease;
      flex-shrink: 0;
    }

    &:hover svg {
      transform: translateX(4px);
    }
  }
}

/* W Lifestyle Section */
.w-lifestyle-section {
  background-color: var(--off-white);
  padding: 120px 0;
  display: flex;
  justify-content: center;
  align-items: center;

  .w-lifestyle-content {
    max-width: 1357px;
    width: 100%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .w-logo {
    margin-bottom: 80px;

    img {
      width: 275px;
      height: auto;
    }
  }

  .divider-line {
    width: 1px;
    height: 213px;
    background-color: var(--dark-gray);
    margin-bottom: 80px;
  }

  .lifestyle-text {
    max-width: 1357px;
    width: 600px;
    p {
      margin: 0;
      color: #453F47;
      text-align: center;
      font-family: "W Supreme Web Regular", sans-serif;
      font-size: 18px;
      font-style: normal;
      font-weight: 400;
      line-height: 150%; /* 27px */
      letter-spacing: 0.9px;
    }
  }
}

/*Amenities modal */

/* Modal Overlay */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Show Modal and Lock Scroll */
body.modal-open {
  overflow: hidden;
}

.open-modal-btn {
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal#wet-fit-modal {
  .modal-content {
    height: 85vh;
   padding: 4rem 4rem;

   .modal-text, .modal-carousel {
    padding-top: 0;
   }
  }
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #F2F0E4;
  padding: 4rem 6rem;
  max-width: 2880px;
  max-height: 1800px;
  width: 90vw;
  height: 80vh;
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 2rem;

  .modal-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 2rem;
    color: var(--dark-gray);
    overflow-y: auto;           /* enables vertical scroll */
    max-height: 90vh;  

    h6 {
      font-size: 20px;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      padding: 2rem 0
    }

    .points {
      p {
        font-size: 18px;
        letter-spacing: 0.05em;
        padding-bottom: 0.1rem;
      }
    }
    .subpoint {
      padding-left: 1rem;
    }
  }

  .modal-carousel {
    flex: 3;
    padding-top: 2rem;
    width: 60%;
    max-height: 100%;
    height: 100%;

    .nav.right {
      right: calc(-56px / 2);
    }

    .nav.left {
      left: calc(-56px / 2);
    }

    .glide {
      height: 100%;

      .glide__track {
        height: 100%;

        .glide__slides {
          height: 100%;

          .glide__slide {
            display: flex;
            justify-content: center;
            flex-direction: column;
          }

          img {
            /* width: 100%; */
            /* height: 100%; */
            object-fit: cover;
            display: block;
            max-height: calc(100% - 20px);

          }
        }
      }
    }

    .caption {
      font-size: 14px;
      letter-spacing: 0.05em;
      padding-top: 0.2rem;
    }
  }
}

.close-btn {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}


.superscript{
  vertical-align: top;
  font-size: smaller;
}
/* Residences */

.residences-details {
  .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 160px;
    column-gap: 2rem;
    background-color: var(--off-white);
    padding: 8rem 14rem
  }

  .card {
    flex: 1 1 calc(25% - 1.5rem);
    min-width: 220px;
    box-sizing: border-box;
    text-align: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    color: var(--dark-gray);
    
  }

  .title {
    font-family: 'W Supreme Web Semibold', sans-serif;
    letter-spacing: 0.1em;
    font-size: 30px;
    text-transform: uppercase;
  }


  .details {
    font-size: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
}

.living-smart {
  .smart-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: var(--off-white);
    gap: 80px;
    padding: 8em 10em;

    .smart-content {
      flex: 1;
      padding-top: 1rem;
      font-size: 24px;
      letter-spacing: 0.05em;

      .title {
        font-family: W Supreme Web Semibold;
        font-size: 45px;
        text-transform: uppercase;
        margin-bottom: 2.5rem;
        letter-spacing: 0.1em;
      }   

      .sub-title{
        color:  #453F47;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%; /* 36px */
        letter-spacing: 1.2px;
      }

      .divider {
        margin: 2.5rem 0;
      }

      .list {
        font-size: 18px;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        list-style: none;
          li {
            padding-bottom: 1.5rem;
          }
        
      }

      .disclaimer {
        font-size: 14px;
        letter-spacing: 0.05em;
      }
    }

    .smart-img {
      flex: 1;

      img {
        width: 100%;
        height: auto;
        display: block;
      }
    }
  }
}

.project-details {
  background-color: var(--off-white);
  padding: 6rem 10rem;

  .details-wrapper {
    max-width: 1400px;
    margin: 0 auto;
  }

  .section-title {
    font-family: W Supreme Web Semibold;
    font-size: 45px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 3rem;
    text-align: center;
  }

  .details-table {
    width: 100%;

    .table-row {
      display: flex;
      border: 1px solid #000;
      border-bottom: none;

      &:last-child {
        border-bottom: 1px solid #000;
      }

      .table-cell {
        padding: 1.5rem 2rem;
        font-size: 16px;
        line-height: 1.6;

        &.label {
          flex: 0 0 280px;
          font-family: W Supreme Web Semibold;
          font-weight: 600;
          border-right: 1px solid #000;
        }

        &.value {
          flex: 1;
          font-family: W Supreme Web Regular;
          font-weight: 400;
        }
      }
    }
  }
}

.artistry {
  background-color: var(--off-white);
  padding: 4rem 10rem 6rem;
  .title {
    font-size: 45px;
    font-family: W Supreme Web Semibold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
  }

  p {
    font-size: 24px;
    letter-spacing: 0.05em;
  }
  .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 6.5rem;
    row-gap: 160px; 
  }

  .card {
    flex: 1 1 calc(25% - 1.5rem);
    max-width: 215px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;

    .logo-img {
      display: flex;
      align-items: center;
      height: 136px;
      margin-top: 2rem;

      &.v-zug {
        width: 136px;
      }
    }

    .text {
      font-size: 18px;
      letter-spacing: 0.05em;
    }
    
  }
}

.residences-stacking {
  position: relative;
  height: 700vh;
  background-color: var(--off-white);

  .one-column {
    position: relative;

    .image-container,
    .text-container {
      display: flex;
      position: sticky;
      top: 95px;
      width: 50vw;
      /* padding-top: 95px; */
      height: calc(100vh - 95px);
      /* max-height: calc(100vh - 100px); */
    }

    .image-container {
      background-color: var(--off-white);
      display: flex;
      justify-content: center;
      align-items: center;
      background-blend-mode: darken;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      transition: all 1s ease-in-out;
      background-image: url('../img/residences/stacking-plan-1.jpg');
     
      img {
        width: 100%;
        height: 100%;
        transition: opacity 0.5s ease-in-out;
        opacity: 1;

        &.fade {
          opacity: 0;
          max-height: 0px;
          max-width: 0px;
          height: 0px;
          visibility: hidden;
        }
      }
      
    }

    .text-container {
      background-color: var(--dark-gray);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;


      img {
        width: fit-content;
        height: fit-content;
        padding-bottom: 2.5rem;
      }

      .middle-line {
        width: 3px;
        height: 120px;
      }

      .logo {
        width: 160px;
      }

      .text {
        font-family: 'W Supreme Web Regular', sans-serif;
        font-size: 24px;
        letter-spacing: 0.05em;
        color: var(--off-white);
        text-align: center;
        max-width: 33vw;
        line-height: 1.5;
        height: 110px;

        transition: opacity 0.5s ease-in-out;
        opacity: 1;

        &.fade {
          opacity: 0;
          max-height: 0px;
          height: 0px;
          visibility: hidden;
        }
      }
    }
  }

  .triggers {
    position: absolute;
    top: 0;
    width: 0;
    background-color: transparent;
    z-index: -10;
    pointer-events: none;

    &.first {
      top: 100vh;
    }

    &.second {
      top: 200vh;
    }

    &.third {
      top: 300vh;
    }

    &.fourth {
      top: 400vh;
    }

    &.fifth {
      top: 500vh;
    }

    &.sixth {
      top: 600vh;
    }
  }

}



/* CN styling */


.cn {
  section {
    font-family: 'M Ying Hei PRC W4', 'Arial, sans-serif' !important;

    p {
      font-family: 'M Ying Hei PRC W5', 'Arial, sans-serif' !important;
    }

    .cn-semibold, 
    .accordion-header, 
    &.onvia a.more,
    .image-content .text,
    &.residences-stacking .text-container .text {
      font-family: 'M Ying Hei PRC W5', 'Arial, sans-serif' !important;
    }

    .cn-bold,
    .image-content .level,
    .modal-content .modal-text h6,
    &.residences-details .title,
    h1 {
      font-family: 'M Ying Hei PRC W7', 'Arial, sans-serif' !important;
    }

    &#axoFacade .image-content h1 {
      font-family: 'W Supreme Web Semibold', sans-serif !important;
    }
  }

  .modal-content .modal-text .points {
    font-family: 'M Ying Hei PRC W5', 'Arial, sans-serif' !important;
  }

  .modal-content .modal-text h6 {
    font-family: 'M Ying Hei PRC W7', 'Arial, sans-serif' !important;
  }

  .residences-hero .sub-text,
  .hotel-hero .sub-text,
  .pre-form .sub-text {
    font-size: 24px;
    font-family: 'M Ying Hei PRC W5', 'Arial, sans-serif' !important;
  }  

  .dev-section .sub-text {
    font-size: 18px;
  }

  .enquiry-section .sub-text {
    font-size: 20px;
  }

  .header .main-nav {
    font-size: 18px;
  }

  .menu-container .brochure a.btn {
    min-width: 200px;
    margin-bottom: 8px;
  }

  .mobile-img-bg {
    .img-text-content {
      img {
        width: 60%;
      }
    }
  }

  .amenities-hero-2 {
    background-image: url('../img/amenities/world-of-amenities-cn.jpg');
  }

  .residences-hero-2 {
    background-image: url('../img/residences/w-ecosystem-cn.jpg');
  }

  .hero-bg.location-hero {
    background-image: url('../img/location/location-hero-img-cn.jpg');
  }
}

/* Main Banner */
.main-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-top: 142px;
  overflow: hidden;
}

.main-banner .banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.main-banner .banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 0;
  color: var(--off-white);
  font-family: 'W Supreme Web Semibold', sans-serif;
}

.main-banner .banner-text p {
  margin: 0;
  font-size: 40px;
  font-family: 'W Supreme Web Semibold', sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #ffffff;
}

/* Signature Collection Banner */
.signature-banner {
  margin-top: 0;
}

/* Content Section */
.content-section {
  background-color: var(--off-white);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Location Section */
.location-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.location-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 800px;
  padding-top: 20%;
}

.location-description {
  font-size: 24px;
  color: #453F47;
  line-height: 36px;
  text-align: center;
  font-style: normal;
  font-weight: 400;
  font-family: 'W Supreme Web Regular', sans-serif;
}

.location-gallery {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 800px;
}

.location-image {
  width: 800px;
  height: 800px;
  background: url('../figma_img/location.svg') lightgray 100% / cover no-repeat;
  display: block;
}

.location-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  width: 800px;
}

.location-label h3 {
  font-size: 48px;
  color: var(--dark-gray);
  margin: 0;
  font-family: 'W Supreme Web Semibold', sans-serif;
}

.location-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-top: auto;
  align-self: flex-end;
}

.location-button h3 {
  font-size: 48px;
  color: var(--dark-gray);
  margin: 0;
  font-family: 'W Supreme Web Semibold', sans-serif;
}

.arrow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--dark-gray);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.arrow-button::after {
  content: '→';
  font-size: 24px;
  color: var(--dark-gray);
  position: relative;
  top: -2px;
}

/* Video Section */
.video-section {
  display: flex;
  justify-content: center;
  width: 100%;
}

.video-player {
  width: 1911px;
  height: 1072px;
  flex-shrink: 0;
  aspect-ratio: 1911 / 1072;
  background: url('../figma_img/video-default.png') lightgray 50% / cover no-repeat;
  display: block;
  border: none;
  outline: none;
}

/* OWN THE W Section */
.own-the-w-section {
  text-align: center;
  padding: 60px 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.w-content {
  display: flex;
  flex-direction: column;
  gap:60px;
}

.own-the-w-section h1 {
  font-size: 48px;
  color: #000000;
  margin: 0;
  font-family: 'W Supreme Web Semibold', sans-serif;
  line-height: 1.2;
}

.w-description {
  font-size: 18px;
  color: #000000;
  line-height: 1.5;
  font-family: 'W Supreme Web Regular', sans-serif;
  max-width: 900px;
  margin: 0 auto;
}

.vertical-divider {
  width: 1px;
  height: 220px;
  background-color: #000000;
  margin: 0 auto;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.card-item {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.card-item img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  display: block;
}

.card-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.card-label h3 {
  font-size: 48px;
  color: #000000;
  margin: 0;
  font-family: 'W Supreme Web Semibold', sans-serif;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.card-item .arrow-button {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border: 1px solid #000000;
}

/* Discover Possibilities Section */
.discover-possibilities-section {
  background-color: #f2f0e4;
  padding: 112px 64px;
  display: flex;
  justify-content: center;
}

.discover-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.discover-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  width: 100%;
}

.discover-title {
  font-size: 45px;
  font-weight: 600;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  color: #000000;
  margin: 0;
  line-height: 1.2;
}

.discover-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  color: #000000;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.discover-description p {
  margin: 0;
  padding: 0;
}

.discover-divider {
  width: 1.5px;
  height: 240px;
  background-color: #000000;
  flex-shrink: 0;
  padding: 80px 0;
}

.discover-tabs {
  display: flex;
  gap: 8px;
  border: 1px solid #000000;
  padding: 8px;
  background-color: transparent;
  align-items: center;
}

.tab-btn {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
  background-color: #f2f0e4;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: capitalize;
  white-space: nowrap;
}

.tab-btn.active {
  border: 1px solid #000000;
}

.tab-btn:hover:not(.active) {
  background-color: #f2f0e4;
}

.discover-image-container {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.discover-image {
  position: relative;
  width: 80%;
  margin: 0 auto;
  height: 783px;
  display: none;
  overflow: hidden;
}

.discover-image.active {
  display: block;
}

.discover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.discover-image .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.discover-image .image-caption {
  text-align: center;
  color: #F2F0E4;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 10%;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  z-index: 0;
  text-align: center;
  max-height: 150px;
  overflow: hidden;
}

.discover-image .image-disclaimer {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 0;
  margin: 0;
  z-index: 0;
  text-align: left;
  color: #FFF;
font-size: 10px;
font-style: normal;
font-weight: 400;
line-height: 15px
}

/* W Carousel Section */
.w-carousel {
  background-color: #ebebdc;
  width: 100%;
  padding: 0;
}

.w-carousel-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0;
}

.w-carousel-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
}

.w-carousel-text img {
  width: 100%;
  max-width: 720px;
  height: auto;
  object-fit: contain;
}

.w-carousel-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
}

.w-carousel-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  display: block;
}

/* URA Master Plan Section */
.ura-master-plan-section {
  background-color: #eaebdd;
  padding: 0 0 98px 65px;
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 1029px;
}

.ura-container {
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: flex-start;
  position: relative;
  height: 1003px;
}

.ura-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
  max-width: 440px;
  padding-top: 98px;
  padding-left: 0;
}

.ura-title {
  font-family: 'W Supreme Web Regular', sans-serif;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000000;
  margin: 0;
  line-height: 1.3;
  white-space: normal;
}

.ura-description {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ura-description p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #453f47;
  margin: 0;
}

.ura-description p.ura-source {
  font-size: 14px;
}

.ura-description a {
  color: #453f47;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.ura-description a:hover {
  color: #000000;
}

.ura-map-container {
  position: absolute;
  right: 0;
  top: 0;
  width: 1480px;
  height: 1003px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#ura-map {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Team Section */
.team-section {
  background-color: var(--off-white);
  padding: 120px 194px;
  display: flex;
  justify-content: center;
}

.team-container {
  display: flex;
  flex-direction: column;
  gap: 69px;
  align-items: center;
  max-width: 1920px;
  width: 100%;
}

.team-content {
  display: flex;
  flex-direction: column;
  gap: 31px;
  align-items: center;
  text-align: center;

  h2 {
    font-family: 'W Supreme Web Semibold', sans-serif;
    font-size: 45px;
    color: var(--dark-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
  }

  p {
    font-family: 'W Supreme Web Regular', sans-serif;
    font-size: 18px;
    color: var(--dark-gray);
    letter-spacing: 0.05em;
    line-height: 1.5em;
    max-width: 702px;
    margin: 0;
  }
}

.team-divider {
  width: 1px;
  height: 240px;
  background-color: var(--dark-gray);
  margin: 0 auto;
}

.team-video-wrapper {
  display: flex;
  gap: 40px;
  width: 100%;
  align-items: center;
}

.team-video {
  position: relative;
  display: block;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  height: auto;
  flex-shrink: 0;
}

.team-video-player {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 962/537;
}

.video-side-text {
  flex: 0 0 400px;
  display: flex;
  align-items: center;

  p {
    font-family: 'W Supreme Web Regular', sans-serif;
    font-size: 18px;
    line-height: 150%;
    color: var(--dark-gray);
    margin: 0;
  }
}

.team-video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 40px;
  color: white;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  width: 100%;

  h3 {
    font-family: 'W Supreme Web Semibold', sans-serif;
    font-size: 24px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    font-weight: bold;
  }

  p {
    font-family: 'W Supreme Web Regular', sans-serif;
    font-size: 16px;
    letter-spacing: 0.05em;
    line-height: 1.5em;
    margin: 0;
    color: white;

    &.team-quote {
      margin-top: 20px;
      font-style: italic;
    }
  }
}

/* W Services Section */
.w-services-section {
  background-color: var(--off-white);
  padding: 100px 114px;
  display: flex;
  justify-content: center;
}

.w-services-container {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  max-width: 1920px;
  width: 100%;
}

.w-services-image {
  flex: 0 0 460px;
  display: flex;
  align-items: center;
  justify-content: center;

  img {
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
  }
}

.w-services-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.w-services-header {
  h2 {
    font-family: 'W Supreme Web Semibold', sans-serif;
    font-size: 45px;
    color: var(--dark-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 40px 0;
  }

  p {
    font-family: 'W Supreme Web Regular', sans-serif;
    font-size: 18px;
    color: var(--dark-gray);
    letter-spacing: 0.05em;
    line-height: 1.5em;
    margin: 0;

    a {
      color: var(--dark-gray);
      text-decoration: underline;
      font-weight: bold;

      &:hover {
        color: #000;
      }
    }
  }
}

.w-services-divider {
  height: 1px;
  background-color: var(--dark-gray);
  margin: 0;
}

.w-services-list {
  display: flex;
  gap: 40px;
}

.w-services-column {
  flex: 1;

  p {
    font-family: 'W Supreme Web Regular', sans-serif;
    font-size: 18px;
    color: var(--dark-gray);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1.5em;
    margin: 0 0 24px 0;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.w-services-disclaimer {
  font-family: 'W Supreme Web Regular', sans-serif;
  font-size: 14px;
  color: var(--dark-gray);
  letter-spacing: 0.05em;
  line-height: 1.5em;
  margin: 0;
}

/* 24/7 Services Section */
.services-24-7-section {
  background-color: #453f47;
  padding: 80px 0 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.services-24-7-header {
  text-align: center;
  max-width: 849px;
  padding: 0 114px;

  h2 {
    font-family: 'W Supreme Web Semibold', sans-serif;
    font-size: 45px;
    color: var(--off-white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 40px 0;
  }
}

.services-24-7-description {
  p {
    font-family: 'W Supreme Web Regular', sans-serif;
    font-size: 18px;
    color: var(--off-white);
    letter-spacing: 0.05em;
    line-height: 1.5em;
    margin: 0 0 16px 0;
    text-align: center;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.services-24-7-carousel {
  width: 100%;
  position: relative;
  overflow: hidden;

  .glide__track {
    overflow: visible;
  }

  .glide__slides {
    align-items: center;
    justify-content: center;
  }

  .glide__slide {
    height: 600px;
    width: 90%;
    margin: 0 auto;
    opacity: 0.4;
    transform: scale(0.85);
    transition: all 0.8s ease;
    filter: brightness(0.6);
    display: flex;
    justify-content: center;
    align-items: center;

    &.glide__slide--active {
      opacity: 1;
      transform: scale(1);
      filter: brightness(1);
      z-index: 2;
    }
  }

  .glide__arrows {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    padding: 0 40px;
  }

  .glide__arrow {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--off-white);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--off-white);

    &:hover {
      background: rgba(176, 172, 172, 0.4);
    }

    svg {
      width: 24px;
      height: 24px;
    }
  }
}

.carousel-slide {
  position: relative;
  height: 500px;
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    display: block;
    position: relative;
    max-width: 100%;
    max-height: 100%;
  }
}

.carousel-label {
  position: fixed;
  bottom: 1%;
  left: 47%;
  font-family: 'W Supreme Web Regular', sans-serif;
  font-size: 8px;
  color: var(--off-white);
  letter-spacing: 0.04em;
  line-height: 1.5em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: 2px;
}

.carousel-scroll-top {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background-color: #453f47;
  border: 1px solid var(--off-white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;

  &::after {
    content: '↑';
    font-size: 24px;
    color: var(--off-white);
    font-weight: bold;
  }

  &:hover {
    background-color: var(--off-white);

    &::after {
      color: #453f47;
    }
  }
}

/* LIBERATED LUXURY LIVING Section */
.liberated-luxury-section {
  background-color: var(--off-white);
  padding: 90px 194px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.before-video {
  padding: 5% 10% 0 10% !important;
}

.liberated-luxury-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  max-width: 704px;
  text-align: center;
}

.liberated-luxury-title {
  font-family: 'W Supreme Web Semibold', sans-serif;
  font-size: 64px;
  color: var(--dark-gray);
  letter-spacing: 0.1em;
  text-transform: capitalize;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.liberated-luxury-divider {
  width: 2px;
  height: 275px;
  background-color: var(--dark-gray);
}

.liberated-luxury-description {
  font-family: 'W Supreme Web Regular', sans-serif;
  font-size: 18px;
  color: #453F47;
  line-height: 27px;
  letter-spacing: 0.9px;
}

/* PARTNERS Section */
.partners-section {
  background: #F2F0E4;
  padding: 81px 75px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.partners-container {
  display: flex;
  flex-direction: column;
  gap: 89px;
  width: 100%;
  max-width: 1400px;
}

.partners-header {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  text-align: center;
}

.partners-header h2 {
  font-family: 'W Supreme Web Semibold', sans-serif;
  font-size: 45px;
  color: #453f47;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
}

.partners-header p {
  font-family: 'W Supreme Web Regular', sans-serif;
  font-size: 24px;
  color: #453f47;
  letter-spacing: 1.2px;
  line-height: 1.5;
  max-width: 100%;
}

.partners-grid {
  display: flex;
  gap: 26px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.partner-item {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  width: 323px;
  text-align: center;
}

.partner-label {
  font-family: 'W Supreme Web Regular', sans-serif;
  font-size: 18px;
  color: #453f47;
  letter-spacing: 0.9px;
  line-height: 1.5;
  text-align: center;
  margin: 0;
  height: 27px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 114px;
}

.partner-logo img {
  max-height: 114px;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Individual partner logo sizes */
.partner-logo-1 img {
  width: 210px;
  height: 68px;
}

.partner-logo-2 img {
  width: 229px;
  height: 70px;
}

.partner-logo-3 img {
  width: 227px;
  height: 41px;
}

.partner-logo-4 img {
  width: 127px;
  height: 114px;
}

/* IOI Section */
.ioi-section {
  background-color: var(--off-white);
  padding: 0;
  width: 100%;
}

.ioi-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  height: calc(100vh - 150px);
}

.ioi-left {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: #ebebdc;
}

.ioi-right {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: #ebebdc;
}

.ioi-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  max-height: 100%;
}
/* Residence Gallery Grid */
.residence-gallery-section {
  padding: 80px 0;
  background-color: var(--off-white);
}

.residence-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  padding: 0;
}

.gallery-item {
  width: 100%;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: var(--off-white, #F2F0E4);
  text-align: center;
  font-family: "W Supreme Web Regular";
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 36px */
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 0;
  pointer-events: none;
}

.image-text-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: var(--off-white, #F2F0E4);
  text-align: center;
  font-family: "W Supreme Web Regular";
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 36px */
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 0;
  pointer-events: none;
}

/* Responsive design for tablet */
@media (min-width: 769px) and (max-width: 1023px) {
  .discover-image .image-caption {
    padding: 20px 20px;
  }
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .residence-gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 15px;
  }
  
  .residence-gallery-section {
    padding: 40px 0;
  }
  
  .gallery-label {
    font-size: 24px;
    bottom: 15px;
    left: 15px;
    letter-spacing: 2px;
  }
  
  .image-text-overlay {
    font-size: 24px;
    bottom: 15px;
    left: 15px;
    letter-spacing: 2px;
  }
  
  .discover-image .image-caption {
    padding: 15px 16px;
    font-size: 14px;
    line-height: 20px;
  }
  
  .signature-hero-text {
    font-size: 32px;
    letter-spacing: 3px;
  }
  
  .main-banner .banner-text p {
    font-size: 32px;
    letter-spacing: 2px;
  }
  
  .signature-gallery {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .gallery-item-large {
    grid-column: 1;
  }
  
  .signature-gallery .gallery-item:nth-child(2),
  .signature-gallery .gallery-item:nth-child(3) {
    grid-column: 1;
  }
  
  .map-container {
    width: 100%;
    height: 300px;
    margin: 40px auto;
    border-radius: 8px;
  }
  
  .map-container img {
    object-position: 0% 34%;
  }
}

/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

.gallery-modal.active {
  display: block;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10001;
  padding: 10px;
  transition: transform 0.3s ease;
}

.modal-close:hover {
  transform: scale(1.1);
}

.modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 120px;
}

#galleryGlide {
  width: 100%;
  height: 100%;
}

.glide__track {
  height: 100%;
}

.glide__slides {
  height: 100%;
  align-items: center;
}

.glide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.glide__slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
}

.glide__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
}

.glide__arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
}

.glide__arrow--left {
  left: 40px;
}

.glide__arrow--right {
  right: 40px;
}

.glide__bullets {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10000;
}

.glide__bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.glide__bullet--active {
  background: rgba(255, 255, 255, 0.3);
  width: 12px;
  height: 12px;
}

.gallery-counter {
  position: absolute;
  bottom: 40px;
  right: 40px;
  color: white;
  font-family: W Supreme Web Regular;
  font-size: 18px;
  letter-spacing: 0.1em;
  z-index: 10000;
}

/* Hide body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}


