/* Homepage Styles for Cloud39 */

/* Smooth scroll và global animation settings */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}
.home section .container {
  max-width: 1170px;
}
/* AOS Custom Animations */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Custom parallax effects */
.floating-element {
  will-change: transform;
}


/* Typography */

.section-title {
  font-size: 3rem;
  font-weight: 300;
  font-style: italic;
  margin: 0 0 30px 0;
  color: #333;
  line-height: 1.2;
}

/* Custom Text Formatting */
.text-italic {
  font-style: italic;
}

.text-highlight {
  font-style: normal;
}

.section-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
  z-index: 0;
}

.hero-background::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  background: url('../images/footer-cloud.png');
  background-size: 100% auto;
  background-repeat: no-repeat;
  transform: scale(1.2) translateX(-50%);
  z-index: 1;
  transition-delay: 0.5s;
  transition-duration: 1s;
  background-position: center bottom;
}

.hero-background.aos-animate::after{
  transform: scale(1) translateX(-50%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Extra height for parallax */
  z-index: 1;
  will-change: transform;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(-50px); /* Slight zoom for parallax effect */
  transition-delay: 0.5s;
  transition-duration: 1s;
}

.hero-background.aos-animate img{

  transform: translateY(0px);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.4); */
  /* backdrop-filter: blur(1px); */
  background: linear-gradient(360deg, rgba(0, 0, 0, 0) 10.5%, rgba(0, 0, 0, 0.6) 86.12%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: var(--font-size-h0);
  line-height: 1.03225806452;
  letter-spacing: 0;
  margin: 0;
  text-align: center;
}
.hero-title .fade-right {
  transform: translateX(-50px);
  display: inline-block;
  transition-delay: 0.5s;
  transition-duration: 1s;
    font-style: italic;
}

.hero-title .fade-left {
  display: inline-block;
  transform: translateX(50px);
  transition-delay: 0.5s;
  transition-duration: 1s;
    font-style: italic;
}

.hero-title.aos-animate .fade-right,
.hero-title.aos-animate .fade-left{
      transform: translateX(0px);
}
html[lang="zh-CN"] .hero-title .fade-right,
html[lang="zh-CN"] .hero-title .fade-left{
font-family: "Noto Sans SC", sans-serif;
font-weight: 300;
    font-style: normal;
}

html[lang="zh-HK"] .hero-title .fade-right,
html[lang="zh-HK"] .hero-title .fade-left{
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 300;
  font-style: normal;
}
.hero-title .fade-left {
    padding-right: 20px;
}
.hero-title .fade-right {
    padding-left: 20px;
}
@keyframes heroTitleReveal {
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

/* Scroll to Explore Section */
.scroll-explore-section {
  padding: 0px 0;
  text-align: center;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.scroll-explore-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.scroll-explore-text {
  font-weight: 300;
  color: rgba(45, 45, 45, 0.25);
  margin: 0;
  letter-spacing: 0;
  text-transform: initial;
}

.scroll-arrow {
  color: #8B7355;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.scroll-arrow:hover {
  opacity: 1;
}

.scroll-arrow svg {
  width: 24px;
  height: 24px;
}

/* Dreams Section */
.dreams-section {
  padding: 67px 0;
  overflow: hidden;
  position: relative;
  height: 100vh;
  min-height: 897px;
}
section.dreams-section:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 231px;
  left: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(241, 240, 237, 0) 23.39%, #F1F0ED 80.86%);
  z-index: 3;
}

.dreams-cloud {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -8%;
  z-index: 3;
}
section.dreams-section .dreams-cloud{
    pointer-events: none;
}


.dreams-cloud img {
  transform: scaleX(-1);
  width: 100%;
  object-fit: cover;
}


.dreams-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.dreams-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dreams-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 249, 250, 0.8);
  z-index: 2;
background: linear-gradient(180deg, rgba(241, 240, 237, 0) 23.39%, #F1F0ED 80.86%);
}

.dreams-cloud-2 {
  width: 621px;
  height: 183px;
  position: absolute;
  bottom: 25%;
  left: 5%;
  z-index: 3;
  object-fit: contain;
}

.dreams-cloud-2 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;

}

.dreams-cloud-3 {
  width: 297px;
  height: 82px;
  position: absolute;
  bottom: 20%;
  left: 49%;
  z-index: 3;
  object-fit: contain;
}

.dreams-content {
  position: relative;
  z-index: 3;
  gap: inherit;
}

.dreams-text-left[data-aos^=fade][data-aos^=fade] {
  text-align: right;
  padding-right: 0px;
  max-width: 1012px;
  position: relative;
  z-index: 2;
  opacity: 1;
}
.dreams-text-left[data-aos=fade-right]:not(.aos-animate) {
    transform: translate3d(-100%, 0, 0);
}

.dreams-text-right[data-aos=fade-left]:not(.aos-animate)  {
    transform: translate3d(100%, 0, 0);
}

.dreams-text-description[data-aos=fade-up]:not(.aos-animate) {
    transform: translate3d(0, 50px, 0);
}

.dreams-title .text-italic {
  font-style: italic;
}
.dreams-title {
  margin: 0;
}

.dreams-text-description {
  max-width: 459px;
  margin-left: auto;
  padding-left: 20px;
  padding-top: 32px;
}
.dreams-building {
  width: 100%;
  position: absolute;
  left: 0;
  text-align: center;
  margin-top: 80px;
}

.dreams-building img {
  width: 100%;
  max-width: 495px;
  height: auto;
  object-fit: contain;
  transform: translateY(50%) scale(1.5);
  opacity: 0;
  transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dreams-building.aos-animate img {
  transform: translateY(0)  scale(1);
  opacity: 1;
}

.dreams-text-right[data-aos^=fade][data-aos^=fade] {
  text-align: left;
  padding-left: 0px;
  max-width: 873px;
  margin-left: auto;
  padding-top: 5px;
  position: relative;
  z-index: 2;
    opacity: 1;
}


.dreams-description p {
  margin: 0 0 15px 0;
}

/* Modern Aesthetics Slider Section */
.aesthetics-section {padding: 43px 0 0;position: relative;}

.aesthetics-header {
  margin-bottom: 30px;
}

.aesthetics-header-content, .header-content {
  display: flex;
  gap: 0px;
  align-items: start;
}

.aesthetics-text, .header-content-text {
  padding-right: 40px;
  width: calc(100% - 325px);
}

.aesthetics-subtitle {
  margin: 0 0 20px 0;
}

.aesthetics-title {
  margin: 0;
  text-align: left;
  max-width: 605px;
}

.aesthetics-title .highlight {
  color: #8B7355;
  font-style: normal;
}

.aesthetics-title .text-highlight {
  font-style: italic;
  color: #B49789;
}

.aesthetics-description, .header-content-description {
  display: flex;
  align-items: center;
  height: 100%;
  width: 321px;
}

.aesthetics-description .description-text, .header-content-description .description-text {padding-top: 55px;}

/* Swiper Styles with Interactive Background */
.aesthetics-slider-wrapper {
  position: relative;
  padding-bottom: 123px;
  overflow: hidden;

}

.aesthetics-section .aesthetics-section-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2;
    mix-blend-mode: overlay;
}

/* Dynamic Background Container */
.aesthetics-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  border-radius: 12px;
  overflow: hidden;
}

.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateX(50px);
  transition: all 2s ease;
  filter: blur(2px);
}
.bg-slide::before {
  content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 3;
    pointer-events: none;
background: linear-gradient(0deg, rgba(241, 240, 237, 0) 33.46%, #F1F0ED 69.42%), linear-gradient(270deg, #F1F0ED 0%, rgba(241, 240, 237, 0) 20%, rgba(241, 240, 237, 0) 80%, #F1F0ED 100%), linear-gradient(180deg, rgba(215, 228, 240, 0) 78.48%, #D7E4F0 96.15%);
}

.bg-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aesthetics-section .aesthetics-slider-wrapper::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 50%;
  left: 0;
  top: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(241, 240, 237, 0) 37.77%, #F1F0ED 69.42%);
}

.aesthetics-section .aesthetics-slider-wrapper::after{
  content: '';
  position: absolute;
  width: 100%;
  height: 60%;
  left: 0;
  bottom: -1px;
  background: linear-gradient(180deg, rgba(215, 228, 240, 0) 60.5%, #D7E4F0 91.3%);
  z-index: 3;
  pointer-events: none;
}

/* Aesthetics Slider with 3 centered items and side items cut */
.aesthetics-slider {
  position: relative;
  z-index: 4;
  padding-bottom: 0;
  padding: 0;
  overflow: visible;
}
.aesthetics-slider.owl-carousel .owl-stage {
    padding-top: 63px;
    /* transition-timing-function: linear !important; */
    padding-bottom: 60px;
}
.aesthetics-slider .swiper-wrapper {
  align-items: center;
}

.aesthetics-slider .swiper-slide {
  height: auto;
  transition: all 0.4s ease;
}

.aesthetics-slider .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.aesthetics-slider .swiper-slide :not(.swiper-slide-active) .cloud39-text {
  opacity: 0;
}

.aesthetics-slider .swiper-slide-next,
.aesthetics-slider .swiper-slide-prev {
  opacity: 0.8;
}

.gallery-item {
  transition: all 2s ease;
  cursor: pointer;
  height: unset;
  transform-origin: center;


}

.gallery-item .image{
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding-bottom: calc(400/325 * 100%);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 12px;
  position: absolute;
}

/* Slide Overlay */
.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.slide-overlay h4 {
  font-size: 1.2rem;
  margin: 0 0 10px 0;
  font-weight: 300;
}

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

/* Slider Navigation - Counter and Pagination */
.slider-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 58px;
  max-width: 529px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  position: relative;
  z-index: 4;
}

.aesthetics-section .slide-counter {
  font-family: 'IvyOra Text';
  font-weight: 300;
  font-size: 35px;
  line-height: 40px;
  letter-spacing: 0;
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.slider-pagination {
    display: block;
    width: 100%;
    height: 1px;
    position: relative;
}

.progressbar {
    width: 100%;
    height: 100%;
}
.progressbar-fill {
  width: 0%;
  height: 100%;
  background: #000;
  position: absolute;
}
.counter-separator {
  color: #ccc;
  font-size: 1rem;
}


/* Custom Pagination Design */
.slider-pagination.swiper-pagination-progressbar.swiper-pagination-horizontal,
.aesthetics-section .slider-pagination {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
    width: calc(100% - 164px);
  background: rgba(45, 45, 45, 0.2);
  height: 1px;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: rgba(45, 45, 45, 1);
}

.slider-pagination .swiper-pagination-bullet {
  width: 40px;
  height: 3px;
  border-radius: 0;
  background: #e0e0e0;
  opacity: 1;
  transition: all 0.4s ease;
  cursor: pointer;
}

.slider-pagination .swiper-pagination-bullet-active {
  background: #8B7355;
  width: 60px;
}

/* Hide Swiper Arrows - not used */
.slider-arrows {
  display: none;
}

.slider-prev,
.slider-next {
  display: none;
}

/* Cloud 39 Header Section */
.cloud39-header-section {

background:  url('../images/cloud-2.png');

background-repeat: no-repeat;

background-size: cover;

padding-bottom: 107px;
position: relative;
}

.cloud39-header-section::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #D7E4F0;
  opacity: 0.6;
}

.cloud39-header-section-content{
      padding: 37px 0 40px 0;
      clip-path: polygon(0 0, 100% 0, 100% 84%, 85% 100%, 12% 100%, 0 83%);
      position: relative;
      z-index: 2;
}
.swiper-slide.swiper-slide-next.swiper-slide-prev {
  clip-path: polygon(0 0, 100% 6%, 100% 84%, 0% 100%);
}
.cloud39-header-content {
  display: flex;
  gap: 0px;
  align-items: start;
}

.cloud39-header-label {
  margin: 0 0 19px 0;
}

.cloud39-header-title {
  margin: 0;
}

.header-description {
  display: flex;
  align-items: center;
  height: 100%;
  width: 314px;
}
.cloud39-slider-container {
  margin-top: 11px;
  margin-bottom: 0;
}
.description-text {

  padding-top: 48px;
}

/* Cloud 39 Section */
.cloud39-section {
  padding: 100px 0;
  background: #f0f8ff;
}

.cloud39-slider-container {
  position: relative;
  overflow: hidden;
  z-index: 2;
}


section.cloud39-header-section:before {
  content: '';
  width: 100%;
  height: 150px;
  background: linear-gradient(0deg, rgba(215, 228, 240, 0) 0%, #D7E4F0 100%);
  position: absolute;
  top: 0;
  left: 0;
}

.cloud39-header-content .text-italic {
  color: #7192AF;
}


.cloud39-header-text {
  width: calc(100% - 325px);
}

.header-content-title {
  max-width: 605px;
}


.cloud39-slider {
  width: 100%;
  height: auto;
  overflow: visible;
  padding: 0 0px 0px;
}

/* .swiper-slide.swiper-slide-next .cloud39-image {clip-path: polygon(146px 0, 100% 0, 150px 100%, 0 calc(100% - 26px), 0 26px);border-radius: 40px;padding-bottom: calc(688 / 1130 * 100%);}

.swiper-slide.swiper-slide-prev .cloud39-image {
  clip-path: polygon(0 0, calc(100% - 150px) 0%, 100% 24px, 100% calc(100% - 29px), calc(100% - 150px) 100%, 0 100%);
  border-radius: 38px;
  padding-bottom: calc(688 / 1130 * 100%);
} */
.cloud39-slider .swiper-slide {
  width: 100%;
  transition: all 1s;

}

.cloud39-slider .cloud39-image {
  padding-bottom: calc(769/1610 * 100%);
  border-radius: 0px;
  position: relative;
  overflow: hidden;
  /* clip-path: polygon(150px 25px, calc(100% - 150px) 25px, 100% 0, 100% 100%, calc(100% - 150px)  calc(100% - 25px), 150px calc(100% - 25px), 0 100%, 0 0); */
  display: block;
  width: 100%;
}


/* .cloud39-slider .swiper-slide.swiper-slide-active {
  padding: 24px 0;
} */

.cloud39-slider .swiper-slide:not(.swiper-slide-active) .cloud39-text{
  opacity: 0;
}

.cloud39-content {
  display: block;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cloud39-text {
  padding-right: 40px;
  padding-top: 55px;
}

.cloud39-title {
  margin: 0 0 20px 0;
  font-weight: 300;
}
.cloud39-content .spaces-link {
    margin-top: 37px;
}

.cloud39-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Cloud39 Navigation */
.cloud39-navigation {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.cloud39-navigation .slider-arrows {
  display: flex;
  gap: 15px;
}

.cloud39-navigation .slider-arrows .divider {
  margin: 0 12px;
  display: inline-block;
}

.cloud39-prev,
.cloud39-next {
  padding: 0;
  background: transparent;
  border: 0;
  color: #2D2D2D;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
  font-size: 16px;
  line-height: 22px;
  font-family: var(--font-family-base);
}

.cloud39-navigation .slide-counter {
  color: #000000;
  font-weight: 400;
}

.cloud39-navigation .current-slide {
  /* font-weight: 500; */
}

/* Memories Section */
.memories-section {
  padding: 101px 0;
  background: #EFE7DA;
  position: relative;
  overflow: hidden;
}


.memories-section::before{
  content: '';
  position: absolute;
  top: -66px;
  left: 0;
  width: 1838px;
  height: 697px;
  background: url('../images/memories-bkg.png') no-repeat center top;
  background-size: cover;
  z-index: 0;
}

.header-content h6 {
  color: #2D2D2D;
  padding-left: 4px;
}

.cloud39-navigation-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 250px;
}

.memories-text {
  padding-right: 40px;
}

.memories-label {
  margin: 0 0 20px 0;
}

.memories-title {
  margin: 0;
}

.memories-title .text-italic {
  font-style: italic;
  color: #AC874C;
}

.memories-description {
  display: flex;
  align-items: center;
  height: 100%;
}


/* Celebration, Events, Meeting Sections - Consistent Layout */
.celebration-section,
.events-section,
.meeting-section {
  padding: 0px 0;
  position: relative;
  overflow: hidden;
}

.celebration-right-image{
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  z-index: 0;
  height: 100%;
  pointer-events: none;
}

.celebration-right-image:before, .celebration-right-image:after{
  content:'';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #2D1414 9.44%, #790C1C 100%);
  z-index: 1;
}

.celebration-right-image:before{
mix-blend-mode: multiply; 
}

.celebration-right-image:after{
  background: linear-gradient(90deg, #2D1414 5.28%, rgba(45, 20, 20, 0) 25.69%);

}

.celebration-right-image-inner:before{
  content:'';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/noise.png') no-repeat center top;
  opacity: 0.6;
  background-size: cover;
}
.celebration-right-image img{
  opacity: 0.3;
  width: 900px;
  height: 900px;
  z-index: 0;
  top: -98px;
  right: -230px;
  position: absolute;
  transform: rotate(104deg) scaleY(-1);
}
.home .celebration-section a {
    display: block;
}
.celebration-section {
  background: #8b0000;
  color: white;
}

.events-section .celebration-left-image:before {
  background: linear-gradient(90deg, rgba(215, 228, 240, 0) 52.13%, #D7E4F0 97.73%);
}

.events-section .celebration-right-image:after {
  background: linear-gradient(90deg, #D7E4F0 5.28%, rgba(215, 228, 240, 0) 25.69%);
}

.events-section .celebration-right-image:before {
  background: linear-gradient(90deg, #D7E4F0 9.44%, #AFC0D0 100%);
  z-index: 0;

}
.events-section  .celebration-right-image img{
  mix-blend-mode: soft-light;
}
.events-section {
  background: #f0f8ff;
  color: #333;
}

.meeting-section {
  background: #2c3e50;
  color: white;
}

.meeting-section *{
    color: white;
}

.meeting-section .celebration-left-image:before {
  background: linear-gradient(90deg, rgba(59, 56, 53, 0) 44.24%, #3B3835 95.07%);
}

.meeting-section .celebration-right-image:after {
background: linear-gradient(90deg, #3B3835 5.28%, rgba(59, 56, 53, 0) 25.69%);
}

.meeting-section .celebration-right-image:before {
  background: linear-gradient(90deg, #3B3835 9.44%, #A38968 100%);

}

.celebration-content,
.events-content,
.meeting-content {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  min-height: 900px;
}

/* Images Container */
.home section.celebration-section .container, .home section.events-section .container, .home section.meeting-section .container {
  position: relative;
  z-index: 2;
  max-width: 1313px;
}

.celebration-left-image,
.events-left-image,
.meeting-left-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
}

.celebration-left-image:before{
  content:'';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(45, 20, 20, 0) 52.13%, #2D1414 97.73%);
  z-index: 1;
  pointer-events: none;
}

.celebration-center-image,
.events-center-image,
.meeting-center-image {
  width: 100%;
  max-width: 100%;
  transform: scale(1.1);
  border-radius: 300px 300px 10px 10px;
  overflow: hidden;
  padding-bottom: calc(500/400 * 100%);
}

.celebration-left-image img,
.events-left-image img,
.meeting-left-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.celebration-center-image img,
.events-center-image img,
.meeting-center-image img{
 width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

/* Text Content */
.celebration-text,
.events-text,
.meeting-text {
  padding-left: 24px;
  width: 30%;
  padding-top: 17px;
  max-width: 400px;
}

.celebration-label,
.events-label,
.meeting-label {
  margin: 0 0 0px 0;
  display: inline-flex;
  width: 28%;
  padding-left: 5.5%;
  justify-content: flex-start;
  gap: 40px;
  align-items: center;
  text-transform: uppercase;
}
.celebration-section:not(.events-section) .celebration-content *,
.celebration-section:not(.events-section) .meeting-section .meeting-content *{
  color: #fff;
}

.celebration-text-inner .celebration-description {
    max-width: 330px;
    display: block;
}

.celebration-images {
  max-width: 400px;
  width: 100%;
}
.celebration-title,
.events-title,
.meeting-title {
  margin: 0 0 25px 0;
}

.celebration-title .text-italic,
.events-title .text-italic,
.meeting-title .text-italic {
  color: currentColor;
}

.events-title .text-italic {
  color: currentColor;
}

.celebration-description,
.events-description,
.meeting-description {
margin: 0;
}

.celebration-description p,
.events-description p,
.meeting-description p {
  margin: 0 0 15px 0;
}
.slider-progress {
width: 100%;
height: 4px;
background: #ddd;
position: relative;
overflow: hidden;
border-radius: 2px;
margin-top: 10px;
}

.slider-progress .progress-bar {
width: 0%;
height: 100%;
background: #000; /* đổi màu theo brand */
transition: width 0.3s ease;
}
  html[lang="zh-CN"] .dreams-text-right[data-aos^=fade][data-aos^=fade] {
      max-width: 52.5%;
  }

  html[lang="zh-CN"] .dreams-description {
      max-width: 461px;
  }

  html[lang="zh-CN"] .dreams-text-left[data-aos^=fade][data-aos^=fade] {
      max-width: 51.5%;
  }

  html[lang="zh-HK"] .dreams-text-right[data-aos^=fade][data-aos^=fade] {
      max-width: 52.5%;
  }

  html[lang="zh-HK"] .dreams-description {
      max-width: 461px;
  }

  html[lang="zh-HK"] .dreams-text-left[data-aos^=fade][data-aos^=fade] {
      max-width: 51.5%;
  }
.special-offering .image{
  position: relative;
  padding-top: calc(615/740 * 100%);
  overflow: hidden;
}


.special-offering .image img{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}

.special-offering{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding-right: 37px;
  align-items: center;
  height: 615px;
}
.special-offering__image-area{
  width: 45%;
  padding-right: 12px;
  height: 100%;
}

.special-offering__content{
  width: 55%;
  padding-left: 7%;
}

.thumbnail.list {
    width: 70px;
    margin-left: auto;
    height: 214px;
    display: none;
}

.special-offering__subtitle {
    color: #2D2D2D;
}

.special-offering__title {
    margin: 20px 0;
    /* max-width: 390px; */
}

.special-offering__desc {
    margin-bottom: 18px;
    max-width: 561px;
}

.swiper-wrapper.thumbnails-list {
    flex-wrap: wrap;
    row-gap: 2px;
}

.swiper-wrapper.thumbnails-list .special-offering__thumb {
    min-width: 70px;
    height: 70px !important;
}

.special-offering .thumbnails-list .image {
    border-radius: 5px;
    padding-top: 70px;
    cursor: pointer;
}

.special-offering__image-area .image {
    border-radius: 0 10px 10px 0;
    height: 100%;
}

.special-offering__image-area * {
    height: 100%;
}

.special-offering .thumbnails-list .special-offering__thumb:not(.swiper-slide-thumb-active) .image::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.3;
  z-index: 1;
}
.celebration-list .event-link {
    position: static;
    opacity: 1;
    transform: none;
    display: inline-block;
    margin-top: 40px;
    pointer-events: all;
}
.home .celebration-section:not(.events-section) .link {
    border-color: rgba(255, 255, 255, 0.1);
}

.home  .celebration-section .link-items-wrapper .link {
    margin-top: 16px;
    display: inline-block;
}
.events-section .event-link a {
    color: var(--color-text);
}
.cloud39-slider.swiper-fade .swiper-slide:not(.swiper-slide-active) {
    visibility: hidden;
}

.card-btn-view {
    border: 1px solid #2d2d2d4d;
    font-weight: 400;
    height: 120px;
    width: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 1s;
    cursor: pointer;
    z-index: 2;
}

.aesthetics-slider .gallery-item:hover .card-btn-view{
    visibility: visible;
    opacity: 1;
    transition: all 1s;
}

.special-offering .link-items-wrapper a {
    display: inline-block;
    margin-top: 16px;
}
@media (min-width: 992px) and (max-width: 1024px){
  .dreams-text-left[data-aos^=fade][data-aos^=fade] {
    width: 80%;
}

.dreams-text-right[data-aos^=fade][data-aos^=fade] {
    width: 64%;
}
html[lang="zh-CN"] .dreams-text-right[data-aos^=fade][data-aos^=fade], html[lang="zh-ZH"] .dreams-text-right[data-aos^=fade][data-aos^=fade] {
    max-width: 55.5%;
}
.dreams-text-description {
    max-width: 477px;
}
.dreams-cloud-2 {
    left: -9%;
    bottom: 15%;
}

.dreams-cloud-3 {
    left: 58%;
    bottom: 17%;
}
.celebration-text, .events-text, .meeting-text {
    padding-left: 0;
}

.special-offering__content {
    padding-left: 20px;
}
}

@media (min-width: 768px) and (max-width: 991px){
  .dreams-text-left[data-aos^=fade][data-aos^=fade] {
    width: 71%;
}

.dreams-text-right[data-aos^=fade][data-aos^=fade] {
    width: 61%;
}
.dreams-cloud-2 {
    left: -28%;
}

.dreams-cloud-3 {
    left: 62%;
}
.celebration-text, .events-text, .meeting-text {
    padding-left: 0;
}
}
@media (min-width: 768px){
  .cloud39-text {
      max-width: calc(100% - 250px);
  }

  .gallery-item:hover {
    transform: translateY(-10px) rotate(7deg);
    z-index: 10;
  }
  .bg-slide.active {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0);
  }

  .special-offering__content{
    max-height: calc(100% - 70px);
    overflow-y: auto;
}
}
@media (min-width: 1440px){
  .cloud39-slider .cloud39-image{
    padding-bottom: 715px;
  }

  .gallery-item {
      width: 325px
  }
}
/* Responsive Design */
@media (min-width: 1600px){
    .home section .container {
        max-width: 1650px;
    }
    .home section.celebration-section .container, .home section.events-section .container, .home section.meeting-section .container {
      max-width: 1170px;
  }

  .home section.aesthetics-section .container, .home section.cloud39-header-section .container, .home section.memories-section .container {
      max-width: 1170px;
  }

  .celebration-label, .events-label, .meeting-label {
    padding-left: 0;
    width: 22%;
  }

  .dreams-text-left[data-aos^=fade][data-aos^=fade] {
      max-width: 57.5%;
  }

  .dreams-text-right[data-aos^=fade][data-aos^=fade] {
      max-width: 61.5%;
  }
  html[lang="zh-CN"] .dreams-text-right[data-aos^=fade][data-aos^=fade] {
      max-width: 52.5%;
  }

  html[lang="zh-CN"] .dreams-description {
      max-width: 461px;
  }

  html[lang="zh-CN"] .dreams-text-left[data-aos^=fade][data-aos^=fade] {
      max-width: 51.5%;
  }

  html[lang="zh-HK"] .dreams-text-right[data-aos^=fade][data-aos^=fade] {
      max-width: 52.5%;
  }

  html[lang="zh-HK"] .dreams-description {
      max-width: 461px;
  }

  html[lang="zh-HK"] .dreams-text-left[data-aos^=fade][data-aos^=fade] {
      max-width: 51.5%;
  }

  .dreams-text-description {
      max-width: 40.2%;
  }

  .dreams-description {
      max-width: 440px;
  }

  .special-offering__image-area {
      width: 40%;
  }

  .special-offering__content {
      width: 47%;
      padding-left: 9.3%;
  }

  .special-offering__desc {
      max-width: 680px;
  }

  .celebration-text, .events-text, .meeting-text {
    padding-left: 0;
    width: 32%;
}
}
@media (max-width: 1024px){
    .celebration-images {
        max-width: 330px;
    }

    .celebration-label, .events-label, .meeting-label{
        padding-left: 0;
    }
}

@media (max-width: 991px){
  .thumbnail.list {
    display: none;
}

.special-offering__content {
    width: 55%;
    padding-left: 30px;
}

}

@media (max-width: 767px){
  .hero-background::after{
      width: 2107px;
      height: 860px;
      left: 50%;
      bottom: -15%;
}
  .scroll-explore-section {
    margin-top: -75px;
}
  section {
      overflow: hidden;
  }

  .dreams-text-description {
      max-width: 100%;
      padding-top: 22px;
      padding-left: 0;
  }

  .dreams-description {
      max-width: 100%;
      text-align: center;
  }
  .dreams-section .dreams-text-left,
  .dreams-section .dreams-text-right {
      text-align: center !important;
      padding-right: 20px  !important;
      padding-left: 20px !important;
      max-width: 100%  !important;
  }
    .celebration-content, .events-content, .meeting-content{
        flex-wrap: wrap;
        text-align: center;
        gap: 27px 0;
        padding: 57px 0;
    }
    .celebration-label, .events-label, .meeting-label,
    .celebration-text, .events-text, .meeting-text{
        width: 100%;
        justify-content: center;
        flex-direction: column-reverse;
        gap: 10px;
        padding: 0px 0 0;
    }
  .memories-section::before {
      width: 100%; 
      background: url(../images/memories-bkg-mb.png) no-repeat right top;
      left: 0;
      top: 0px;
  }

  .memories-text {
      padding-right: 0px;
  }
    .aesthetics-text, .header-content-text {
        width: 100%;
    }

    .aesthetics-header-content, .header-content {
        flex-wrap: wrap;
    }

    .aesthetics-description, .header-content-description {
        width: 100%;
    }

    .aesthetics-description .description-text, .header-content-description .description-text {
        padding-top: 20px;
    }

    .celebration-left-image, .events-left-image, .meeting-left-image {
        display: none;
    }

    .celebration-right-image {
        width: 100%;
    }

    .celebration-right-image img {
        right: -59%;
        top: -26px;
    }

    .celebration-images {
        margin: 0 auto;
    }

    .meeting-content .text, .celebration-content .text, .events-content .text{
        width: 100%;
}

    .cloud39-navigation-inner {
        width: 100%;
    }

    .cloud39-navigation {
        position: static;
        transform: none;
        margin-top: 20px;
        padding: 0 30px;
    }
    .celebration-text-inner {
        max-width: 100%;
    }

    .dreams-section {
      padding: 74px 0;
  }

  .aesthetics-section {
      padding: 57px 0 0;
  }

  .home section .header-content h6 {
      padding-left: 0;
      margin: 0 0 11px 0;
  }

  .header-content-title {
      line-height: 1.26666666667;
  }

  .aesthetics-slider .swiper-slide {
      max-width: 100%;
  }

  .aesthetics-slider-wrapper {
      padding-top: 0;
      padding-bottom: 67px;
  }

.aesthetics-slider.owl-carousel .owl-stage {
    padding-top: 27px;
}

  .slider-navigation {
      margin-top: 19px;
  }

  .slider-navigation {
      padding: 0;
  }

  .aesthetics-section .slide-counter {
      width: calc(100% - 60px);
      font-size: 25px;
      line-height: 32px;
  }

  .slider-pagination.swiper-pagination-progressbar.swiper-pagination-horizontal {
      width: calc(100% + 120px);
  }
  .cloud39-slider-container {
      margin-top: 9px;
  }

  .cloud39-slider .cloud39-image {
      padding-bottom: calc(808 / 1610 * 100%);
  }
  .cloud39-text {
      padding-top: 45px;
      padding-right: 0;
  }

  .cloud39-title {
      margin: 0 0 12px 0;
  }

  .cloud39-header-section {
      padding-bottom: 96px;
  }

  .memories-section {
      padding: 77px 0;
  }

  .memories-description.header-content-description .description-text {
      padding-top: 29px;
  }
  .celebration-title, .events-title, .meeting-title {
      margin: 0 0 21px 0;
  }

  .bg-slide {
    filter: blur(0px);
    transform: translateX(0px);
  }

  .bg-slide.show {
      opacity: 1;
  }
.special-offering__image-area {
    width: 100%;
    padding-right: 0;
    order: 2;
}

.special-offering {
    padding: 0;
    height: auto;
}

.special-offering__content {
    width: 100%;
    padding: 70px 30px 40px;
    order: 1;
}

.special-offering__image-area * {
    height: auto;
}

.special-offering__image-area .image {
    height: auto;
    border-radius: 0;
}

}

@media (max-width: 480px){
  .gallery-item{
  width: auto;
}
.aesthetics-slider{max-width: 222px;margin: auto;}

.aesthetics-slider.owl-carousel .owl-stage-outer {
    overflow: visible;
}
  .dreams-building img {
      max-width: 259px;
  }
}
