/* 首先在頁面頂部添加 Google Fonts 引用 */
@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap");

/* 添加 AvantGarde Book 字體 */
@font-face {
  font-family: "AvantGarde Book";
  src: url("fonts/AvantGarde-Book.ttf") format("ttf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  src: url("fonts/AvantGarde-Book.ttf") format("ttf");
}

.bodybg1 {
  background-color: #e4f2e7;
}

.bodybg2 {
  background-color: #e1f4fd;
}

/* 內文使用 AvantGarde Book */
.company-description p,
.lead,
.gallery-overlay p,
.stat-item p,
.nav-link,
.form-control,
.btn {
  font-family: "AvantGarde Book", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  white-space: pre-line;
}

/* 保持標題使用 Libre Baskerville */
h1,
h2,
h3,
h4,
h5,
h6,
.logo-title,
.logo-subtitle {
  margin-top: 15px;
  font-family: "Libre Baskerville", serif;
}

.teams h4 {
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}

h2,
h3,
h5 {
  color: #cc8f00;
  padding: 10px 20px;
}

section {
  padding: 5px 0;

}

.bluebg1 {
  background-color: #BBE4EF;
}
.bluebg2 {
  background-color: #99dcc2;
}
.bluebg3 {
  background-color: #68C9D0;
}



.greenbg1 {
  background-color: #CCE7D3;
}
.greenbg2 {
  background-color: #97D5C9;
}
.greenbg3 {
  background-color: #B7DA9B;
}



.lightblue {
  background-color: #e6f7fd;
}

.lightgreen {
  background-color: #e6f4cc;
}

.lightyellow {
  background-color: #fffccc;
}

.goldenborder {
  background: linear-gradient(#ffffff, #ffffff) 50% 50% / calc(100% - 16px) calc(100% - 16px) no-repeat,
    linear-gradient(90deg, #cfa406 0%, #fff200 50%, #cfa406 100%);
  border-radius: 0px;
  box-sizing: content-box;

}

.teampointholder {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  /* 項目間距 */
}

.teampoint {
  display: flex;
  white-space: pre-line;
  background-color: #EFC518;
  color: #fff;
  text-align: center;
  justify-content: center;
  /* 居中 */
  align-items: center;
  /* 居中 */
  flex: 0 0 32%;


  font-size: 2rem;
  line-height: 2.2rem;
  padding: 30px 10px;

}

.arch {
  min-height: 434px;
}

.teamintro {
  position: relative;
  left: 62%;
  bottom: 240px;
  width: 35%;
  height: 0px;

}

a:link {
  text-decoration: none;
  color: inherit;
}

.goldenborder p {
  color: #cc8f00;
}

.contact_title {
  font-family: e;
}

section.contact {
  background-color: #E6BC80;
  min-height: 120px;
}

table.contactinfo td,
table.contactinfo th {
  padding: 2px 15px;
}

table.contactinfo th {
  color: #D1AE85;

}

.goldenplate {
  background: linear-gradient(90deg, #fff200 0%, #cfa406 100%);
}


.logo-item-holder {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.logo-item {
  padding: 30px 20px;
  border-left: 15px solid #8DD8F8;
}



.developer p {
  text-align: justify;
}

.developer .logo {
  max-height: 70px;
  max-width: 100%;
}

.nocolspace {
  --bs-gutter-x: 0;
}

.row {
  margin: 5px 0;
  --bs-gutter-y: 1rem;
}

/*
.row > * {
  padding: 0;
  margin-top: 10px;
  position: relative;
}
*/


.bigtext {
  font-size: 5rem;
  font-family: Helvetica;
  font-weight: 100;
  color: #BC994D;
  margin: 12px 0 0 0;
  line-height: 5rem;
}
/* Menu bar styling with transparent background at top */
.navbar {
  width: 100%;
       position: fixed;
       position: relative;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0); /* Transparent initially */
    color: white;
    padding: 3rem 1rem 1rem 1rem;
    transition: all 0.3s ease; /* Smooth transition for background and text */
    z-index: 1000;
}


.scrolled #navbarNav{
  background:none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.center {
  width: 100%;
  text-align: center;
}

body .gallery-item.enlarge img {
  height: auto;
  cursor: pointer;
}


.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.logo {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-bottom: 0.5rem;
}

.bg-black {
  background-color: #000;
}

.orange {
  color: #ef2f00;
}

.yellow {
  color: #cc8f00;
}

.logo img {
  max-height: 120px;
  width: auto;
}

.logo-title {
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: 0px;
  color: #cc8f00;
  margin-bottom: 0px;
  line-height: 2.5rem;
  text-align: center;
}

.logo-subtitle {
  font-size: 1.32rem;
  font-weight: 400;
  letter-spacing: 0px;
  color: #666;
  margin-top: 0rem;
  text-align: center;
}

.logo:hover {
  transform: scale(1.05);
}

.navbar-nav {
  display: flex;
  justify-content: flex-start;
  gap: 3px 16px;
  flex-wrap: wrap;
  width: 100%;
  list-style: none;
  padding-left: 0;
}

.pre-line {
  white-space:pre-line;
}


.navbar .navbar-nav .nav-item {
  flex: none;
  display: inline-block;
  text-align: center;
  position: relative;
}

.navbar .navbar-nav .nav-item .nav-link {
  color: #FFF;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0px;
  font-size: 18px;
  display: inline-block;
  padding: 0 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar .navbar-nav .nav-item .nav-link.active {
  color: #FFF;
  opacity: 0.8;
  border-bottom: 1px solid #FFF;
}

/* 移除舊的樣式 */
.navbar-nav .nav-link.active {
  color: #FFF;
  font-weight: normal;
}

/* 覆蓋 Bootstrap 默認樣式 */
.navbar-light .navbar-nav .nav-link {
  color: #cc8f00;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color: #cc8f00;
  opacity: 0.8;
}

.language-selector {
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 1000;
}

.language-selector button {
  margin: 0 5px;
}

.language-selector button.current-lang {
  display: none;
}

.language-selector button {
  padding: 3px;
  cursor: pointer;
  min-width: 30px;
  background-color: transparent;
  border: 1px solid #333;
  color: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.language-selector button:hover {
  background-color: #333;
  color: #fff;
}

.menu {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.menu a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  transition: background-color 0.3s ease;
}

.menu a:hover {
  background-color: #555;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hamburger.active {
  transform: rotate(90deg);
}

main {
  padding: 2rem;
}



.video-container {
  width: 640px;
  height: 360px;
  display: block;
  margin: auto;

  cursor: pointer;
}

.play-button-overlay {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
  cursor: pointer;
}

.play-button-overlay:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button-overlay::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 5px;
}

.video-container:hover .play-button-overlay {
  opacity: 1;
}



/* 確保 Grid 容器正常工作 */
.d-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 兩列均分 */
  gap: 5px;
  /* 間距 */
}

/* 圖片容器設置 */
.img-container {
  width: 100%;
  height: 100%;
  padding-bottom: 60%;
  /* 設置 1:1 比例（正方形） */
  position: relative;
  /* 為圖片定位提供上下文 */
  overflow: hidden;
  /* 隱藏超出部分的圖片 */
}

/* 圖片樣式 */
.img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 填充容器，裁剪多餘部分，保持比例 */
  object-position: center;
  /* 圖片內容居中 */
}

.img-container > .textbox {
  margin-left: 15px;
}

.slick-prev:before, .slick-next:before {
  
  color:#009784;
  font-size: 30px;
}
.slick-prev {
    left: -35px;
}
.slick-next {
    right: -25px;
}







.overlayer-header {
  color: #FFF;
  bottom: 20px;
  left: 20px;
  font-size: 5rem;
  font-family: Helvetica, sans-serif;
  font-weight: 100;
  position: absolute;
}

.youtubeembed {
  width: 100%;
  height: 480px;
}

.slide {
  margin: 20px 0;
}


/* Back to Top button styling */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color:RGBA(0, 0, 0, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color:RGBA(0, 0, 0, 0.5);
    transform: scale(1.1); /* Slight scale on hover */
}

.back-to-top.visible {
    display: flex; /* Show when scrolled */
}

/*
@media (min-width: 769px) {
  
  .navbar.scrolled {
      background-color: rgba(255, 255, 255, 1); 
      color: black;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
  }
  
  .navbar.scrolled .navbar-nav .nav-item .nav-link
  {
      color: #000; 
      text-decoration: none;
      text-shadow: none;
      transition: color 0.3s ease; 
  }
  .navbar.scrolled .navbar-nav .nav-item .nav-link.active {
      color: #000; 
      text-decoration: none;
      text-shadow: none;
      transition: color 0.3s ease; 
      border-bottom-color:#000;
  }
}
*/




/* Responsive Design */
@media (max-width: 968px) {




  .hamburger {
    display: block;
  }

  .video-container {
    width: 100%;
    height: auto;
  }

  .menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #333;
    flex-direction: column;
    padding: 1rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .menu li {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .menu.active li {
    opacity: 1;
    transform: translateX(0);
  }



  /* Stagger animation for menu items */
  .menu.active li:nth-child(1) {
    transition-delay: 0.1s;
  }

  .menu.active li:nth-child(2) {
    transition-delay: 0.2s;
  }

  .menu.active li:nth-child(3) {
    transition-delay: 0.3s;
  }

  .menu.active li:nth-child(4) {
    transition-delay: 0.4s;
  }

  .menu.active li:nth-child(5) {
    transition-delay: 0.5s;
  }

  .menu.active li:nth-child(6) {
    transition-delay: 0.6s;
  }

  .menu.active li:nth-child(7) {
    transition-delay: 0.7s;
  }

  .menu.active li:nth-child(8) {
    transition-delay: 0.8s;
  }

  .menu.active li:nth-child(9) {
    transition-delay: 0.9s;
  }

  .menu.active li:nth-child(10) {
    transition-delay: 1s;
  }

  .teamintro {
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    color: #fff;
    padding-top: 10px;
  }
}

/* Footer Styles */
.footer {
  background-color: #333;
  color: white;
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ddd;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  padding: 0.5rem;
  border: 1px solid white;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: white;
  color: #333;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #555;
}

/* Slider images: Same height */
.slick-slide {
  margin: 0 11px;
}

.slick-initialized {
  margin-top: 15px;
  margin-bottom: 15px;
}

.slide-item img{
    width: 100%;
    height: 250px; /* Adjust as needed */
    object-fit: cover;
    object-position: center;
    cursor: pointer; /* Indicate clickability */
}

.caption {
  font-size: 12px;
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black with opacity */
    overflow: auto;
}

.modal-content {
    display: block;
    margin: 5% auto;
    max-width: 90%;
    max-height: 80vh; /* Limit height to viewport */
    object-fit: contain; /* Show full image */
    background-color: transparent;
    
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glide__slide img {
        height: 200px; /* Smaller height for mobile */
    }
    .modal-content {
        max-width: 95%;
        max-height: 75vh;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
  div:has(> .img-container:empty) {
    display: none;
}



  .bigtext {
    font-size: 3rem;
    line-height: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-section {
    margin-bottom: 1.5rem;
  }

  .arch {
    min-height: inherit;
  }
}

@media (max-width: 992px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    z-index: 999;
    padding: 20px;
    padding-top: 80px;
    transform: translateX(-100%);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    visibility: hidden;
  }

  .overlayer-header {
    font-size: 2rem;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .navbar .navbar-nav .nav-item:nth-child(2) {
    margin-left: 0;
  }

  .navbar .navbar-nav .nav-item .nav-link {
    font-size: 28px;
  }

  .navbar-collapse.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
}

/* Video Hero Styles */
.video-hero {
  position: relative;
  height: 100vh;
  min-height: 250px;
  overflow: hidden;
}

.noherospacer {
  margin-top: 100px;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

.video-hero.short {
  height: 75vh;

}


.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  text-align: center;
}

.video-overlay .container {
  max-width: 1000px;
  margin: 0 auto;
}

/* 由於背景透明，需要調整文字樣式以確保可讀性 */
.video-overlay .container h1,
.video-overlay .container p {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.video-overlay .btn {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive Video */
@media (max-width: 768px) {
  /*
  .video-hero {
    height: 20vh;
    min-height: 250px;
  }
  .logo-title {
    margin-top: 50px;
  }
  */
}




/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}



header {
  position: fixed;
  position:absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

/* Social Links in Header */
.social-links-header {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: 15px;
  left: 0;
}

.social-link-item {
  color: #333;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: transparent;
  text-decoration: none;
}

.social-link-item:hover {
  color: white;
  background-color: #333;
  transform: translateY(-2px);
}

.glow {
  /*-webkit-filter: drop-shadow( 0px 5px 2px  rgba(255, 255, 255, 1));*/
  /*filter: drop-shadow( 1px 1px 3px  rgba(255, 255, 255, 1));*/
}

.macau-text {
  position: absolute;
  width: 40%;
  top: 10%;
  left: 15%;
}

.oneoasis-text {
  position: absolute;
  width: 50%;
  top: 10%;
  left: 15%;
}

.where-world-class-text {
  position: absolute;
  width: 60%;
  top: 10%;
  left: 15%;
}

.world-class-text {
    position: absolute;
  width: 50%;
  top: 10%;
  left: 15%;
}

.where-world-class-education-text {
        position: absolute;
  width: 60%;
  top: 10%;
  left: 15%;
}

.indulge-text {
  position: absolute;
  width: 45%;
  top: 10%;
  right: 15%;
}

.live-text {
  position: absolute;
  width: 40%;
  top: 10%;
  left: 15%;
}

.live-here-text{
  position: absolute;
  width: 50%;
  top: 10%;
  left: 15%;
}

.award-wining-text {
  position: absolute;
  width: 55%;
  top: 10%;
  left: 15%;
}

.elevate-text {
      position: absolute;
  width: 35%;
  top: 10%;
  left: 15%;
}

.a-masterpiece-text {
    position: absolute;
  width: 65%;
  top: 10%;
  left: 15%;
}
.neighborhoods-text {
  position: absolute;
  width: 50%;
  top: 10%;
  left: 15%;
}

.lifestyle-text {
  position: absolute;
  width: 50%;
  top: 10%;
  left: 15%;
}

.one-oasis-is-macaus-text {
    position: absolute;
  width: 55%;
  top: 10%;
  left: 10%;
}

.a-ture-testament-text {
    position: absolute;
  width: 45%;
  top: 10%;
  left: 10%;
}

.school-text {
  width: 40%;
  position: absolute;
  top: 15%;
  right: 10%;
}

.galleryesidence-text {
  position: absolute;
  top: 10%;
  left: 15%;
  width: 50%;
}

.developer-text {
  position: absolute;
  top: 10%;
  left: 15%;
  width: 40%;
}

.macau-1 {

  
  
}

.macau-2 {
  padding: 30px 0;
}



.daynightview {
  background-image: url("images/location_05.jpg");
  min-height: 40vh;
  background-position: center center;
  background-size: cover;
}

.map {
  padding: 2%;
}



img.overlap-svg {
    position: absolute; /* 絕對定位，使 SVG 重疊在 JPG 上 */
    BOTTOM: 10%; /* SVG 距離容器頂部的距離（例如 20%） */
    right: 10%; /* SVG 距離容器左邊的距離（例如 30%） */
    width: 70%; /* SVG 寬度為容器的 50% */
    height: auto; /* 保持 SVG 比例 */
}

.time {
  background-image: url("images/time-bg.svg");
  background-position: bottom center;
  background-size: cover;
}

.lifestyle {
  display: flex;
  justify-content: flex-start;
  /* Aligns to the left */
  align-items: flex-end;
  /* Aligns to the bottom */
  background-image: url("images/DDK_0082.jpg");
  min-height: 100vh;
  background-position: center center;
  background-size: cover;
}

.apartment-1 {
  
}

.img-fluid {
  width: 100%;
}

.seethefloorplan {
  
  
  width: auto;
  display: inline-block;
  padding: 2px 15px;
  background-color: #FFF;
}

.seethefloorplan a {
  color: #99dcc2;
  font-weight: bold;
}

.time-ball {}


.centercenter {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}




.macau-point-holder {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  /* 項目間距 */
}

.macau-point {
  flex: 0 0 30%;
  height: auto;
  color: #FFF;
  border-left: solid 4px #FFF;
  margin-bottom: 20px;

  font-size: 4rem;
  font-weight: bolder;
  line-height: 4rem;
  padding-left: 10px;
}



.macau-point p {
  color: #000;
  font-size: 1.8rem;
  line-height: 1.8rem;
  white-space: inherit;
}

.textbox {
  padding: 0 20px;
  font-size: 20px;
  white-space: pre-line;
  margin: 10px 0;
}

.textbox.gold {
  border-left: solid 10px #A4881E;
}

.text-gold{
  color: #A4881E;
  font-weight: bold;
}

.textbox.blue {
  border-left: solid 10px #4e8097;
}

.textbox.green {
  border-left: solid 10px #4e9780;
}

.textbox.brown {
  border-left: solid 10px #A5763F;
}

.textbox.lightblue {
  background-color: transparent;
  color: #FFF;
  border-left: solid 10px #a6e2f9;
  margin: 0 0 220px 50px;
}

. {
  background-color: #FFF;
}

.textbox.white {
  border-left: solid 15px #FFF;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .social-links-header {
    position: static;
    margin-left: 0;
  }
}

/* Company Introduction Styles */
.company-intro {
  background-color: #000;
  color: white;
}

.company-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.company-image img:hover {
  transform: scale(1.02);
}

.company-description {
  color: #fff;
  line-height: 1.8;
}

.stat-item {
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item h3 {
  color: #cc8f00;
  font-weight: bold;
}

.stat-item p {
  color: #fff;
  margin-bottom: 0;
}

/* 修改標題和副標題顏色 */
.company-intro h2 {
  color: #cc8f00;
}

.company-intro .lead {
  color: #fff;
}



@media (max-width: 992px) {
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
  }

  .stat-item:last-child {
    border-bottom: none;
  }
}

/* Gallery Styles */
.gallery-section {
  background-color: #fff;
}

.col-md-4 .gallery-item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 220px;
}

.col-md-3 .gallery-item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 190px;
}

.home .col-md-4 .gallery-item {
  height: 306px;
}

.point .gallery-item {
  background-color: #e3c20eff;
  height: 180px;
  padding: 0px 20px;
}

.point>div:nth-child(even) .gallery-item {
  background-color: #cfb00dff;
}

.point .gallery-item h1 {
  font-size: 3rem;
  margin-top: 10px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}

.point .gallery-item p {
  font-size: 23px;
  line-height: 28px;
  white-space: pre-line;
}

.homepoint h1,
.homepoint h2 {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bolder;
  font-size: 3rem;
  line-height: 2.5rem;
  color: #cfa406;
}

.homepoint h2 {
  font-size: 2.2rem;
}

.homepoint :link {
  text-decoration: none;
}

.homepoint .gallery-item {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  height: 150px;
}

.homepoint .gallery-item p {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.2rem;
}

.col-md-3 .gallery-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center center;
}

.col-md-4 .gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.col-md-6 .gallery-item {
  height: 300px;
  margin: 0;
  overflow: hidden;
}

.col-md-6 .gallery-item img {}

.gallery-item .text-overlay:hover {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  color: white;
  width: 100%;
  text-align: center;
}

.explore {
  display: inline;
}

.gallery-item .item-title {
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  height: 27px;
  overflow: hidden;
}

.gallery-item .item-description {
  margin-top: 5px;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  height: 40px;
  overflow: hidden;
}

.gallery-item h3 {
  font-size: 16px;
  color: #cc8f00;
  font-weight: 700;
  margin: 3px 0;
}

.gallery-item p {
  font-size: 11px;
  line-height: 15px;
  margin-bottom: 0;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.gallery-overlay p {
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive Gallery */
@media (max-width: 768px) {

.youtubeembed {
   height: 220px;
}

  .gallery-item {
    margin-bottom: 1rem;
  }

  .gallery-item img {
    height: 250px;
  }

  /* 強制所有 gallery items 在手機版時佔滿整行 */
  .gallery-section .col-sm-6 {
    width: 100% !important;
    padding: 0 1rem;
  }

  .hero-video {
    width: 100%;
  }

  .gallery-item h3 {
    margin-top: 5px;
    font-size: 20px;
    line-height: 25px;
  }

  .gallery-item p {
    font-size: 14px;
    line-height: 18px;
  }
}

.clickable-item {
  cursor: pointer;
}

/* Contact Form Styles */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form .card {
  border: none;
  border-radius: 15px;
}

.contact-form .form-control {
  border-radius: 8px;
  padding: 0.8rem;
}

.btn-primary {
  background-color: #cc8f00;
  color: #fff;
  border: none;
  margin: 10px 10px 10px 0px;
}

.btn-primary:hover {
  background-color: #333;
}

.contact-form .btn-primary {
  padding: 0.8rem;
  font-size: 1.1rem;
  border-radius: 8px;
}

.contact-form textarea.form-control {
  min-height: 79px;
}

.shortcut-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0 15px 0 0px;
  height: 32px;
  width: 100%;
  box-sizing: border-box;
}

.registration-button {
  float: right;
}

.registration-button .btn {
  background-color: black;
  color: white;
  border-radius: 0;
  padding: 5px 10px;
  border: none;
}

.registration-button .btn:hover {
  background-color: #333;
}

#navbarNav {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 2px 10px;
}

.navbar-toggler {
  position: fixed;
  top: 10px;
  left: 15px;
  z-index: 1000;
  background-color: #fff;
}

.navbar-toggler-icon {
  width: 1rem;
  border-color: #cc8f00;
}

.navbar-toggler:focus {
  box-shadow: 0px 0px 5px #cc8f00;
}

.navbar-collapse {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.navbar .navbar-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
}

.navbar .navbar-nav .nav-item {
  flex: none;
  display: inline-block;
  text-align: center;
}

.navbar-collapse.show {
  transform: translateX(0);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.explore-button {
  background-color: transparent color: #000;
  /* 按鈕文字顏色 */
  border: none;
  padding: 0px 5px;
  font-size: 11px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: inline-block;
  border: solid 1px #000;
  border-radius: 5px;
  max-width: 60px;
  margin-top: 5px;
}

.explore-button:hover {
  background-color: #000;
  /* 懸停時的顏色 */
  color: #fff;
}

.nav-item {
  position: relative;
  display: inline-block;
}

.nav-item.left {
  left: 0;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.75);
  min-width: 200px;
  box-shadow: 2 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  padding: 0;
}

.navbar .navbar-nav .nav-item:hover .dropdown-menu {
  display: block;
}

.navbar .navbar-nav .dropdown-menu li {
  display: block;
  padding: 0px 10px;
  text-align: center;
}

.navbar .navbar-nav .dropdown-menu a {
  color: #cc8f00;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  display: block;
  white-space: nowrap;
  padding: 5px 3px;
  border-bottom: 1px solid #cc8f00;
}

.navbar .navbar-nav .dropdown-menu li:last-child a {
  border-bottom: none;
}

.navbar .navbar-nav .dropdown-menu a:hover {
  color: #000;

}

:lang(zh-tw) .award-wining-text,
:lang(zh-cn) .award-wining-text{
    width: 50%;
}

:lang(zh-tw) .one-oasis-is-macaus-text,
:lang(zh-cn) .one-oasis-is-macaus-text{
    width: 45%;
}

:lang(zh-tw) .award-wining-text,
:lang(zh-cn) .award-wining-text{
    width: 48%;
}
:lang(zh-tw) .galleryesidence-text,
:lang(zh-cn) .galleryesidence-text{
    width: 40%;
}

:lang(zh-tw) .indulge-text,
:lang(zh-cn) .indulge-text{
    width: 40%;
}

:lang(zh-tw) .live-text,
:lang(zh-cn) .live-text{
    width: 38%;
}

:lang(zh-tw) .world-class-text,
:lang(zh-cn) .world-class-text{
    width: 35%;
}

:lang(zh-tw) .elevate-text,
:lang(zh-cn) .elevate-text{
    width: 40%;
}

:lang(zh-tw) .where-world-class-education-text,
:lang(zh-cn) .where-world-class-education-text{
    width: 33%;
}

:lang(zh-tw) .lifestyle-text,
:lang(zh-cn) .lifestyle-text{
    width: 40%;
}

:lang(zh-tw) .a-ture-testament-text,
:lang(zh-cn) .a-ture-testament-text{
    width: 40%;
}

:lang(zh-tw) .where-world-class-text,
:lang(zh-cn) .where-world-class-text{
    width: 35%;
}

:lang(zh-tw) .a-masterpiece-text,
:lang(zh-cn) .a-masterpiece-text{
    width: 40%;
}

:lang(zh-tw) .live-here-text,
:lang(zh-cn) .live-here-text{
    width: 45%;
}

:lang(zh-tw) .oneoasis-text,
:lang(zh-cn) .oneoasis-text{
    width: 40%;
}


:lang(zh-tw) .neighborhoods-text,
:lang(zh-cn) .neighborhoods-text{
    width: 30%;
}
































/* Responsive dropdown for mobile */
@media (max-width: 992px) {
  .navbar .navbar-nav .nav-item .dropdown-menu {
    position: static;
    transform: none;
    left: 0;
    box-shadow: none;
    border: none;
    padding:0 20px;
    width: 100%;
  }

  #navbarNav {
    background-color: #BC994D;
    padding: 50px 10px;
  }

  .navbar .navbar-nav .dropdown-menu li {
    padding: 5px 0;
  }

  .navbar .navbar-nav .dropdown-menu a {
    font-size: 24px;
  }
}

@media (max-width: 768px) {

  .video-hero {
    height: 30vh;
  }

  .overlayer-header {
   font-size: 1.5rem;
   bottom: 5px;
  }

  .language-selector {
    right: 5px;
  }

  .shortcut-container {
    padding: 0 0 0 5px;
  }

  .macau-point {
    width: 220px;
    height: 220px;
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  .macau-text,
  .oneoasis-text,
  .neighborhoods-text,
  .lifestyle-text,
  .school-text,
  .galleryesidence-text,
  .developer-text {
    height: 80%;
    top: 10%;
    left: 10%;
  }

  .slick-next {
    right: 0px;
  }
  .slick-prev {
    left: -10px;
  }
  .slick-list {
    width: 90%;
    margin: 0 auto;
  }

.scrolled #navbarNav{
  background-color:#BC994D;
}


}

section.discover {
  background-color: #f0f0f0;
  /* 設定背景為灰色 */
  padding: 0px;
  /* 可選：添加內邊距 */
}

.discover-description {
  padding: 0;
  /* 確保沒有內邊距 */
  margin: 0;
  /* 確保沒有外邊距 */
}

.discover-description p {
  text-align: left;
  /* 設定文本左對齊 */
  margin: 0;
  /* 移除所有間距 */
  line-height: 1.2;
  /* 調整行高以減少空間 */
  display: block;
  /* 確保段落為塊級元素 */
}

.fade-in {
  opacity: 0;
  /* 初始透明度 */
  animation: fadeIn 1s forwards;
  /* 添加動畫 */
}

@keyframes fadeIn {
  to {
    opacity: 1;
    /* 最終透明度 */
  }
}