:root {
  --keppel-red: #c8102e;
  --faint-grey: #e1e1e1;
}

* {
  margin: 0;
  padding: 0;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  overflow-x: hidden;
}

#back-to-top {
  padding: 14px;
  border-radius: 100px;
  width: 60px;
  height: 60px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 99;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 768px) {
  #back-to-top {
    width: 45px;
    height: 45px;
    right: 16px;
    bottom: 16px;
  }
}

#back-to-top::after {
  content: "";
  display: inline-block;
  background: url("../image/arrow_warm_up.svg") no-repeat;
  width: 17px;
  height: 24px;
  background-size: 100%;
  background-position: center;
}

main {
  margin-top: 75px !important;
}

a {
  color: inherit;
  text-decoration: none;
}

.z-4 {
  z-index: 4;
}

.z-5 {
  z-index: 5;
}

.z-6 {
  z-index: 6;
}

.z-7 {
  z-index: 7;
}

.z-8 {
  z-index: 8;
}

.z-9 {
  z-index: 9;
}

.z-10 {
  z-index: 10;
}

.z-11 {
  z-index: 11;
}

.z-12 {
  z-index: 12;
}

.z-13 {
  z-index: 13;
}

.z-14 {
  z-index: 14;
}

.z-15 {
  z-index: 15;
}

.z-16 {
  z-index: 16;
}

.z-17 {
  z-index: 17;
}

.z-18 {
  z-index: 18;
}

.z-19 {
  z-index: 19;
}

.z-20 {
  z-index: 20;
}

.z-21 {
  z-index: 21;
}

.z-22 {
  z-index: 22;
}

.z-23 {
  z-index: 23;
}

.z-24 {
  z-index: 24;
}

.z-25 {
  z-index: 25;
}

.z-26 {
  z-index: 26;
}

.z-27 {
  z-index: 27;
}

.z-28 {
  z-index: 28;
}

.z-29 {
  z-index: 29;
}

.z-30 {
  z-index: 30;
}

.z-31 {
  z-index: 31;
}

.z-32 {
  z-index: 32;
}

.z-33 {
  z-index: 33;
}

.z-34 {
  z-index: 34;
}

.z-35 {
  z-index: 35;
}

.z-36 {
  z-index: 36;
}

.z-37 {
  z-index: 37;
}

.z-38 {
  z-index: 38;
}

.z-39 {
  z-index: 39;
}

.z-40 {
  z-index: 40;
}

.z-41 {
  z-index: 41;
}

.z-42 {
  z-index: 42;
}

.z-43 {
  z-index: 43;
}

.z-44 {
  z-index: 44;
}

.z-45 {
  z-index: 45;
}

.z-46 {
  z-index: 46;
}

.z-47 {
  z-index: 47;
}

.z-48 {
  z-index: 48;
}

.z-49 {
  z-index: 49;
}

.z-50 {
  z-index: 50;
}

.object-top {
  object-position: top center !important;
}

.object-position-left {
  object-position: left;
}

/* Animation */
.ease-wrapper {
  overflow: hidden;
}

.ease-btt {
  transform: translateY(100px);
  opacity: 0;
  transition: 1.5s;
}

.ease-ttb {
  transform: translateY(-100px);
  opacity: 0;
  transition: 1.5s;
}

.ease-btt.delay {
  transition-delay: 0.3s;
}

.is-active .ease-btt {
  transform: none;
  opacity: 1;
}

.is-active .ease-ttb {
  transform: none;
  opacity: 1;
}

/* .ease-ltr {
	transform: translateX(-100%); 
	opacity: 0; 
	transition: transform 1.5s ease-in-out, opacity 0.5s ease-in-out;
	transition-delay: 3s, 2s;
} */
.ease-ltr {
  transform: translateX(-100px);
  opacity: 0;
  transition: 1.5s;
}

.is-active .ease-ltr {
  transform: none;
  opacity: 1;
}

.ease-rtl {
  transform: translateX(30%);
  opacity: 0;
  transition:
    transform 1.5s ease-in-out,
    opacity 0.5s ease-in-out;
  transition-delay: 3s, 2s;
}

.ease-rtl.active {
  transform: translateX(100px);
  opacity: 1;
}

.is-active .ease-rtl {
  transform: none;
  opacity: 1;
}

.innerpage-heading-ease-rtl {
  transform: translateX(180px) !important;
  opacity: 0 !important;
  transition:
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s ease-out !important;
  transition-delay: 0.2s !important;
}

.is-active .innerpage-heading-ease-rtl,
.gm-animated .innerpage-heading-ease-rtl {
  transform: translateX(0) !important;
  opacity: 1 !important;
}

.move-ltr {
  transform: translateX(-100px);
  opacity: 0;
  transition:
    transform 0.5s ease-in-out,
    opacity 0.5s ease-in-out;
  transition-delay: 0.5s, 3.5s;
}

.move-ltr.delay {
  transition-delay: 0.3s;
}

.is-active .move-ltr {
  transform: none;
  opacity: 1;
}

.move-rtl {
  transform: translateX(100px);
  opacity: 0;
  transition:
    transform 0.5s ease-in-out,
    opacity 0.5s ease-in-out;
  transition-delay: 0.5s, 3.5s;
}

.move-rtl.delay {
  transition-delay: 0.3s;
}

.is-active .move-rtl {
  transform: none;
  opacity: 1;
}

.ease-btt-delay-after {
  transform: translateY(100px);
  opacity: 0;
  transition: 1.5s;
  transition-delay: 1.5s, 0.5s;
}

.ease-btt-delay-after.done {
  transform: translateY(100px);
}

.ease-btt-delay-after.delay {
  transition-delay: 0.3s;
}

.is-active .ease-btt-delay-after {
  transform: none;
  opacity: 1;
}

.ease-rtl-basic {
  transform: translateX(100px);
  opacity: 0;
  transition: 1.5s;
}

.ease-rtl-basic.delay {
  transition-delay: 0.3s;
}

.is-active .ease-rtl-basic {
  transform: none;
  opacity: 1;
}

.move-btt {
  transform: translateY(300px);
  opacity: 0;
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
  transition-delay: 3.9s, 3.9s;
}

.move-btt .delay {
  transition-delay: 0.3s;
}

.is-active .move-btt {
  transform: none;
  opacity: 1;
}

.move-ttb {
  transform: translateY(-300px);
  opacity: 0;
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
  transition-delay: 3.85s, 3.85s;
}

.move-ttb .delay {
  transition-delay: 0.3s;
}

.is-active .move-ttb {
  transform: none;
  opacity: 1;
}

.background-ease h2 {
  color: #ffffff;
  width: max-content;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.background-ease {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 1);
  opacity: 1;
  transition:
    transform 0.5s ease-out,
    opacity 0.5s ease-out,
    background-color 0.5s ease-out;
  z-index: 9;
}

.background-ease.done {
  background-color: rgba(0, 0, 0, 0);
  opacity: 0;
  z-index: unset;
}

.ease-out {
  transition: all 0.3s ease-out;
}

.ease-in {
  transition: all 0.3s ease-in;
}

.animated {
  animation-duration: 3.3s;
  animation-fill-mode: both;
}

.easeDownNoFade {
  animation-name: easeDownNoFade;
}

.easeDownNoFadeShorter {
  animation-name: easeDownNoFadeShorter;
  animation-duration: 1s;
}

.easeDownNoFadeShorterForNav {
  animation-name: easeDownNoFadeShorter;
  animation-duration: 1s;
}

@keyframes easeDownNoFade {
  from {
    opacity: 0;
    transform: translate3d(0, -2000px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes easeDownNoFadeShorter {
  from {
    opacity: 1;
    transform: translate3d(0, -100px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes easeDownNoFadeShorterForNav {
  from {
    opacity: 0;
    transform: translate3d(0, -2000px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ----- */

.eyebrow-red,
.eyebrow-blue,
.eyebrow-white {
  color: #c8102e;
  font-family: "DM Serif Display";
  font-size: clamp(20px, 1.5vw, 26px);
  text-transform: uppercase;
}

.eyebrow-blue {
  color: #9bf4ff;
}

.eyebrow-d-blue {
  color: #1a7783;
}

.eyebrow-white {
  color: white;
}

.eyebrow-white-lg {
  color: white;
  font-family: "DM Serif Display";
  font-size: 34px;
}

.text-white-lg {
  color: white;
  line-height: 1.25 !important;
  font-size: clamp(20px, 1.7vw, 32px);
  text-shadow: 0px 3px 5px rgba(0, 0, 0, 0.25) !important;
}

.text-white-md {
  color: white;
  font-size: clamp(18px, 1.3vw, 24px);
}

.mt-100 {
  margin-top: 100px;
}

.text-black-xxl {
  color: black;
  font-family: "DM Serif Display";
  font-size: 190px;
  font-size: clamp(143px, 14.3vw, 190px);
  font-size: clamp(100px, 11vw, 190px);
}

.text-black-lg {
  color: black;
  font-size: clamp(24px, 1.7vw, 32px);
}

.text-grey-sm {
  color: #767575;
  font-size: 17px;
  line-height: 130%;
  letter-spacing: 0;
  font-style: italic;
}

.text-blue-xl {
  color: #0aa3b7;
  color: #9bf4ff;
  font-family: "DM Serif Display";
  font-size: clamp(40px, 4.1vw, 52px);
  line-height: 108%;
  letter-spacing: 0;
}

.center-center {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.cta-red-border {
  display: inline-block;
  padding: 14px 24px;
  border: 1px solid var(--keppel-red);
  width: fit-content;
  color: var(--keppel-red) !important;
  display: flex;
  gap: 9px;
  align-items: center;
  transition: background 0.3s ease;
  font-size: 16px;
}

button.cta-red-border {
  background-color: white;
  cursor: pointer;
}

.cta-red-border:hover {
  background-color: var(--keppel-red);
  color: #fff !important;
}

.cta-red-border::after {
  content: "";
  display: inline-block;
  background: url("../image/arrow_right_red.svg");
  width: 14px;
  height: 11px;
}

.cta-red-border:hover::after {
  background: url("../image/arrow_right_white.png");
}

footer {
  background: #322c2e;
}

footer .footer-wrapper {
  max-width: 1920px;
  width: 90vw;
  color: #fff;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 24px;
}

.footer-nav-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Roboto", sans-serif;
}

.footer-nav-wrapper p {
  margin-bottom: 8px;
}

.footer-nav-wrapper .copyright-wrapper {
  color: #b2b2b2;
}

.footer-nav-wrapper .separator {
  font-size: 0;
  margin: 0 24px;
}

.footer-nav-wrapper a {
  transition: color 0.3s ease;
}

.footer-nav-wrapper a:hover {
  color: var(--keppel-red);
}

footer .download-ar {
  font-size: clamp(42px, 4.2vw, 80px);
  font-family: "DM Serif Display";
  margin: 80px 0;
}

footer .download-ar::before {
  content: "";
  display: inline-block;
  background: url("../image/download-ar.svg");
  width: 34px;
  height: 47px;
  margin-right: 20px;
}

@media screen and (max-width: 768px) {
  footer .footer-wrapper {
    padding-bottom: 80px;
  }

  .footer-nav-wrapper {
    padding: 0 24px;
    text-align: center;
  }

  /* ✅ mobile flex-row 改成 wrap */
  .footer-nav-wrapper .flex-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px !important;
    margin-top: 20px !important;
  }

  .footer-nav-wrapper .flex-row .separator {
    color: #ffffff !important; /* ✅ 确保颜色显示 */
    margin: 0 24px;
  }

  .footer-nav-wrapper .separator {
    font-size: inherit;
    margin: 0 24px;
  }

  /* ✅ Data Protection 和 Terms 各自占满一行 */
  .footer-nav-wrapper .flex-row a:nth-child(5),
  .footer-nav-wrapper .flex-row a:nth-child(7) {
    flex-basis: 100%;
    text-align: center;
    margin-top: 8px;
  }

  /* ✅ 隐藏 Data Protection 和 Terms 前面的 separator */
  .footer-nav-wrapper .flex-row span:nth-child(4),
  .footer-nav-wrapper .flex-row span:nth-child(6) {
    display: none;
  }
}
