@font-face {
  font-family: "Poppins";
  src: url(../Fonts/Poppins/Poppins-Regular.ttf);
}
@font-face {
  font-family: "Poppins Black";
  src: url(../Fonts/Poppins/Poppins-Black.ttf);
}

@font-face {
  font-family: "Lora";
  src: url(../Fonts/Lora/Lora-VariableFont_wght.ttf);
}

@font-face {
  font-family: "Alkatra";
  src: url(../Fonts/Alkatra/Alkatra-VariableFont_wght.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins";
  text-decoration: none;
}

.topSec {
  width: 98%;
  margin: 5rem auto 0 auto !important;
  border-radius: 20px;
  margin: 0 auto;
  background-color: oklch(0.64 0.65 220 / 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  overflow: hidden;
}

.topLeft {
  width: 40%;
}

.topRight {
  width: 45%;
}

/* Edit mode CSS */
#saveChangesBtn {
  margin-left: 80vw;
  font-size: 1.8vw !important;
  position: fixed;
  z-index: 1000;
}

.editable-input {
  background-color: rgba(255, 255, 255, 0) !important;
  border: 1px solid rgb(255, 13, 13) !important;
  padding: 2px;
}

.topText {
  font-family: "Alkatra";
  font-size: var(--font-size-base);
  text-transform: uppercase;
  margin-top: var(--margin-md);
}

.headerText {
  font-family: "Poppins Light";
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xl);
  margin-top: var(--margin-xs);
}
.subtext {
  font-family: "Poppins Light";
  width: 75%;
  font-size: var(--font-size-base);
  margin-top: 1.3vw;
}

#topBookNow-btn {
  margin-top: var(--margin-xl);
  width: 25%;
}

.bpIcon {
  height: 350px;
  width: auto;
  margin: auto !important;
}
.carousel-container {
  position: relative;
  width: 420px; /* smaller width */
  height: 280px;
  margin: 60px auto;
  perspective: 1000px;
}

.card-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 60%; /* smaller size */
  transform: translateX(-50%) scale(0.8);
  transition: all 0.7s ease;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  opacity: 0;
  z-index: 0;
}

/* Center (active) */
.card-img.active {
  opacity: 1;
  z-index: 3;
  transform: translateX(-50%) scale(1);
}

/* Peeking left */
.card-img.behind-left {
  opacity: 0.8;
  z-index: 2;
  transform: translateX(-80%) rotate(-6deg) scale(0.85);
}

/* Peeking right */
.card-img.behind-right {
  opacity: 0.8;
  z-index: 1;
  transform: translateX(-20%) rotate(6deg) scale(0.85);
}

/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 5;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
  left: -40px; /* moves button outside image stack */
}

.carousel-btn.next {
  right: -40px;
}

.middle-container {
  margin-top: 2rem !important;
  padding: var(--padding-xl);
  border-radius: 20px;
  width: 98%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.embed-responsive {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: auto;
}

.embed-responsive video {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.videoTitle,
.bottom-header {
  font-size: var(--font-size-xl);
  font-family: "Alkatra";
}

.bottom-header {
  text-align: center;
}

.videoDescription {
  font-size: var(--font-size-md);
  font-family: "Poppins";
  text-align: justify;
  margin-top: var(--margin-lg);
}
.videoText-container {
  width: 90%;
  margin-top: 0;
}

.middle-btn-container a {
  margin-top: var(--margin-md);
}

.bottom-section {
  width: 98%;
  background-color: #f5f5f5;
  margin-top: 2rem !important;
  border-radius: 20px;
  margin: 0 auto;
  padding: 2rem;
}

.bottom-text-container {
  width: 75%;
  margin: 0 auto;
}

.bottom-subtext {
  font-family: "Poppins";
  font-size: var(--font-size-md);
  text-align: center;
  margin-top: var(--margin-sm);
}

.swiper {
  width: 90%;
  height: auto;
  margin-top: var(--margin-sm);
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1.33/1;
}

.rating-container {
  background-color: oklch(0.64 0.65 220 / 0.1) !important;
  margin-top: 2rem !important;
  padding: var(--padding-xl);
  border-radius: 20px;
  width: 98%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7rem;
}

.graph-header {
  display: flex;
  gap: 0.3rem;
}

.graph-header i,
.graph-header h6 {
  font-size: var(--font-size-lg);
  color: #0d6dfc;
}

.graph-header h6 {
  margin-top: 0.2rem;
  font-weight: var(--font-weight-bold);
}

.ratings-card {
  width: 20rem !important;
  height: 30rem !important;
  border: none !important;
  background-color: oklch(1 0 0 / 0.4) !important;
}

.rating-categories {
  margin-top: var(--margin-xl);
}

.progress-bar {
  background-color: #14d2e5;
  border-radius: 8px;
}

.rating-row {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.rating-label {
  flex: 1;
  font-size: 18px;
  color: #333;
}

.rating-bar {
  flex: 2;
  margin: 0 8px;
}

.progress {
  height: 12px;
  border-radius: 8px;
  background: #d9d9d9;
}

.rating-value {
  font-weight: bold;
  font-size: 14px;
  color: #333;
}

.overall-rating {
  margin-top: var(--margin-xl);
}

.overall-rating-label,
.overall-rating-stars {
  text-align: center;
}

.overall-rating-stars {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 220px;
  margin: 5px auto;
}

.star {
  font-size: 30px !important;
  width: 25%;
  text-align: center;
}

.overall-rating-label {
  font-size: var(--font-size-md);
}

.overall-rating-value {
  font-weight: var(--font-weight-bold);
}

.overall-rating-stars i {
  color: #fdcc0d;
  font-size: var(--font-size-xl);
}

.bookNow-button-container {
  text-align: center;
  margin-top: var(--margin-lg);
}

.ctaContainer {
  margin-top: var(--margin-md) !important;
  padding: var(--padding-xl);
  width: 98%;
  margin: 0 auto;
}

.servicesIconContainer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  row-gap: 2.5rem;
  margin-top: var(--margin-lg) !important;
  width: 80%;
  margin: auto;
}

.resortContainer,
.eventContainer,
.hotelContainer {
  width: 90%;
  height: 20rem;
  padding: 1.5rem;
  margin: auto;
  text-align: center;
  background-color: #f5f5f5;
  border-radius: 20px;
}

.numbering {
  font-size: var(--font-size-xxl);
  font-family: "Poppins Black";
  color: #0c8ce8;
  text-align: left;
  margin-top: 1rem;
}

.resortIcon,
.eventIcon,
.hotelIcon {
  width: 8vw;
  margin: auto;
  margin-top: -3.5rem !important;
}

.resortIconTitle,
.eventIconTitle,
.hotelIconTitle {
  font-weight: bold;
  text-align: center;
  font-family: "Poppins";
  font-size: var(--font-size-md);
  margin-top: 0.5vw;
}

.resortIconDescription,
.eventIconDescription,
.hotelIconDescription {
  text-align: justify;
  text-align-last: center;
  font-size: var(--font-size-base);
  margin-top: 1vw;
}

.firstParagraphtextContainer,
.topTextContainer,
.videoTextContainer {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.locationText-container {
  width: 50%;
  margin-top: 0;
}

.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.popup-container.show {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.popup-image {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.close-popup {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
  z-index: 10000;
}

@media only screen and (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
  .topSec {
    flex-direction: column;
  }

  .topLeft {
    width: 100%;
    text-align: center;
    margin-top: var(--margin-md);
  }

  .topText {
    font-family: "Alkatra";
    font-size: var(--font-size-md);
    text-transform: uppercase;
    margin-top: var(--font-size-md);
  }

  .headerText {
    font-family: "Poppins Light";
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
  }

  .subtext {
    font-family: "Poppins Light";
    width: 100%;
    font-size: var(--font-size-lg);
    margin-top: 1rem;
  }

  #topBookNow-btn {
    margin-top: var(--margin-xl);
    font-size: var(--font-size-md);
    width: 40%;
  }

  .topRight {
    width: 100%;
    margin-top: var(--margin-md);
  }

  .carousel-container {
    position: relative;
    width: 50vw;
    height: 48vw;
    margin: 60px auto;
    perspective: 1000px;
  }

  .card-stack {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .card-img {
    position: absolute;
    top: 0;
    left: 50%;
    width: 30%; /* smaller size */
    transform: translateX(-50%) scale(0.8);
    transition: all 0.7s ease;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    opacity: 0;
    z-index: 0;
  }

  /* Center (active) */
  .card-img.active {
    opacity: 1;
    z-index: 3;
    transform: translateX(-50%) scale(1);
  }

  /* Peeking left */
  .card-img.behind-left {
    opacity: 0.8;
    z-index: 2;
    transform: translateX(-80%) rotate(-6deg) scale(0.85);
  }

  /* Peeking right */
  .card-img.behind-right {
    opacity: 0.8;
    z-index: 1;
    transform: translateX(-20%) rotate(6deg) scale(0.85);
  }

  /* Buttons */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 3rem;
    padding: 1px 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 5;
  }

  .carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }

  .carousel-btn.prev {
    left: -40px; /* moves button outside image stack */
    height: 5rem;
  }

  .carousel-btn.next {
    right: -40px;
    height: 5rem;
  }

  .middle-container {
    flex-direction: column;
    padding: var(--padding-md);
    gap: 2rem;
  }

  .videoText-container,
  .bottom-text-container {
    width: 100%;
    text-align: center;
  }

  .videoTitle,
  .bottom-header {
    font-size: var(--font-size-xl);
    text-align: center !important;
  }

  .videoDescription {
    font-size: var(--font-size-lg);
    margin-top: var(--margin-md);
  }

  .middle-btn-container a {
    margin-top: var(--margin-xl);
    font-size: var(--font-size-md);
    width: 40%;
  }

  .bottom-section {
    padding: var(--padding-md);
    height: 50vh;
  }

  .bottom-text-container {
    margin-top: var(--margin-sm);
  }
  .bottom-subtext {
    font-size: var(--font-size-lg);
    margin-top: var(--margin-md);
    text-align: justify;
  }

  .swiper {
    margin-top: var(--margin-xl);
  }
  .rating-container {
    flex-direction: column-reverse;
    margin-top: 5rem !important;
    gap: 2rem;
  }

  .star {
    width: 20%;
  }

  .overall-rating-stars i {
    color: #fdcc0d;
    font-size: var(--font-size-xl) !important;
  }

  .graph-header {
    display: flex;
    gap: 0.3rem;
  }

  .graph-header i,
  .graph-header h6 {
    font-size: var(--font-size-lg);
    color: #0d6dfc;
  }

  .graph-header h6 {
    margin-top: 0.3rem;
    font-weight: var(--font-weight-bold);
  }

  .ratings-card {
    width: 22rem !important;
    height: 26rem !important;
    border: none !important;
    background-color: oklch(1 0 0 / 0.4) !important;
  }

  .rating-categories {
    margin-top: var(--margin-xl);
  }

  .progress-bar {
    background-color: #14d2e5;
    border-radius: 8px;
  }

  .rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
  }

  .rating-label {
    flex: 1;
    font-size: 20px;
    color: #333;
  }

  .rating-bar {
    flex: 2;
    margin: 0 8px;
  }

  .progress {
    height: 12px;
    border-radius: 8px;
    background: #d9d9d9;
  }

  .rating-value {
    font-weight: bold;
    font-size: 14px;
    color: #333;
  }

  .overall-rating {
    margin-top: var(--margin-md);
  }

  .overall-rating-label,
  .overall-rating-stars {
    text-align: center;
  }

  .overall-rating-label {
    font-size: var(--font-size-lg);
  }

  .overall-rating-value {
    font-weight: var(--font-weight-bold);
  }

  .overall-rating-stars i {
    color: #fdcc0d;
    font-size: var(--font-size-xl);
  }

  .locationText-container {
    width: 100%;
    text-align: center;
  }

  .location-container {
    flex-direction: column;
    height: 80vh !important;
    padding-top: var(--padding-md) !important;
    gap: 2rem;
  }

  #map {
    height: 400px;
    width: 100%;
    margin: 0 auto !important;
  }

  .leaflet-popup-content-wrapper {
    padding: 6px;
  }

  .leaflet-marker-pane img {
    width: 150px !important;
    height: auto !important;
  }

  .ctaContainer {
    margin-top: var(--margin-md) !important;
    padding: var(--padding-xl);
    width: 100%;
    margin: 0 auto;
  }

  .resortContainer,
  .eventContainer,
  .hotelContainer {
    width: 100%;
    height: auto;
    padding: 1.5rem;
    margin: auto;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 20px;
  }

  .numbering {
    font-size: var(--font-size-xl);
    font-family: "Poppins Black";
    color: #0c8ce8;
    text-align: left;
    margin-top: 0.5rem;
  }

  .resortIcon,
  .eventIcon,
  .hotelIcon {
    width: 4.5rem;
    margin: auto;
    margin-top: -2rem !important;
  }

  .resortIconTitle,
  .eventIconTitle,
  .hotelIconTitle {
    font-weight: bold;
    text-align: center;
    font-family: "Poppins";
    font-size: var(--font-size-md);
    margin-top: 1rem;
  }

  .resortIconDescription,
  .eventIconDescription,
  .hotelIconDescription {
    text-align: justify;
    text-align-last: center;
    font-size: var(--font-size-base);
    margin-top: 1vw;
  }
}

/* Tablet Landscape */
@media only screen and (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .topSec {
    gap: 3rem;
  }
  .topLeft {
    width: 80%;
    text-align: center;
  }

  .topText {
    font-family: "Alkatra";
    font-size: 1.5vw;
    text-transform: uppercase;
  }

  .headerText {
    font-family: "Poppins Light";
    font-weight: var(--font-weight-bold);
    font-size: 2.5vw;
    margin-top: 1rem;
  }

  .subtext {
    font-family: "Poppins Light";
    width: 100%;
    font-size: 2vw;
    margin-top: 1rem;
  }

  #topBookNow-btn {
    font-size: var(--font-size-md);
    width: 40%;
  }

  .topRight {
    width: 100%;
    margin-top: var(--margin-md);
  }

  .carousel-container {
    position: relative;
    width: 30vw;
    height: 28vw;
    margin: 60px auto;
    perspective: 1000px;
  }

  .card-stack {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .card-img {
    position: absolute;
    top: 0;
    left: 50%;
    width: 30%; /* smaller size */
    transform: translateX(-50%) scale(0.8);
    transition: all 0.7s ease;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    opacity: 0;
    z-index: 0;
  }

  /* Center (active) */
  .card-img.active {
    opacity: 1;
    z-index: 3;
    transform: translateX(-50%) scale(1);
  }

  /* Peeking left */
  .card-img.behind-left {
    opacity: 0.8;
    z-index: 2;
    transform: translateX(-80%) rotate(-6deg) scale(0.85);
  }

  /* Peeking right */
  .card-img.behind-right {
    opacity: 0.8;
    z-index: 1;
    transform: translateX(-20%) rotate(6deg) scale(0.85);
  }

  /* Buttons */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 3rem;
    padding: 1px 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 5;
  }

  .carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }

  .carousel-btn.prev {
    left: -40px; /* moves button outside image stack */
    height: 5rem;
  }

  .carousel-btn.next {
    right: -40px;
    height: 5rem;
  }

  .middle-container {
    flex-direction: column;
    padding: var(--padding-md);
    gap: 2rem;
  }

  .videoText-container,
  .bottom-text-container {
    width: 100%;
    text-align: center;
  }

  .videoTitle,
  .bottom-header {
    font-size: var(--font-size-xl);
    text-align: center !important;
  }

  .videoDescription {
    font-size: var(--font-size-lg);
    margin-top: var(--margin-md);
  }

  .middle-btn-container a {
    margin-top: var(--margin-xl);
    font-size: var(--font-size-md);
    width: 40%;
  }

  .bottom-section {
    padding: var(--padding-md);
    height: 50vh;
  }

  .bottom-text-container {
    margin-top: var(--margin-sm);
  }
  .bottom-subtext {
    font-size: var(--font-size-lg);
    margin-top: var(--margin-md);
    text-align: justify;
  }

  .swiper {
    margin-top: var(--margin-xl);
  }
  .rating-container {
    margin-top: 20rem !important;
    gap: 2rem;
  }

  .star {
    width: 20%;
  }

  .overall-rating-stars i {
    color: #fdcc0d;
    font-size: var(--font-size-xl) !important;
  }

  .graph-header {
    display: flex;
    gap: 0.3rem;
  }

  .graph-header i,
  .graph-header h6 {
    font-size: var(--font-size-lg);
    color: #0d6dfc;
  }

  .graph-header h6 {
    margin-top: 0.3rem;
    font-weight: var(--font-weight-bold);
  }

  .ratings-card {
    width: 22rem !important;
    height: 26rem !important;
    border: none !important;
    background-color: oklch(1 0 0 / 0.4) !important;
  }

  .rating-categories {
    margin-top: var(--margin-xl);
  }

  .progress-bar {
    background-color: #14d2e5;
    border-radius: 8px;
  }

  .rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
  }

  .rating-label {
    flex: 1;
    font-size: 20px;
    color: #333;
  }

  .rating-bar {
    flex: 2;
    margin: 0 8px;
  }

  .progress {
    height: 12px;
    border-radius: 8px;
    background: #d9d9d9;
  }

  .rating-value {
    font-weight: bold;
    font-size: 14px;
    color: #333;
  }

  .overall-rating {
    margin-top: var(--margin-md);
  }

  .overall-rating-label,
  .overall-rating-stars {
    text-align: center;
  }

  .overall-rating-label {
    font-size: var(--font-size-lg);
  }

  .overall-rating-value {
    font-weight: var(--font-weight-bold);
  }

  .overall-rating-stars i {
    color: #fdcc0d;
    font-size: var(--font-size-xl);
  }

  .locationText-container {
    width: 100%;
    text-align: center;
  }

  .location-container {
    flex-direction: column;
    height: 90vh !important;
    padding-top: var(--padding-md) !important;
    gap: 2rem;
  }

  #map {
    height: 400px;
    width: 100%;
    margin: 0 auto !important;
  }

  .leaflet-popup-content-wrapper {
    padding: 6px;
  }

  .leaflet-marker-pane img {
    width: 150px !important;
    height: auto !important;
  }
}

/* Tablet portrait only */
@media only screen and (min-width: 600px) and (max-width: 768px) {
  .topSec {
    flex-direction: column;
  }

  .topLeft {
    width: 100%;
    text-align: center;
    margin-top: var(--margin-md);
  }

  .topText {
    font-family: "Alkatra";
    font-size: var(--font-size-md);
    text-transform: uppercase;
    margin-top: 8rem;
  }

  .headerText {
    font-family: "Poppins Light";
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    margin-top: 1rem;
  }

  .subtext {
    font-family: "Poppins Light";
    width: 100%;
    font-size: var(--font-size-lg);
    margin-top: 1rem;
  }

  #topBookNow-btn {
    margin-top: var(--margin-xl);
    font-size: var(--font-size-md);
    width: 40%;
  }

  .topRight {
    width: 100%;
    margin-top: var(--margin-md);
  }

  .carousel-container {
    position: relative;
    width: 50vw;
    height: 48vw;
    margin: 60px auto;
    perspective: 1000px;
  }

  .card-stack {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .card-img {
    position: absolute;
    top: 0;
    left: 50%;
    width: 30%; /* smaller size */
    transform: translateX(-50%) scale(0.8);
    transition: all 0.7s ease;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    opacity: 0;
    z-index: 0;
  }

  /* Center (active) */
  .card-img.active {
    opacity: 1;
    z-index: 3;
    transform: translateX(-50%) scale(1);
  }

  /* Peeking left */
  .card-img.behind-left {
    opacity: 0.8;
    z-index: 2;
    transform: translateX(-80%) rotate(-6deg) scale(0.85);
  }

  /* Peeking right */
  .card-img.behind-right {
    opacity: 0.8;
    z-index: 1;
    transform: translateX(-20%) rotate(6deg) scale(0.85);
  }

  /* Buttons */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 3rem;
    padding: 1px 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 5;
  }

  .carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }

  .carousel-btn.prev {
    left: -40px; /* moves button outside image stack */
    height: 5rem;
  }

  .carousel-btn.next {
    right: -40px;
    height: 5rem;
  }

  .middle-container {
    flex-direction: column;
    padding: var(--padding-md);
    gap: 2rem;
  }

  .videoText-container,
  .bottom-text-container {
    width: 100%;
    text-align: center;
  }

  .videoTitle,
  .bottom-header {
    font-size: var(--font-size-xl);
    text-align: center !important;
  }

  .videoDescription {
    font-size: var(--font-size-lg);
    margin-top: var(--margin-md);
  }

  .middle-btn-container a {
    margin-top: var(--margin-xl);
    font-size: var(--font-size-md);
    width: 40%;
  }

  .bottom-section {
    padding: var(--padding-md);
    height: 50vh;
  }

  .bottom-text-container {
    margin-top: var(--margin-sm);
  }
  .bottom-subtext {
    font-size: var(--font-size-lg);
    margin-top: var(--margin-md);
    text-align: justify;
  }

  .swiper {
    margin-top: var(--margin-xl);
  }
  .rating-container {
    flex-direction: column-reverse;
    margin-top: 5rem !important;
    gap: 2rem;
  }

  .star {
    width: 20%;
  }

  .overall-rating-stars i {
    color: #fdcc0d;
    font-size: var(--font-size-xl) !important;
  }

  .graph-header {
    display: flex;
    gap: 0.3rem;
  }

  .graph-header i,
  .graph-header h6 {
    font-size: var(--font-size-lg);
    color: #0d6dfc;
  }

  .graph-header h6 {
    margin-top: 0.3rem;
    font-weight: var(--font-weight-bold);
  }

  .ratings-card {
    width: 22rem !important;
    height: 26rem !important;
    border: none !important;
    background-color: oklch(1 0 0 / 0.4) !important;
  }

  .rating-categories {
    margin-top: var(--margin-xl);
  }

  .progress-bar {
    background-color: #14d2e5;
    border-radius: 8px;
  }

  .rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
  }

  .rating-label {
    flex: 1;
    font-size: 20px;
    color: #333;
  }

  .rating-bar {
    flex: 2;
    margin: 0 8px;
  }

  .progress {
    height: 12px;
    border-radius: 8px;
    background: #d9d9d9;
  }

  .rating-value {
    font-weight: bold;
    font-size: 14px;
    color: #333;
  }

  .overall-rating {
    margin-top: var(--margin-md);
  }

  .overall-rating-label,
  .overall-rating-stars {
    text-align: center;
  }

  .overall-rating-label {
    font-size: var(--font-size-lg);
  }

  .overall-rating-value {
    font-weight: var(--font-weight-bold);
  }

  .overall-rating-stars i {
    color: #fdcc0d;
    font-size: var(--font-size-xl);
  }

  .locationText-container {
    width: 100%;
    text-align: center;
  }

  .location-container {
    flex-direction: column;
    height: 80vh !important;
    padding-top: var(--padding-md) !important;
    gap: 2rem;
  }

  #map {
    height: 400px;
    width: 100%;
    margin: 0 auto !important;
  }

  .leaflet-popup-content-wrapper {
    padding: 6px;
  }

  .leaflet-marker-pane img {
    width: 150px !important;
    height: auto !important;
  }

  .servicesIconContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
  }

  .ctaContainer {
    margin-top: var(--margin-md) !important;
    padding: var(--padding-xl);
    width: 100%;
    margin: 0 auto;
  }

  .resortContainer,
  .eventContainer,
  .hotelContainer {
    width: 90%;
    height: auto;
    padding: 1.5rem;
    margin: auto;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 20px;
  }

  .numbering {
    font-size: var(--font-size-xl);
    font-family: "Poppins Black";
    color: #0c8ce8;
    text-align: left;
    margin-top: 0.5rem;
  }

  .resortIcon,
  .eventIcon,
  .hotelIcon {
    width: 4.5rem;
    margin: auto;
    margin-top: -2rem !important;
  }

  .resortIconTitle,
  .eventIconTitle,
  .hotelIconTitle {
    font-weight: bold;
    text-align: center;
    font-family: "Poppins";
    font-size: var(--font-size-base);
    margin-top: 1rem;
  }

  .resortIconDescription,
  .eventIconDescription,
  .hotelIconDescription {
    text-align: justify;
    text-align-last: center;
    font-size: var(--font-size-sm);
    margin-top: 1vw;
  }
}

/* Phone size */
@media screen and (max-width: 599px) {
  .topSec {
    flex-direction: column;
    height: 90vh;
  }

  .topLeft {
    width: 100%;
    text-align: center;
    margin-top: var(--margin-md);
  }

  .topText {
    font-family: "Alkatra";
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    margin-top: var(--margin-md);
  }

  .headerText {
    font-family: "Poppins Light";
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-lg);
    margin-top: 1rem;
  }

  .subtext {
    font-family: "Poppins Light";
    width: 100%;
    font-size: var(--font-size-base);
    margin-top: 1rem;
  }

  #topBookNow-btn {
    margin-top: var(--margin-sm);
    font-size: var(--font-size-sm);
    width: 40%;
  }

  .topRight {
    width: 100%;
  }

  .carousel-container {
    position: relative;
    width: 220px; /* smaller width */
    height: 180px;
    margin: 60px auto;
    perspective: 1000px;
  }

  .card-stack {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .card-img {
    position: absolute;
    top: 0;
    left: 50%;
    width: 30%; /* smaller size */
    transform: translateX(-50%) scale(0.8);
    transition: all 0.7s ease;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    opacity: 0;
    z-index: 0;
  }

  /* Center (active) */
  .card-img.active {
    opacity: 1;
    z-index: 3;
    transform: translateX(-50%) scale(1);
  }

  /* Peeking left */
  .card-img.behind-left {
    opacity: 0.8;
    z-index: 2;
    transform: translateX(-80%) rotate(-6deg) scale(0.85);
  }

  /* Peeking right */
  .card-img.behind-right {
    opacity: 0.8;
    z-index: 1;
    transform: translateX(-20%) rotate(6deg) scale(0.85);
  }

  /* Buttons */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1px 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 5;
  }

  .carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }

  .carousel-btn.prev {
    left: -40px; /* moves button outside image stack */
    height: 3rem;
  }

  .carousel-btn.next {
    right: -40px;
    height: 3rem;
  }

  .middle-container {
    flex-direction: column;
    padding: var(--padding-md);
    gap: 2rem;
  }

  .videoText-container,
  .bottom-text-container {
    width: 100%;
    text-align: center;
  }

  .videoTitle,
  .bottom-header {
    font-size: var(--font-size-lg);
  }

  .videoDescription {
    font-size: var(--font-size-sm);
    margin-top: var(--margin-md);
  }

  .middle-btn-container a {
    margin-top: var(--margin-sm);
    font-size: var(--font-size-sm);
  }

  .bottom-section {
    padding: var(--padding-md);
    height: 70vh;
  }

  .bottom-text-container {
    margin-top: var(--margin-sm);
  }
  .bottom-subtext {
    font-size: var(--font-size-sm);
    margin-top: var(--margin-md);
    text-align: justify;
  }

  .rating-container {
    flex-direction: column-reverse;
    margin-top: 2rem !important;
    gap: 2rem;
  }

  .graph-header {
    display: flex;
    gap: 0.3rem;
  }

  .graph-header i,
  .graph-header h6 {
    font-size: var(--font-size-md);
    color: #0d6dfc;
  }

  .graph-header h6 {
    margin-top: 0.2rem;
    font-weight: var(--font-weight-bold);
  }

  .ratings-card {
    width: 18rem !important;
    height: 22rem !important;
    border: none !important;
    background-color: oklch(1 0 0 / 0.4) !important;
  }

  .rating-categories {
    margin-top: var(--margin-xl);
  }

  .star {
    width: 20%;
  }

  .overall-rating-stars i {
    color: #fdcc0d;
    font-size: var(--font-size-md) !important;
  }

  .progress-bar {
    background-color: #14d2e5;
    border-radius: 8px;
  }

  .rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
  }

  .rating-label {
    flex: 1;
    font-size: 16px;
    color: #333;
  }

  .rating-bar {
    flex: 2;
    margin: 0 8px;
  }

  .progress {
    height: 12px;
    border-radius: 8px;
    background: #d9d9d9;
  }

  .rating-value {
    font-weight: bold;
    font-size: 14px;
    color: #333;
  }

  .overall-rating {
    margin-top: var(--margin-md);
  }

  .overall-rating-label,
  .overall-rating-stars {
    text-align: center;
  }

  .overall-rating-label {
    font-size: var(--font-size-md);
  }

  .overall-rating-value {
    font-weight: var(--font-weight-bold);
  }

  .overall-rating-stars i {
    color: #fdcc0d;
    font-size: var(--font-size-lg);
  }

  .locationText-container {
    width: 100%;
    text-align: center;
  }

  .location-container {
    flex-direction: column;
    height: auto;
    padding-top: var(--padding-md) !important;
    gap: 2rem;
  }

  #map {
    height: 200px;
    width: 100%;
    margin: 0 auto !important;
  }

  .leaflet-touch .leaflet-bar a {
    width: 1.2rem !important;
    height: 2rem !important;
    font-size: 16px !important;
    line-height: 30px !important;
  }

  .leaflet-popup-content {
    font-size: 12px;
    max-width: 150px;
  }

  .leaflet-popup-content-wrapper {
    padding: 6px;
  }

  .leaflet-marker-pane img {
    width: 80px !important;
    height: 20px !important;
  }

  .servicesIconContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
  }

  .ctaContainer {
    margin-top: var(--margin-md) !important;
    padding: var(--padding-xl);
    width: 100%;
    margin: 0 auto;
  }

  .resortContainer,
  .eventContainer,
  .hotelContainer {
    width: 90%;
    height: auto;
    padding: 1.5rem;
    margin: auto;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 20px;
  }

  .numbering {
    font-size: var(--font-size-xl);
    font-family: "Poppins Black";
    color: #0c8ce8;
    text-align: left;
    margin-top: 0.5rem;
  }

  .resortIcon,
  .eventIcon,
  .hotelIcon {
    width: 4.5rem;
    margin: auto;
    margin-top: -2rem !important;
  }

  .resortIconTitle,
  .eventIconTitle,
  .hotelIconTitle {
    font-weight: bold;
    text-align: center;
    font-family: "Poppins";
    font-size: var(--font-size-base);
    margin-top: 1rem;
  }

  .resortIconDescription,
  .eventIconDescription,
  .hotelIconDescription {
    text-align: justify;
    text-align-last: center;
    font-size: var(--font-size-sm);
    margin-top: 1vw;
  }
}

@media (max-width: 991.98px) {
  .rating-container {
    margin-top: 8rem !important;
  }

  .star {
    width: 20%;
  }

  .overall-rating-stars i {
    color: #fdcc0d;
    font-size: var(--font-size-md) !important;
  }
}
