/* ==========================================================================
   Hover effects only.
   Nothing here renders until the user hovers — no static styling, no layout,
   no palette or typeface changes. Uses existing theme tokens only.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Primary CTA — light sweeps across the button, button lifts
   -------------------------------------------------------------------------- */

.commonBt {
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.commonBt::before {
  transition: border-color 0.45s ease;
}

.commonBt span {
  overflow: hidden;
}

.commonBt span::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  opacity: 0;
}

.commonBt:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -12px rgba(155, 58, 35, 0.45);
}

.commonBt:hover span::after {
  animation: premiumSheen 0.9s cubic-bezier(0.25, 0.8, 0.3, 1) 0.1s 1 forwards;
}

.commonBt:active {
  transform: translateY(0);
}

@keyframes premiumSheen {
  0% {
    left: -60%;
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  100% {
    left: 120%;
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   2. Header — logo, nav roll easing, Enquire Now sheen
   -------------------------------------------------------------------------- */

#header .logo img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

#header .logo a:hover img {
  transform: scale(1.03);
}

/* the nav already runs a data-text roll on a::after — only ease its timing */
#header .navbar a span,
#header .navbar a::after {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

#header .NavRight .EnquireNow {
  position: relative;
  overflow: hidden;
  transition:
    background-color 0.5s ease,
    color 0.5s ease,
    border-color 0.5s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

#header .NavRight .EnquireNow::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  opacity: 0;
  pointer-events: none;
}

#header .NavRight .EnquireNow:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -12px rgba(155, 58, 35, 0.55);
}

#header .NavRight .EnquireNow:hover::after {
  animation: premiumSheen 0.9s cubic-bezier(0.25, 0.8, 0.3, 1) 1 forwards;
}

/* --------------------------------------------------------------------------
   3. Imagery — slow cinematic zoom + editorial frame, desktop only
   -------------------------------------------------------------------------- */

.galleryImg,
.experiencepix {
  overflow: hidden;
}

.experiencepix {
  position: relative;
}

.galleryImg img,
.experiencepix img,
.moreInfromation-lhs .lpImgFluid {
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  backface-visibility: hidden;
}

.galleryImg::after,
.experiencepix::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
  z-index: 2;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 992px) {
  .galleryImg:hover img,
  .experiencepix:hover img,
  .moreInfromation-lhs:hover .lpImgFluid {
    transform: scale(1.045);
  }

  .galleryImg:hover::after,
  .experienceVideo a:hover .experiencepix::after {
    opacity: 1;
    transform: scale(1);
  }
}

/* --------------------------------------------------------------------------
   4. Video play button — keeps its original centring translate
   -------------------------------------------------------------------------- */

#welcome .experienceVideo .play-icon {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#welcome .experienceVideo a:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.08);
}

/* --------------------------------------------------------------------------
   5. Tabs, configuration buttons, highlight icons
   -------------------------------------------------------------------------- */

.ProjectAmenitiesTabs .nav-tabs .nav-link,
.configBtnWrap .nav-tabs .nav-link {
  transition:
    background-color 0.5s ease,
    color 0.5s ease,
    border-color 0.5s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.ProjectAmenitiesTabs .nav-tabs .nav-link:hover,
.configBtnWrap .nav-tabs .nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -14px rgba(0, 0, 0, 0.4);
}

.ProjectAmenitiesTabs .nav-tabs .nav-link .svg-icon svg,
.ProjectAmenitiesTabs .nav-tabs .nav-link .svg-icon img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ProjectAmenitiesTabs .nav-tabs .nav-link:hover .svg-icon svg,
.ProjectAmenitiesTabs .nav-tabs .nav-link:hover .svg-icon img {
  transform: translateY(-2px) scale(1.05);
}

#projectHilight span img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

#projectHilight li:hover span img,
#projectHilight .item:hover span img {
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   6. Submit buttons
   -------------------------------------------------------------------------- */

.SubmitBtn {
  position: relative;
  overflow: hidden;
  transition:
    background-color 0.5s ease,
    color 0.5s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.SubmitBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -12px rgba(155, 58, 35, 0.5);
}

.SubmitBtn:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   7. Modal close button
   -------------------------------------------------------------------------- */

.Close_btn,
.modal .btn-close {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

.Close_btn:hover,
.modal .btn-close:hover {
  transform: rotate(90deg);
}

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */

#footer .qr_img img {
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease;
}

#footer .qr_img:hover img {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -16px rgba(0, 0, 0, 0.55);
}

#footer a {
  transition:
    color 0.35s ease,
    opacity 0.35s ease;
}

#footer a:hover {
  color: var(--gold);
}

/* ==========================================================================
   SECTION POLISH — one restrained touch per section.
   Deliberately light: soft depth on imagery, thin gold hairline accents.
   No layout, palette or typeface changes.
   ========================================================================== */

/* --- #header — softer sticky shadow than the default hard drop ------------ */

#header.fixed {
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.28);
}

/* --- .section__banner — a whisper of a scrim at the foot of the photo ----- */

.section__banner .carousel-inner {
  position: relative;
}

.section__banner .carousel-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 68%,
    rgba(0, 0, 0, 0.22) 100%
  );
}

/* --- #welcome — the video thumbnail lifts off the page ------------------- */

#welcome .experienceVideo .experiencepix {
  box-shadow: 0 20px 44px -30px rgba(0, 0, 0, 0.5);
}

/* --- #MasterLayout — soft ground shadow under the map -------------------- */

.masterLaypoutMapImg {
  box-shadow: 0 22px 50px -38px rgba(0, 0, 0, 0.45);
}

/* --- #projectHilight / #ProjectAmenities / #location ---------------------
   thin gold rule under the uppercase eyebrow label                         */

.sub-ttle {
  position: relative;
  display: inline-block;
}

.sub-ttle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 38px;
  background: linear-gradient(90deg, var(--gold), rgba(197, 153, 91, 0));
}

/* --- #ProjectAmenities — gallery photos gain a little weight ------------- */

#ProjectAmenities .sportsImgSliderWrap .galleryImg {
  box-shadow: 0 22px 48px -38px rgba(0, 0, 0, 0.5);
}

/* --- #towers — the presentation embed sits on the page ------------------- */

#towers .embedVideoWrap,
.conf_img {
  box-shadow: 0 20px 44px -32px rgba(0, 0, 0, 0.45);
}

/* --- #configWrapSection2 — centred gold rule beneath the title ----------- */

#configWrapSection2 .configContetWrap .common-ttle {
  position: relative;
}

#configWrapSection2 .configContetWrap .common-ttle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 54px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    rgba(197, 153, 91, 0),
    var(--gold),
    rgba(197, 153, 91, 0)
  );
}

/* --- #iconic — the faintest vignette to deepen the sky photograph -------- */

#iconic::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 45%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.18) 100%
  );
}

/* --- #location — soft depth under the connectivity map ------------------- */

#location .mapLocationImg img {
  box-shadow: 0 20px 44px -34px rgba(0, 0, 0, 0.45);
}

/* --- .moreInfromation-wrp & #footer — hairline gold thread on the seam --- */

#footer,
.moreInfromation-wrp {
  position: relative;
}

#footer::before,
.moreInfromation-wrp::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(197, 153, 91, 0) 0%,
    rgba(197, 153, 91, 0.85) 50%,
    rgba(197, 153, 91, 0) 100%
  );
}

/* --------------------------------------------------------------------------
   9. Talk To Expert CTA — same sheen + lift as Enquire Now / .commonBt
   -------------------------------------------------------------------------- */

.TalkToExpert {
  position: relative;
  overflow: hidden;
  /* same blue as the floating "Talk to Expert" tile, so every expert CTA
     (nav / reels / configuration / forms) reads as one action */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: solid 1px #14539f;
  background: linear-gradient(180deg, #1d70d1 0%, #14539f 100%);
  color: var(--White);
  transition:
    background-color 0.5s ease,
    color 0.5s ease,
    border-color 0.5s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.TalkToExpert::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  opacity: 0;
  pointer-events: none;
}

.TalkToExpert:hover,
.TalkToExpert:focus-visible {
  background: linear-gradient(180deg, #14539f 0%, #0e3f79 100%);
  border-color: #0e3f79;
  color: var(--White);
}

.TalkToExpert:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -12px rgba(20, 83, 159, 0.75);
}

.TalkToExpert:hover::after {
  animation: premiumSheen 0.9s cubic-bezier(0.25, 0.8, 0.3, 1) 1 forwards;
}

/* --- #reels — centred gold rule beneath the title, matching #configWrapSection2 */

/* the shared .sub-ttle rule is left-anchored; centre it under the centred eyebrow */
#reels .sub-ttle::after {
  left: 50%;
  transform: translateX(-50%);
}

#reels .common-ttle {
  position: relative;
  padding-bottom: 18px;
}

#reels .common-ttle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 1px;
  width: 90px;
  background: linear-gradient(
    90deg,
    rgba(197, 153, 91, 0) 0%,
    rgba(197, 153, 91, 0.85) 50%,
    rgba(197, 153, 91, 0) 100%
  );
}

.bottom-left {
  bottom: 30px !important;
  left: 0px;
}

/* --------------------------------------------------------------------------
   10. Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .commonBt span::after,
  #header .NavRight .EnquireNow::after,
  .TalkToExpert::after {
    display: none;
  }

  .commonBt,
  .SubmitBtn,
  .TalkToExpert,
  .galleryImg img,
  .experiencepix img,
  .moreInfromation-lhs .lpImgFluid {
    transition-duration: 0.01ms !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   11. Floating "Talk To Expert" CTA — right-edge tile
   -------------------------------------------------------------------------- */

.expertFloat {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1111;
}

.expertFloatBtn {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 78px;
  padding: 13px 8px 14px;
  border: 0;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(180deg, #1d70d1 0%, #14539f 100%);
  box-shadow: -6px 6px 20px -8px rgba(0, 0, 0, 0.5);
  color: var(--White);
  font-family: inherit;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.expertFloatBtn__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f5821f;
  color: var(--White);
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 3px 8px -2px rgba(0, 0, 0, 0.35);
}

/* soft ring pulse on the icon, in place of the old .pulseanimation on the wrapper */
.expertFloatBtn__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: expertFloatPulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes expertFloatPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 130, 31, 0.55);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(245, 130, 31, 0);
  }
}

.expertFloatBtn__label {
  font-size: 12px;
  font-weight: var(--font-weight-600);
  line-height: 1.2;
  letter-spacing: 0.2px;
  text-align: center;
  color: var(--White);
}

/* same sheen as the other premium CTAs */
.expertFloatBtn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  opacity: 0;
  pointer-events: none;
}

.expertFloatBtn:hover,
.expertFloatBtn:focus-visible {
  transform: translateX(-3px);
  box-shadow: -10px 8px 26px -8px rgba(0, 0, 0, 0.6);
}

.expertFloatBtn:hover::after {
  animation: premiumSheen 0.9s cubic-bezier(0.25, 0.8, 0.3, 1) 1 forwards;
}

@media only screen and (max-width: 768px) {
  .expertFloatBtn {
    gap: 6px;
    width: 66px;
    padding: 10px 6px 11px;
    border-radius: 14px 0 0 14px;
  }

  .expertFloatBtn__icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .expertFloatBtn__label {
    font-size: 10.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .expertFloatBtn::after,
  .expertFloatBtn__icon::before {
    display: none;
  }

  .expertFloatBtn {
    transition-duration: 0.01ms !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   12. In-form "Talk To Expert" CTA — secondary action beside Submit
   -------------------------------------------------------------------------- */

.TalkToExpertForm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem; /* matches the .mt-4 on the adjacent submit button */
  padding: 10px 18px;
  border-radius: 0;
  white-space: nowrap;
  /* colours come from the shared .TalkToExpert rule above */
}

/* the video icon is shared by every expert CTA */
.TalkToExpert i {
  font-size: 12px;
}

.TalkToExpertLg i {
  font-size: 14px;
}

/* Submit stays left, Talk To Expert sits at the right edge of the form */
.form-buttons span.input-group-btn {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.form-buttons span.input-group-btn .TalkToExpertForm {
  margin-left: auto;
}

/* "Get In Touch" contact form: its submit is .commonBt, so wrap both in a row.
   the bottom margin leaves room for .commonBt's 5px offset frame. */
.formCtaRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-bottom: 5px;
}

/* keep the same size as the CTA in every other form. the legacy
   `.moreInfromation-wrp button { padding: 0; margin-top: 30px }` rule in
   style.min.css outranks .TalkToExpertForm and flattened this button, so the
   padding is restated here at higher specificity. */
.formCtaRow .TalkToExpertForm {
  margin-top: 0;
  margin-left: auto;
  padding: 10px 18px;
  background: linear-gradient(180deg, #1d70d1 0%, #14539f 100%);
}

.formCtaRow .TalkToExpertForm:hover,
.formCtaRow .TalkToExpertForm:focus-visible {
  background: linear-gradient(180deg, #14539f 0%, #0e3f79 100%);
}

/* mobile: stack the CTA below the submit button, full width */
@media (max-width: 767px) {
  .form-buttons span.input-group-btn,
  .formCtaRow {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .form-buttons span.input-group-btn .TalkToExpertForm,
  .formCtaRow .TalkToExpertForm {
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
    justify-content: center;
    font-size: 12px;
    padding: 11px 14px;
  }
}

/* --- #MasterLayout — keep the heading in its own section -----------------
   style.min.css absolutely positions this title (left:-890px; top:50px) for
   the old markup, which had a positioned parent. The current markup has none,
   so it anchored to the page and rendered over the banner. Pin it back in
   flow, centred above the map.                                             */

#MasterLayout .common-ttle.mapHeadText {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  transform: none;
  width: 100%;
  text-align: center;
  margin: 0 auto 30px;
}
