/* Custom Fonts */
@font-face {
  font-family: "PK Maehongson";
  src: url("../font-front/PK Maehongson Medium.otf") format("opentype"),
    url("../font-front/PK Maehongson Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MYRIADPRO-REGULAR";
  src: url("../font-front/MyriadPro-Regular.woff2") format("woff2"),
    url("../font-front/MYRIADPRO-REGULAR.OTF") format("opentype"),
    url("../font-front/Myriad Pro Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: "MYRIADPRO-REGULAR", Arial, sans-serif !important;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  font-size: 16px;
}

/* Ensure icon classes use Font Awesome while leaving semantic <i> tags on body font */
.fa,
.fa::before,
.fa::after,
.fas,
.fas::before,
.fas::after,
.far,
.far::before,
.far::after,
.fal,
.fal::before,
.fal::after,
.fab,
.fab::before,
.fab::after,
[class*="fa-"],
[class*="fa-"]::before,
[class*="fa-"]::after,
.glyphicon,
.glyphicon::before,
.glyphicon::after,
.material-icons,
.material-icons::before,
.material-icons::after {
  font-family: "Font Awesome 6 Free" !important;
}

/* Specific Font Awesome solid weights */
.fas,
.fa-solid {
  font-weight: 900 !important;
}

/* Specific Font Awesome regular weights */
.far,
.fa-regular {
  font-weight: 400 !important;
}

/* Specific Font Awesome brands */
.fab,
.fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "PK Maehongson", sans-serif !important;
  font-weight: 500;
}

.btn,
.form-control,
.nav-link {
  font-family: "MYRIADPRO-REGULAR", Arial, sans-serif !important;
}

/* Enhanced Navigation */
.navbar-modern {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 20px 0;
  z-index: 1050;
  position: fixed;
  width: 100%;
  top: 0;
}

.navbar-modern.scrolled {
  padding: 12px 0;
}

.navbar-modern .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.navbar-brand:hover {
  opacity: 0.8;
}

.logo-image {
  height: 50px;
  width: auto;
  transition: height 0.3s ease;
}

.navbar-modern.scrolled .logo-image {
  height: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
  justify-content: center;
}

.nav-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
  position: relative;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-minimal {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.5px;
}

.btn-minimal-gold {
  /* Colors and background will be set dynamically via PHP inline styles */
  border: 1px solid transparent;
}

.btn-minimal-gold:hover {
  transform: translateY(-2px);
}

.nav-lang {
  position: relative;
  margin-left: 20px;
  padding-left: 20px;
  /* Border color will be set dynamically via PHP inline styles */
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  /* Border will be set dynamically via PHP inline styles */
  padding: 8px 15px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  /* Color will be set dynamically via PHP inline styles */
}

.lang-switcher:hover {
  /* Background and border colors will be set dynamically via PHP inline styles */
  transition: all 0.3s ease;
}

.flag-icon {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-text {
  font-weight: 500;
  letter-spacing: 0.5px;
}

.lang-switcher i {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.nav-lang:hover .lang-switcher i {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  /* Background color will be set dynamically via PHP inline styles */
  min-width: 150px;
  border-radius: 8px;
  /* Box-shadow will be moved to inline styles in PHP */
  padding: 8px 0;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
}

.nav-lang:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  /* Text color will be set dynamically via PHP inline styles */
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.lang-option:hover {
  /* Background and color will be set dynamically via PHP inline styles */
  transition: all 0.3s ease;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  /* Background color will be set dynamically via PHP inline styles */
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
  /* Background color will be set dynamically via PHP inline styles */
}

.carousel-item {
  height: 100vh;
  position: relative;
}

.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(
    180deg,
    rgba(105, 103, 48, 0.3) 0%,
    rgba(105, 103, 48, 0.6) 100%
  ); */
  z-index: 1;
}

.hero-overlay {
  pointer-events: none;
}

/* Room Types Section (Keep Original Style) */
.projects-showcase {
  padding: 120px 0;
  /* Background will be set dynamically via PHP inline styles */
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  /* Color will be set dynamically via PHP inline styles */
  margin-bottom: 20px;
  font-weight: 500;
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 200;
  /* Color will be set dynamically via PHP inline styles */
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.section-description {
  font-size: 18px;
  /* Color will be set dynamically via PHP inline styles */
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
}

.project-card {
  margin-bottom: 40px;
}

.project-card:last-child {
  margin-bottom: 0;
}

.project-card .row {
  align-items: center;
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 600px;
  /* Background will be set dynamically via PHP inline styles */
  border-radius: 15px;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-content {
  padding: 60px;
}

.project-number {
  font-size: 72px;
  font-weight: 100;
  color: rgba(105, 103, 48, 0.2);
  margin-bottom: 20px;
  line-height: 1;
}

.project-name {
  font-size: 36px;
  font-weight: 300;
  /* Color will be set dynamically via PHP inline styles */
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.project-description {
  font-size: 16px;
  /* Color will be set dynamically via PHP inline styles */
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}

.project-features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  /* Background will be set dynamically via PHP inline styles */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Color will be set dynamically via PHP inline styles */
  font-size: 16px;
}

.feature-text {
  font-size: 14px;
  /* Color will be set dynamically via PHP inline styles */
  font-weight: 500;
}

.btn-project {
  padding: 14px 40px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
  /* Color will be set dynamically via PHP inline styles */
  /* Border will be set dynamically via PHP inline styles */
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border-radius: 30px;
}

.section-cta-container {
  text-align: center;
  margin-top: 80px;
}

.btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: linear-gradient(
    135deg,
    var(--primary-olive),
    var(--secondary-beige)
  );
  /* Color will be set dynamically via PHP inline styles */
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  /* Box-shadow will be set dynamically via PHP inline styles */
  transition: all 0.3s ease;
}

.btn-view-more:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-beige),
    var(--accent-gold)
  );
  transform: translateY(-3px);
  /* Box-shadow will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  text-decoration: none;
}

.btn-view-more i {
  font-size: 18px;
}

/* Gallery Section */
.gallery-section {
  padding: 120px 0;
  /* Background will be set dynamically via PHP inline styles */
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  width: 100%;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Mobile Gallery Fix */
@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2px;
    display: grid !important;
  }
  
  .gallery-item {
    display: block !important;
    width: 100%;
    height: auto;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1px;
  }
}

.gallery-icon {
  /* Color will be set dynamically via PHP inline styles */
  font-size: 24px;
}

/* =================================
   Enhanced Gallery Lightbox
   ================================= */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.lightbox-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 80vh;
}

#lightboxImage {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  /* Box-shadow will be set dynamically via PHP inline styles */
  transition: transform 0.3s ease;
}

.lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 20px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 200px;
}

#lightboxCaption {
  font-size: 16px;
  font-weight: 500;
  color: white;
}

.lightbox-counter {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  background: rgba(105, 103, 48, 0.8);
  padding: 5px 12px;
  border-radius: 15px;
}

/* Navigation Buttons */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.lightbox-close {
  top: -60px;
  right: -60px;
}

.lightbox-prev {
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  transform: scale(1.1);
  /* Box-shadow will be set dynamically via PHP inline styles */
}

.lightbox-next:hover,
.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Thumbnails */
.lightbox-thumbnails {
  margin-top: 20px;
  max-width: 100%;
  overflow: hidden;
}

.thumbnails-container {
  display: flex;
  gap: 10px;
  padding: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.thumbnails-container::-webkit-scrollbar {
  height: 6px;
}

.thumbnails-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.thumbnails-container::-webkit-scrollbar-thumb {
  /* Background will be set dynamically via PHP inline styles */
  border-radius: 3px;
}

.thumbnail-item {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  opacity: 0.6;
}

.thumbnail-item.active {
  opacity: 1;
  transform: scale(1.1);
}

.thumbnail-item:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .lightbox-close {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .lightbox-prev {
    left: 20px;
  }

  .lightbox-next {
    right: 20px;
  }

  #lightboxImage {
    max-height: 60vh;
  }

  .lightbox-caption {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  #lightboxCaption {
    font-size: 14px;
  }

  .lightbox-counter {
    font-size: 12px;
    padding: 3px 8px;
  }

  .thumbnail-item {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 576px) {
  .lightbox-container {
    max-width: 95%;
    max-height: 95%;
  }

  #lightboxImage {
    max-height: 50vh;
  }

  .lightbox-thumbnails {
    margin-top: 15px;
  }

  .thumbnail-item {
    width: 45px;
    height: 45px;
  }
}

/* Keyboard Navigation Hint */
.keyboard-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* Booking Inquiry Section */
.full-bg-section {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 750px;
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.full-bg-section .container {
  position: relative;
  z-index: 3;
}

.booking-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(105, 103, 48, 0.85) 0%,
    rgba(93, 32, 31, 0.8) 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}

.booking-inquiry-section .section-header {
  margin-bottom: 60px;
}

.booking-inquiry-section .section-label {
  /* Color will be set dynamically via PHP inline styles */
  color: inherit;
}

.booking-inquiry-section .section-title {
  /* Color will be set dynamically via PHP inline styles */
  font-weight: 300;
}

.booking-inquiry-section .section-description {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
}

.booking-form-wrapper {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 50px 60px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* Box-shadow will be set dynamically via PHP inline styles */
}

.booking-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.booking-form .form-group {
  position: relative;
  margin-bottom: 30px;
}

.booking-form .form-input {
  width: 100%;
  padding: 15px 20px;
  /* Border will be set dynamically via PHP inline styles */
  border-radius: 10px;
  font-size: 15px;
  /* Background will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  transition: all 0.3s ease;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.booking-form select.form-input {
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23696730%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 10px;
  padding-right: 50px;
}

.booking-form .form-input:focus {
  outline: none;
  /* Box-shadow will be set dynamically via PHP inline styles */
  transform: translateY(-2px);
}

.booking-form .form-label {
  position: absolute;
  left: 20px;
  top: 16px;
  font-size: 15px;
  /* Color will be set dynamically via PHP inline styles */
  pointer-events: none;
  transition: transform 0.25s ease, color 0.25s ease;
  transform-origin: left top;
  /* Background will be set dynamically via PHP inline styles */
  padding: 0 8px;
}

.booking-form .form-input:focus ~ .form-label,
.booking-form .form-input:not(:placeholder-shown) ~ .form-label,
.booking-form .form-input:valid ~ .form-label {
  transform: translateY(-30px) scale(0.85);
  /* Color will be set dynamically via PHP inline styles */
  font-weight: 600;
}

.btn-submit {
  width: 100%;
  padding: 18px;
  background: linear-gradient(
    135deg,
    var(--primary-olive),
    var(--secondary-beige)
  );
  /* Color will be set dynamically via PHP inline styles */
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
}

.btn-submit:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-beige),
    var(--accent-gold)
  );
  transform: translateY(-3px);
  /* Box-shadow will be set dynamically via PHP inline styles */
}

/* Booking Inquiry Section - Mobile Responsive */
/* iPad Pro and large tablets (landscape) */
@media (max-width: 1024px) {
  .full-bg-section {
    min-height: 650px !important;
    padding: 80px 0 !important;
  }

  .booking-form-wrapper {
    padding: 45px 50px !important;
    border-radius: 18px !important;
  }

  .booking-inquiry-section .section-header {
    margin-bottom: 50px !important;
  }

  .booking-inquiry-section .section-label {
    font-size: 16px !important;
  }

  .booking-inquiry-section .section-title {
    font-size: 3.5rem !important;
  }

  .booking-form .form-row {
    gap: 22px !important;
  }

  .booking-form .form-group {
    margin-bottom: 28px !important;
  }

  .booking-form .form-input {
    padding: 14px 18px !important;
    font-size: 15px !important;
    border-radius: 10px !important;
  }

  .booking-form .form-label {
    font-size: 15px !important;
    top: 15px !important;
  }

  .btn-submit {
    padding: 17px !important;
    font-size: 15px !important;
    border-radius: 10px !important;
  }
}

/* Tablets (portrait) and smaller */
@media (max-width: 991px) {
  .full-bg-section {
    min-height: 600px !important;
    padding: 70px 0 !important;
  }

  .booking-form-wrapper {
    padding: 40px 45px !important;
    border-radius: 16px !important;
  }

  .booking-inquiry-section .section-header {
    margin-bottom: 45px !important;
  }

  .booking-inquiry-section .section-label {
    font-size: 15px !important;
  }

  .booking-inquiry-section .section-title {
    font-size: 3rem !important;
  }

  .booking-inquiry-section .section-description {
    font-size: 15px !important;
    max-width: 600px !important;
  }

  .booking-form .form-row {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .booking-form .form-group {
    margin-bottom: 25px !important;
  }

  .booking-form .form-input {
    padding: 14px 18px !important;
    font-size: 14px !important;
  }

  .booking-form .form-label {
    font-size: 14px !important;
    top: 15px !important;
  }

  .btn-submit {
    padding: 16px !important;
    font-size: 15px !important;
  }
}

/* iPad (portrait) and smaller tablets */
@media (max-width: 768px) {
  .full-bg-section {
    min-height: 550px !important;
    padding: 60px 0 !important;
    background-attachment: scroll !important;
  }

  .booking-form-wrapper {
    padding: 35px 30px !important;
    border-radius: 15px !important;
  }

  .booking-inquiry-section .section-header {
    margin-bottom: 40px !important;
    text-align: center !important;
  }

  .booking-inquiry-section .section-label {
    font-size: 14px !important;
  }

  .booking-inquiry-section .section-title {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
  }

  .booking-inquiry-section .section-description {
    font-size: 14px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .booking-form .form-row {
    gap: 18px !important;
  }

  .booking-form .form-group {
    margin-bottom: 22px !important;
  }

  .booking-form .form-input {
    padding: 13px 16px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
  }

  .booking-form select.form-input {
    background-position: right 16px center !important;
    padding-right: 45px !important;
  }

  .booking-form .form-label {
    font-size: 14px !important;
    left: 16px !important;
    top: 14px !important;
  }

  .btn-submit {
    padding: 15px !important;
    font-size: 14px !important;
    gap: 10px !important;
  }
}

/* Mobile devices */
@media (max-width: 576px) {
  .full-bg-section {
    min-height: auto !important;
    padding: 50px 0 !important;
  }

  .booking-form-wrapper {
    padding: 30px 20px !important;
    border-radius: 12px !important;
    margin: 0 -15px !important;
    border-radius: 0 !important;
  }

  .booking-inquiry-section .section-header {
    margin-bottom: 35px !important;
  }

  .booking-inquiry-section .section-label {
    font-size: 13px !important;
    margin-bottom: 8px !important;
  }

  .booking-inquiry-section .section-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }

  .booking-inquiry-section .section-description {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .booking-form .form-row {
    gap: 15px !important;
  }

  .booking-form .form-group {
    margin-bottom: 20px !important;
  }

  .booking-form .form-input {
    padding: 12px 15px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
  }

  .booking-form select.form-input {
    background-position: right 15px center !important;
    background-size: 9px !important;
    padding-right: 40px !important;
  }

  .booking-form .form-label {
    font-size: 13px !important;
    left: 15px !important;
    top: 13px !important;
    padding: 0 6px !important;
  }

  .booking-form .form-input:focus ~ .form-label,
  .booking-form .form-input:not(:placeholder-shown) ~ .form-label,
  .booking-form .form-input:valid ~ .form-label {
    transform: translateY(-28px) scale(0.85) !important;
  }

  .btn-submit {
    padding: 14px !important;
    font-size: 13px !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  .full-bg-section {
    padding: 40px 0 !important;
  }

  .booking-form-wrapper {
    padding: 25px 15px !important;
  }

  .booking-inquiry-section .section-header {
    margin-bottom: 30px !important;
  }

  .booking-inquiry-section .section-label {
    font-size: 12px !important;
  }

  .booking-inquiry-section .section-title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }

  .booking-inquiry-section .section-description {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  .booking-form .form-row {
    gap: 12px !important;
  }

  .booking-form .form-group {
    margin-bottom: 18px !important;
  }

  .booking-form .form-input {
    padding: 11px 14px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
  }

  .booking-form select.form-input {
    background-position: right 14px center !important;
    background-size: 8px !important;
    padding-right: 38px !important;
  }

  .booking-form .form-label {
    font-size: 12px !important;
    left: 14px !important;
    top: 12px !important;
  }

  .booking-form .form-input:focus ~ .form-label,
  .booking-form .form-input:not(:placeholder-shown) ~ .form-label,
  .booking-form .form-input:valid ~ .form-label {
    transform: translateY(-26px) scale(0.85) !important;
  }

  .btn-submit {
    padding: 13px !important;
    font-size: 12px !important;
    gap: 6px !important;
  }
}

/* Location Section */
.location-section {
  padding: 60px 0;
}

.location-section .box {
  background: white;
  border-radius: 15px;
  padding: 30px;
  /* Box-shadow will be set dynamically via PHP inline styles */
}

.header-location {
  text-align: center;
}

.main-menu-location {
  font-size: 24px;
  font-weight: 700;
  /* Color will be set dynamically via PHP inline styles */
  margin-bottom: 20px;
}

.menu-location {
  display: flex;
  justify-content: center;
}

.typemap-btn {
  background: linear-gradient(
    135deg,
    var(--primary-olive) 0%,
    var(--warm-beige) 100%
  );
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
}

.typemap-btn:hover {
  background: linear-gradient(
    135deg,
    var(--warm-beige) 0%,
    var(--primary-olive) 100%
  );
  color: white;
  transform: translateY(-2px);
  /* Box-shadow will be set dynamically via PHP inline styles */
}

.map-container {
  margin-top: 30px;
}

.google-map-wrapper {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 15px;
  overflow: hidden;
  /* Box-shadow will be set dynamically via PHP inline styles */
}

.google-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.location-info {
  padding: 20px;
  border-radius: 10px;
  /* Background color and box-shadow will be set dynamically via PHP inline styles */
}

.location-name {
  /* Color will be set dynamically via PHP inline styles */
  font-weight: 600;
}

.location-address {
  font-size: 14px;
  line-height: 1.5;
}

.location-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  /* Color will be set dynamically via PHP inline styles */
}

.contact-item i {
  margin-right: 8px;
}

.contact-item a:hover {
  text-decoration: underline !important;
}

/* Location Section - Mobile Responsive */
/* iPad Pro and large tablets (landscape) */
@media (max-width: 1024px) {
  .location-section {
    padding: 50px 0 !important;
  }

  .location-section .box {
    padding: 35px 25px !important;
    border-radius: 20px !important;
  }

  .main-menu-location {
    font-size: 28px !important;
    margin-bottom: 25px !important;
  }

  .typemap-btn {
    padding: 14px 35px !important;
    font-size: 16px !important;
    gap: 10px !important;
  }

  .google-map-wrapper {
    height: 500px !important;
    border-radius: 20px !important;
    margin-top: 35px !important;
  }

  .location-info {
    padding: 25px !important;
    border-radius: 15px !important;
    margin-top: 25px !important;
  }

  .location-name {
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }

  .location-address {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .contact-item {
    font-size: 16px !important;
  }

  .contact-item i {
    font-size: 18px !important;
    margin-right: 10px !important;
  }

  .btn-location {
    padding: 16px 38px !important;
    font-size: 15px !important;
    margin: 18px 8px !important;
  }

  .btn-location i {
    font-size: 17px !important;
  }
}

/* Tablets (portrait) and smaller */
@media (max-width: 991px) {
  .location-section {
    padding: 45px 0 !important;
  }

  .location-section .box {
    padding: 30px 20px !important;
    border-radius: 18px !important;
  }

  .main-menu-location {
    font-size: 26px !important;
    margin-bottom: 22px !important;
  }

  .menu-location {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .typemap-btn {
    padding: 13px 32px !important;
    font-size: 15px !important;
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    justify-content: center !important;
  }

  .google-map-wrapper {
    height: 450px !important;
    border-radius: 18px !important;
    margin-top: 30px !important;
  }

  .location-info {
    padding: 22px !important;
    border-radius: 12px !important;
    margin-top: 22px !important;
  }

  .location-name {
    font-size: 22px !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }

  .location-address {
    font-size: 15px !important;
    line-height: 1.6 !important;
    text-align: center !important;
  }

  .location-contact {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
  }

  .contact-item {
    font-size: 15px !important;
    justify-content: center !important;
  }

  .btn-location {
    padding: 15px 35px !important;
    font-size: 14px !important;
    margin: 15px 5px !important;
  }
}

/* iPad (portrait) and smaller tablets */
@media (max-width: 768px) {
  .location-section {
    padding: 40px 0 !important;
  }

  .location-section .box {
    padding: 25px 15px !important;
    border-radius: 15px !important;
  }

  .main-menu-location {
    font-size: 24px !important;
    margin-bottom: 20px !important;
  }

  .typemap-btn {
    padding: 12px 30px !important;
    font-size: 14px !important;
    width: 100% !important;
    max-width: 280px !important;
  }

  .google-map-wrapper {
    height: 400px !important;
    border-radius: 15px !important;
    margin-top: 25px !important;
  }

  .location-info {
    padding: 20px !important;
    border-radius: 12px !important;
    margin-top: 20px !important;
  }

  .location-name {
    font-size: 20px !important;
    margin-bottom: 8px !important;
  }

  .location-address {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .contact-item {
    font-size: 14px !important;
  }

  .contact-item i {
    font-size: 16px !important;
  }

  .btn-location {
    padding: 14px 32px !important;
    font-size: 13px !important;
    margin: 12px 5px !important;
    width: 100% !important;
    max-width: 280px !important;
  }

  .btn-location i {
    font-size: 15px !important;
  }

  .btn-location-view {
    padding: 12px 28px !important;
    font-size: 13px !important;
    width: 100% !important;
    max-width: 280px !important;
  }
}

/* Mobile devices */
@media (max-width: 576px) {
  .location-section {
    padding: 35px 0 !important;
  }

  .location-section .box {
    padding: 20px 15px !important;
    border-radius: 12px !important;
    margin: 0 -15px !important;
    border-radius: 0 !important;
  }

  .main-menu-location {
    font-size: 22px !important;
    margin-bottom: 18px !important;
    line-height: 1.3 !important;
  }

  .typemap-btn {
    padding: 12px 28px !important;
    font-size: 13px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .google-map-wrapper {
    height: 350px !important;
    border-radius: 12px !important;
    margin: 20px auto 0 auto !important;
    border-radius: 0 !important;
    max-width: 100% !important;
  }

  .location-info {
    padding: 18px 15px !important;
    border-radius: 10px !important;
    margin-top: 18px !important;
  }

  .location-name {
    font-size: 18px !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
  }

  .location-address {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  .location-contact {
    gap: 10px !important;
    margin-top: 12px !important;
  }

  .contact-item {
    font-size: 13px !important;
  }

  .contact-item i {
    font-size: 15px !important;
    margin-right: 8px !important;
  }

  .btn-location {
    padding: 13px 30px !important;
    font-size: 12px !important;
    margin: 10px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .btn-location i {
    font-size: 14px !important;
  }

  .btn-location-view {
    padding: 11px 26px !important;
    font-size: 12px !important;
    margin: 10px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .btn-location-view i {
    font-size: 14px !important;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  .location-section {
    padding: 30px 0 !important;
  }

  .location-section .box {
    padding: 18px 12px !important;
  }

  .main-menu-location {
    font-size: 20px !important;
    margin-bottom: 15px !important;
  }

  .typemap-btn {
    padding: 11px 24px !important;
    font-size: 12px !important;
  }

  .google-map-wrapper {
    height: 300px !important;
    margin: 18px auto 0 auto !important;
  }

  .location-info {
    padding: 15px 12px !important;
    margin-top: 15px !important;
  }

  .location-name {
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }

  .location-address {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  .contact-item {
    font-size: 12px !important;
  }

  .contact-item i {
    font-size: 14px !important;
  }

  .btn-location {
    padding: 12px 26px !important;
    font-size: 11px !important;
    margin: 8px 0 !important;
  }

  .btn-location i {
    font-size: 13px !important;
  }

  .btn-location-view {
    padding: 10px 24px !important;
    font-size: 11px !important;
    margin: 8px 0 !important;
  }

  .btn-location-view i {
    font-size: 13px !important;
  }
}

.btn-location {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  margin: 20px 10px;
  background: linear-gradient(
    135deg,
    var(--primary-olive),
    var(--secondary-beige)
  );
  /* Color will be set dynamically via PHP inline styles */
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  /* Box-shadow will be set dynamically via PHP inline styles */
  transition: all 0.3s ease;
}

.btn-location:hover {
  transform: translateY(-5px);
  /* Box-shadow will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  text-decoration: none;
  background: linear-gradient(
    135deg,
    var(--secondary-beige),
    var(--accent-gold)
  );
}

.btn-location i {
  font-size: 18px;
}

.btn-location-view {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 35px;
  margin: 20px 10px;
  background: transparent;
  /* Color will be set dynamically via PHP inline styles */
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-location-view:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.btn-location-view i {
  font-size: 16px;
}

/* Footer */
.corporate-footer {
  /* Background will be set dynamically via PHP inline styles */
  margin-top: 0;
}

.footer-main {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  margin-bottom: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-logo {
  text-align: center;
  height: 60px;
  width: auto;
  margin-bottom: 25px;
  filter: brightness(0) invert(1);
}

.footer-description {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
  max-width: 350px;
}

.footer-column {
  margin-bottom: 30px;
}

.footer-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 25px;
  /* Color will be set dynamically via PHP inline styles */
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  /* Color will be set dynamically via PHP inline styles */
  transform: translateX(5px);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  /* Background will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 25px 0;
  background: rgba(0, 0, 0, 0.3);
}

.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: 25px;
  justify-content: flex-end;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 90vh;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: -40px;
  color: white;
  font-size: 36px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

/* News Section */
.news-section {
  padding: 120px 0;
  /* Background will be set dynamically via PHP inline styles */
}

/* Responsive Design */
@media (max-width: 991px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    /* Background will be set dynamically via PHP inline styles */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1040;
  }

  .nav-menu.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
    z-index: 1041;
  }

  .project-content {
    padding: 40px;
  }
}

/* Mobile/Tablet/iPad - Full width responsive hero section */
@media (max-width: 1024px) {
  .hero-section {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 219.38px !important;
    min-height: 219.38px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
  }

  .hero-section .carousel,
  .hero-section #heroCarousel,
  .hero-section .carousel.slide {
    width: 100% !important;
    height: 219.38px !important;
    max-height: 219.38px;
  }

  .hero-section .carousel-inner {
    width: 100% !important;
    height: 219.38px !important;
    max-height: 219.38px;
  }

  .carousel-item {
    width: 100% !important;
    height: 219.38px !important;
    max-height: 219.38px;
  }

  .hero-section .carousel-item img {
    width: 100% !important;
    height: 219.38px !important;
    max-height: 219.38px;
    object-fit: cover;
    object-position: center;
  }

  .hero-section .video-background {
    width: 100% !important;
    height: 219.38px !important;
    position: absolute;
    top: 0;
    left: 0;
    transform: none;
    min-width: 100%;
    min-height: 219.38px;
  }

  .hero-section .video-background video {
    width: 100% !important;
    height: 219.38px !important;
    object-fit: cover;
  }

  .hero-section .carousel-indicators {
    bottom: 10px;
    margin-bottom: 0;
  }

  .hero-section .carousel-indicators li {
    width: 8px;
    height: 8px;
    margin: 0 3px;
    border-radius: 50%;
  }

  .hero-section > div[style*="position: absolute"] {
    width: 100% !important;
    height: 219.38px !important;
  }
}

/* Specific adjustments for different mobile devices */
@media (max-width: 480px) {
  .hero-section {
    height: 56.25vw !important; /* 16:9 aspect ratio for very small screens */
    min-height: 200px !important;
    max-height: 250px !important;
  }

  .hero-section .carousel,
  .hero-section #heroCarousel,
  .hero-section .carousel.slide,
  .hero-section .carousel-inner,
  .carousel-item,
  .hero-section .carousel-item img,
  .hero-section .video-background,
  .hero-section .video-background video,
  .hero-section > div[style*="position: absolute"] {
    height: 56.25vw !important;
    min-height: 200px !important;
    max-height: 250px !important;
  }
}

/* iPad and larger tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-section {
    height: 40vh !important;
    min-height: 300px !important;
    max-height: 400px !important;
  }

  .hero-section .carousel,
  .hero-section #heroCarousel,
  .hero-section .carousel.slide,
  .hero-section .carousel-inner,
  .carousel-item,
  .hero-section .carousel-item img,
  .hero-section .video-background,
  .hero-section .video-background video,
  .hero-section > div[style*="position: absolute"] {
    height: 40vh !important;
    min-height: 300px !important;
    max-height: 400px !important;
  }
}

@media (max-width: 768px) {
  .project-image-wrapper {
    height: 400px;
  }

  .project-content {
    padding: 30px 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .booking-form-wrapper {
    padding: 30px;
  }

  .booking-form .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-legal {
    justify-content: flex-start;
    margin-top: 15px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
}

/* Additional Utility Classes */
body.no-scroll {
  overflow: hidden;
}

/* Smooth animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Mobile Scroll Animation - Fade In Up on View */
@media (max-width: 991px) {
  .concept-section,
  .project-info-section,
  .room-type-navigation,
  .virtual-tour-section,
  .gallery-section,
  .master-plan-section,
  .exclusive-services-section,
  .location-section,
  .partners-section,
  .section-header,
  .project-card,
  .info-tabs,
  .tab-content,
  .room-content,
  .virtual-tour-item,
  .gallery-item,
  .master-plan-content,
  .service-group,
  .location-info,
  .partner-logo {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  .concept-section.animate-in,
  .project-info-section.animate-in,
  .room-type-navigation.animate-in,
  .virtual-tour-section.animate-in,
  .gallery-section.animate-in,
  .master-plan-section.animate-in,
  .exclusive-services-section.animate-in,
  .location-section.animate-in,
  .partners-section.animate-in,
  .section-header.animate-in,
  .project-card.animate-in,
  .info-tabs.animate-in,
  .tab-content.animate-in,
  .room-content.animate-in,
  .virtual-tour-item.animate-in,
  .gallery-item.animate-in,
  .master-plan-content.animate-in,
  .service-group.animate-in,
  .location-info.animate-in,
  .partner-logo.animate-in {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger animation for child elements */
  .virtual-tour-item:nth-child(1).animate-in { transition-delay: 0.1s; }
  .virtual-tour-item:nth-child(2).animate-in { transition-delay: 0.2s; }
  .virtual-tour-item:nth-child(3).animate-in { transition-delay: 0.3s; }
  .virtual-tour-item:nth-child(4).animate-in { transition-delay: 0.4s; }
  
  .gallery-item:nth-child(1).animate-in { transition-delay: 0.1s; }
  .gallery-item:nth-child(2).animate-in { transition-delay: 0.15s; }
  .gallery-item:nth-child(3).animate-in { transition-delay: 0.2s; }
  .gallery-item:nth-child(4).animate-in { transition-delay: 0.25s; }
  .gallery-item:nth-child(5).animate-in { transition-delay: 0.3s; }
  .gallery-item:nth-child(6).animate-in { transition-delay: 0.35s; }
  
  .partner-logo:nth-child(1).animate-in { transition-delay: 0.1s; }
  .partner-logo:nth-child(2).animate-in { transition-delay: 0.15s; }
  .partner-logo:nth-child(3).animate-in { transition-delay: 0.2s; }
  .partner-logo:nth-child(4).animate-in { transition-delay: 0.25s; }
  .partner-logo:nth-child(5).animate-in { transition-delay: 0.3s; }
}

/* =================================
   Concept Section - 40/60 Layout (Reduced Height, Wider)
   ================================= */
.concept-section {
  padding: 120px 0;
}

.concept-section .row {
  align-items: stretch;
  min-height: 450px; /* ลดจาก 650px เป็น 450px */
}

.concept-section .container {
  max-width: 1350px; /* เพิ่มความกว้างของ container */
}

/* Content Column - 40% */
.concept-content {
  padding: 60px 60px 60px 0; /* ลด padding บน-ล่าง จาก 60px เป็น 40px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.concept-title {
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 30px; /* ลดจาก 40px */
  letter-spacing: 3px;
  line-height: 1.2;
}

.concept-description {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px; /* ลดจาก 25px */
  font-weight: 300;
}

/* Image Column - 60% */
.concept-image {
  height: 100%;
  min-height: 450px; /* ลดจาก 650px เป็น 450px */
  max-height: 500px; /* จำกัดความสูงสูงสุด */
  display: flex;
  align-items: center;
  padding-left: 20px;
  width: 100%;
}

.concept-image img {
  border-radius: 16px !important;
  width: 100%;
  height: 100% !important;
  min-height: 450px; /* ลดจาก 650px เป็น 450px */
  max-height: 500px; /* จำกัดความสูงสูงสุด */
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive */
@media (max-width: 1399px) {
  .concept-section .container {
    max-width: 1200px;
  }
}

/* iPad Pro and large tablets (landscape) */
@media (max-width: 1024px) {
  .concept-section {
    padding: 60px 0 !important;
  }

  .concept-section .row {
    min-height: auto;
  }

  .concept-content {
    padding: 40px 30px !important;
  }

  .concept-image {
    min-height: 350px;
    max-height: 400px;
    margin-top: 30px;
    padding-left: 0;
  }

  .concept-image img {
    min-height: 350px;
    max-height: 400px;
    border-radius: 12px !important;
  }

  .concept-title {
    font-size: 36px;
    margin-bottom: 25px;
    letter-spacing: 2px;
  }

  .concept-description {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* Tablets (portrait) and smaller */
@media (max-width: 991px) {
  .concept-section {
    padding: 50px 0 !important;
  }

  .concept-section .row {
    min-height: auto;
  }

  .concept-content {
    padding: 35px 25px !important;
  }

  .concept-image {
    min-height: 320px;
    max-height: 380px;
    margin-top: 30px;
    padding-left: 0;
  }

  .concept-image img {
    min-height: 320px;
    max-height: 380px;
  }

  .concept-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .concept-description {
    font-size: 15px;
  }
}

/* iPad (portrait) and smaller tablets */
@media (max-width: 768px) {
  .concept-section {
    padding: 40px 0 !important;
  }

  .concept-content {
    padding: 30px 20px !important;
  }

  .concept-image {
    min-height: 280px;
    max-height: 320px;
    margin-top: 25px;
  }

  .concept-image img {
    min-height: 280px;
    max-height: 320px;
    border-radius: 10px !important;
  }

  .concept-title {
    font-size: 28px;
    margin-bottom: 18px;
    letter-spacing: 1.5px;
  }

  .concept-description {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
  }
}

/* Mobile devices */
@media (max-width: 576px) {
  .concept-section {
    padding: 30px 0 !important;
  }

  .concept-content {
    padding: 25px 15px !important;
  }

  .concept-image {
    min-height: 240px;
    max-height: 280px;
    margin-top: 20px;
  }

  .concept-image img {
    min-height: 240px;
    max-height: 280px;
    border-radius: 8px !important;
  }

  .concept-title {
    font-size: 24px;
    margin-bottom: 15px;
    letter-spacing: 1px;
  }

  .concept-description {
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.5;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  .concept-section {
    padding: 25px 0 !important;
  }

  .concept-content {
    padding: 20px 10px !important;
  }

  .concept-image {
    min-height: 200px;
    max-height: 240px;
    margin-top: 15px;
  }

  .concept-image img {
    min-height: 200px;
    max-height: 240px;
  }

  .concept-title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .concept-description {
    font-size: 13px;
  }
}
/* =================================
   Project Information Section
   ================================= */
.project-info-section {
  padding: 120px 0;
  /* Background will be set dynamically via PHP inline styles */
}

.project-info-image {
  height: 100%;
  padding-top: 75px; /* <-- เพิ่มบรรทัดนี้เพื่อดันรูปภาพลงมา */
}

.project-info-image img {
  border-radius: 15px;
  /* Box-shadow will be set dynamically via PHP inline styles */
  width: 100%;
  height: calc(100% - 60px); /* <-- ปรับความสูงของภาพให้สัมพันธ์กับ padding */
  object-fit: cover;
}

.project-info-content {
  padding: 60px 0 60px 60px;
}

.project-info-title {
  font-size: 42px;
  font-weight: 300;
  /* Color will be set dynamically via PHP inline styles */
  margin-bottom: 40px;
  letter-spacing: 3px;
}

.info-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 12px 30px;
  /* Background will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:first-child {
  border-radius: 8px 0 0 8px;
}

.tab-btn:last-child {
  border-radius: 0 8px 8px 0;
}

.tab-btn.active {
  /* Background will be set dynamically via PHP inline styles */
  background: inherit;
  /* Color will be set dynamically via PHP inline styles */
  color: inherit;
}

.tab-btn:hover,
.tab-btn:focus {
  outline: none;
}

.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  min-height: 400px;
}

.tab-content.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.info-grid {
  display: grid;
  gap: 25px;
}

.info-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  padding-bottom: 15px;
  /* border-bottom: 1px solid var(--border-gray); */
}

.info-label {
  font-size: 14px;
  /* Color will be set dynamically via PHP inline styles */
  font-weight: 500;
}

.info-value {
  font-size: 14px;
  /* Color will be set dynamically via PHP inline styles */
  font-weight: 500;
}

.facilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.facilities-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.facility-item {
  font-size: 14px;
  /* Color will be set dynamically via PHP inline styles */
  padding: 8px 0;
  border-bottom: 1px solid rgba(105, 103, 48, 0.1);
}

/* Project Info Section - Mobile Responsive */
/* iPad Pro and large tablets (landscape) */
@media (max-width: 1024px) {
  #project-info {
    padding: 50px 0 70px !important;
    min-height: 700px !important;
  }

  .project-info-content {
    padding: 40px 30px !important;
    min-height: 550px !important;
  }

  .project-info-title {
    font-size: 42px !important;
    margin-bottom: 30px !important;
    letter-spacing: 2.5px !important;
    font-weight: 300 !important;
  }

  .info-tabs {
    flex-direction: row;
    display: flex;
  }

  .info-tabs .tab-btn {
    padding: 12px 28px;
    font-size: 15px;
    flex: 1;
  }

  .info-tabs .tab-btn:first-child {
    border-radius: 8px 0 0 8px !important;
  }

  .info-tabs .tab-btn:last-child {
    border-radius: 0 8px 8px 0 !important;
  }

  .tab-content {
    min-height: 350px;
  }

  .info-grid {
    gap: 22px;
  }

  .info-item {
    grid-template-columns: 1fr 1.5fr;
    gap: 15px;
    padding-bottom: 15px;
  }

  .info-label {
    font-size: 15px !important;
  }

  .info-value {
    font-size: 15px !important;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .facility-item {
    font-size: 15px !important;
  }
}

/* Tablets (portrait) and smaller */
@media (max-width: 991px) {
  #project-info {
    padding: 40px 0 60px !important;
    min-height: 650px !important;
  }

  .project-info-content {
    padding: 35px 25px !important;
    min-height: 500px !important;
    max-width: 100% !important;
  }

  .project-info-title {
    font-size: 38px !important;
    margin-bottom: 28px !important;
    letter-spacing: 2.2px !important;
    font-weight: 300 !important;
  }

  .info-tabs {
    margin-bottom: 30px;
    flex-direction: row;
    display: flex;
  }

  .info-tabs .tab-btn {
    padding: 11px 22px;
    font-size: 14px;
    flex: 1;
  }

  .info-tabs .tab-btn:first-child {
    border-radius: 8px 0 0 8px !important;
  }

  .info-tabs .tab-btn:last-child {
    border-radius: 0 8px 8px 0 !important;
  }

  .tab-content {
    min-height: 320px;
  }

  .info-label {
    font-size: 14px !important;
  }

  .info-value {
    font-size: 14px !important;
  }

  .facilities-column {
    gap: 12px;
  }

  .facility-item {
    font-size: 14px !important;
    padding: 7px 0;
  }
}

/* iPad (portrait) and smaller tablets */
@media (max-width: 768px) {
  #project-info {
    padding: 35px 0 50px !important;
    min-height: auto !important;
  }

  .project-info-content {
    padding: 30px 20px !important;
    min-height: 450px !important;
    border-radius: 12px !important;
    margin-top: 20px;
  }

  .project-info-title {
    font-size: 34px !important;
    margin-bottom: 25px !important;
    letter-spacing: 1.8px !important;
    font-weight: 300 !important;
  }

  .info-tabs {
    margin-bottom: 25px;
    gap: 0;
    flex-direction: row;
    display: flex;
  }

  .info-tabs .tab-btn {
    padding: 11px 20px;
    font-size: 14px;
    flex: 1;
  }

  .info-tabs .tab-btn:first-child {
    border-radius: 8px 0 0 8px !important;
  }

  .info-tabs .tab-btn:last-child {
    border-radius: 0 8px 8px 0 !important;
  }

  .tab-content {
    min-height: 280px;
  }

  .info-grid {
    gap: 20px;
  }

  .info-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(105, 103, 48, 0.1);
  }

  .info-label {
    font-size: 14px !important;
    font-weight: 600;
  }

  .info-value {
    font-size: 15px !important;
    font-weight: 400;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .facility-item {
    font-size: 14px !important;
  }
}

/* Mobile devices */
@media (max-width: 576px) {
  #project-info {
    padding: 30px 0 40px !important;
  }

  .project-info-content {
    padding: 25px 15px !important;
    min-height: 400px !important;
    border-radius: 10px !important;
  }

  .project-info-title {
    font-size: 30px !important;
    margin-bottom: 20px !important;
    letter-spacing: 1.5px !important;
    font-weight: 300 !important;
  }

  .info-tabs {
    margin-bottom: 22px;
    flex-direction: row;
    gap: 0;
    display: flex;
  }

  .info-tabs .tab-btn {
    padding: 11px 14px;
    font-size: 13px;
    flex: 1;
    border-radius: 0 !important;
    font-weight: 500;
  }

  .info-tabs .tab-btn:first-child {
    border-radius: 8px 0 0 8px !important;
  }

  .info-tabs .tab-btn:last-child {
    border-radius: 0 8px 8px 0 !important;
  }

  .tab-content {
    min-height: 250px;
  }

  .info-grid {
    gap: 18px;
  }

  .info-item {
    padding-bottom: 14px;
  }

  .info-label {
    font-size: 13px !important;
    font-weight: 600;
  }

  .info-value {
    font-size: 14px !important;
    font-weight: 400;
  }

  .facilities-column {
    gap: 12px;
  }

  .facility-item {
    font-size: 13px !important;
    padding: 6px 0;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  #project-info {
    padding: 25px 0 35px !important;
  }

  .project-info-content {
    padding: 20px 12px !important;
    min-height: 380px !important;
  }

  .project-info-title {
    font-size: 28px !important;
    margin-bottom: 18px !important;
    letter-spacing: 1.2px !important;
    font-weight: 300 !important;
  }

  .info-tabs {
    flex-direction: row;
    gap: 0;
  }

  .info-tabs .tab-btn {
    padding: 10px 12px;
    font-size: 12px;
    flex: 1;
    font-weight: 500;
  }

  .info-tabs .tab-btn:first-child {
    border-radius: 8px 0 0 8px !important;
  }

  .info-tabs .tab-btn:last-child {
    border-radius: 0 8px 8px 0 !important;
  }

  .tab-content {
    min-height: 220px;
  }

  .info-label {
    font-size: 12px !important;
    font-weight: 600;
  }

  .info-value {
    font-size: 13px !important;
    font-weight: 400;
  }

  .facility-item {
    font-size: 12px !important;
  }

  .brochure-section button {
    padding: 10px 20px !important;
    font-size: 13px;
  }
}

/* เพิ่มท้าย estuaria.css */

/* =================================
   Units Information Styling
   ================================= */
.units-information {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 15px;
}

.building-section {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(105, 103, 48, 0.2);
}

.building-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.building-title {
  font-size: 16px;
  font-weight: 600;
  /* Color will be set dynamically via PHP inline styles */
  margin-bottom: 20px;

  letter-spacing: 1px;
}

.units-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.unit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 10px 15px;
  background: rgba(105, 103, 48, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.unit-row:hover {
  background: rgba(105, 103, 48, 0.1);
  transform: translateX(5px);
}

.unit-type {
  font-size: 14px;
  font-weight: 500;
  /* Color will be set dynamically via PHP inline styles */
}

.unit-size {
  font-size: 14px;
  font-weight: 600;
  /* Color will be set dynamically via PHP inline styles */
  text-align: right;
}

/* Custom Scrollbar for Units Information */
.units-information::-webkit-scrollbar {
  width: 6px;
}

.units-information::-webkit-scrollbar-track {
  background: rgba(105, 103, 48, 0.1);
  border-radius: 3px;
}

.units-information::-webkit-scrollbar-thumb {
  /* Background will be set dynamically via PHP inline styles */
  border-radius: 3px;
}

.units-information::-webkit-scrollbar-thumb:hover {
  /* Background will be set dynamically via PHP inline styles */
  background: rgba(105, 103, 48, 0.25);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .units-information {
    max-height: 400px;
  }

  .building-title {
    font-size: 14px;
  }

  .unit-row {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .unit-size {
    text-align: center;
  }
}

/* =================================
   360° Virtual Tour Section
   ================================= */
.virtual-tour-section {
  padding: 120px 0;
  /* Background will be set dynamically via PHP inline styles */
}

.virtual-tour-title {
  font-size: 42px;
  font-weight: 300;
  /* Color will be set dynamically via PHP inline styles */
  letter-spacing: 3px;
  margin-bottom: 80px;
}

.virtual-tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
  justify-items: center;
  justify-content: center;
  max-width: 100%;
}

.virtual-tour-item {
  text-align: center;
  width: 100%;
  max-width: 400px;
}

.tour-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 25px;
}

.tour-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.virtual-tour-item:hover .tour-overlay {
  opacity: 1;
}

.virtual-tour-item:hover .tour-image {
  transform: scale(1.05);
}

.tour-360-icon {
  /* Color will be set dynamically via PHP inline styles */
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.tour-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  /* Background will be set dynamically via PHP inline styles */
  border: none;
  /* Color will be set dynamically via PHP inline styles */
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tour-btn:hover {
  transform: scale(1.1);
  /* Box-shadow will be set dynamically via PHP inline styles */
}

.tour-info {
  text-align: center;
}

.tour-unit-title {
  font-size: 20px;
  font-weight: 600;
  /* Color will be set dynamically via PHP inline styles */
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.tour-unit-details {
  font-size: 14px;
  /* Color will be set dynamically via PHP inline styles */
  font-weight: 500;
}

/* Room Type Navigation */
.room-type-navigation {
  /* Background will be set dynamically via PHP inline styles */
  border-radius: 20px;
  padding: 50px;
  /* Box-shadow will be set dynamically via PHP inline styles */
}

.room-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-gray);
}

.room-nav-title {
  font-size: 24px;
  font-weight: 600;
  /* Color will be set dynamically via PHP inline styles */
  letter-spacing: 2px;
}

.room-nav-tabs {
  display: flex;
  gap: 0;
}

.room-tab {
  padding: 12px 25px;
  /* Background will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;

  text-transform: uppercase;
  letter-spacing: 1px;
}

.room-tab:first-child {
  border-radius: 8px 0 0 8px;
}

.room-tab:last-child {
  border-radius: 0 8px 8px 0;
}

.room-tab:hover,
.room-tab:focus {
  outline: none;
}

.room-content {
  display: none;
}

.room-content.active {
  display: block;
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.room-title {
  font-size: 28px;
  font-weight: 500;
  /* Color will be set dynamically via PHP inline styles */
  letter-spacing: 1px;
}

.size-dropdown {
  padding: 10px 15px;
  /* Border will be set dynamically via PHP inline styles */
  border-radius: 8px;
  /* Background will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  min-width: 200px;
}

.floor-plan {
  text-align: center;
}

.floor-plan img {
  border-radius: 10px;
  margin-bottom: 30px;
  /* Box-shadow will be set dynamically via PHP inline styles */
}

.room-specs {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  /* Color will be set dynamically via PHP inline styles */
  font-weight: 500;
}

.spec-item i {
  /* Color will be set dynamically via PHP inline styles */
  font-size: 16px;
}

.room-preview img {
  border-radius: 15px;
  /* Box-shadow will be set dynamically via PHP inline styles */
}

/* Room Types Section - Mobile Responsive */
/* iPad Pro and large tablets (landscape) */
@media (max-width: 1024px) {
  .room-type-navigation {
    padding: 40px 30px !important;
    border-radius: 15px !important;
  }

  .room-nav-title {
    font-size: 22px !important;
    letter-spacing: 1.5px !important;
  }

  .room-nav-tabs {
    gap: 0 !important;
  }

  .room-tab {
    padding: 11px 22px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
  }

  .room-title {
    font-size: 26px !important;
    letter-spacing: 0.8px !important;
  }

  .size-dropdown {
    padding: 10px 14px !important;
    font-size: 14px !important;
    min-width: 180px !important;
  }

  .floor-plan img {
    max-width: 100% !important;
    height: auto !important;
  }

  .room-specs {
    gap: 25px !important;
  }

  .spec-item {
    font-size: 14px !important;
  }

  .spec-item i {
    font-size: 16px !important;
  }
}

/* Tablets (portrait) and smaller */
@media (max-width: 991px) {
  .concept-content,
  .project-info-content {
    padding: 40px 0;
  }

  .virtual-tour-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .room-type-navigation {
    padding: 35px 25px !important;
    border-radius: 12px !important;
  }

  .room-nav-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .room-nav-title {
    font-size: 20px !important;
    letter-spacing: 1.2px !important;
  }

  .room-nav-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0 !important;
  }

  .room-tab {
    padding: 10px 20px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  .room-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .room-title {
    font-size: 24px !important;
  }

  .size-dropdown {
    width: 100% !important;
    min-width: unset !important;
    font-size: 13px !important;
  }

  .room-specs {
    flex-wrap: wrap;
    gap: 20px !important;
    justify-content: flex-start !important;
  }

  .spec-item {
    font-size: 13px !important;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* iPad (portrait) and smaller tablets */
@media (max-width: 768px) {
  .concept-title,
  .project-info-title,
  .virtual-tour-title {
    font-size: 28px;
  }

  .room-type-navigation {
    padding: 30px 20px !important;
    border-radius: 10px !important;
  }

  .room-nav-title {
    font-size: 18px !important;
    letter-spacing: 1px !important;
    margin-bottom: 5px !important;
  }

  .room-tab {
    padding: 10px 18px !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
  }

  .room-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 30px !important;
  }

  .room-title {
    font-size: 22px !important;
    letter-spacing: 0.5px !important;
  }

  .size-dropdown {
    width: 100% !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
  }

  .floor-plan {
    margin-bottom: 25px !important;
  }

  .floor-plan img {
    border-radius: 8px !important;
  }

  .room-specs {
    flex-direction: column;
    gap: 12px !important;
    align-items: flex-start !important;
  }

  .spec-item {
    font-size: 13px !important;
  }

  .spec-item i {
    font-size: 15px !important;
  }

  .info-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Mobile devices */
@media (max-width: 576px) {
  .room-type-navigation {
    padding: 25px 15px !important;
    border-radius: 8px !important;
  }

  .room-nav-title {
    font-size: 16px !important;
    letter-spacing: 0.8px !important;
    font-weight: 600 !important;
  }

  .room-nav-tabs {
    gap: 0 !important;
    border-radius: 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .room-tab {
    padding: 9px 15px !important;
    font-size: 11px !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
    min-width: auto !important;
  }

  .room-tab:first-child {
    border-radius: 6px 0 0 6px !important;
  }

  .room-tab:last-child {
    border-radius: 0 6px 6px 0 !important;
  }

  .room-header {
    margin-bottom: 25px !important;
  }

  .room-title {
    font-size: 20px !important;
    letter-spacing: 0.3px !important;
    font-weight: 600 !important;
  }

  .size-dropdown {
    width: 100% !important;
    padding: 9px 12px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
  }

  .floor-plan {
    margin-bottom: 20px !important;
  }

  .floor-plan img {
    border-radius: 6px !important;
  }

  .room-specs {
    gap: 10px !important;
  }

  .spec-item {
    font-size: 12px !important;
    gap: 6px !important;
  }

  .spec-item i {
    font-size: 14px !important;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  .room-type-navigation {
    padding: 20px 12px !important;
    border-radius: 6px !important;
  }

  .room-nav-title {
    font-size: 15px !important;
    letter-spacing: 0.5px !important;
    font-weight: 600 !important;
  }

  .room-nav-tabs {
    border-radius: 5px !important;
  }

  .room-tab {
    padding: 8px 12px !important;
    font-size: 10px !important;
    letter-spacing: 0.2px !important;
    font-weight: 600 !important;
  }

  .room-tab:first-child {
    border-radius: 5px 0 0 5px !important;
  }

  .room-tab:last-child {
    border-radius: 0 5px 5px 0 !important;
  }

  .room-header {
    margin-bottom: 20px !important;
  }

  .room-title {
    font-size: 18px !important;
    letter-spacing: 0.2px !important;
    font-weight: 600 !important;
  }

  .size-dropdown {
    width: 100% !important;
    padding: 8px 10px !important;
    font-size: 11px !important;
    border-radius: 5px !important;
  }

  .floor-plan {
    margin-bottom: 15px !important;
  }

  .floor-plan img {
    border-radius: 5px !important;
  }

  .room-specs {
    gap: 8px !important;
  }

  .spec-item {
    font-size: 11px !important;
    gap: 5px !important;
    font-weight: 500 !important;
  }

  .spec-item i {
    font-size: 13px !important;
  }
}

/* Room Types Section Header & Overall Layout - Mobile Responsive */
/* iPad Pro and large tablets (landscape) */
@media (max-width: 1024px) {
  #room-types {
    padding: 80px 0 !important;
  }

  #room-types .section-header {
    margin-bottom: 35px !important;
    text-align: center !important;
  }

  #room-types .section-label {
    font-size: 16px !important;
    margin-bottom: 10px !important;
    letter-spacing: 1.5px !important;
  }

  #room-types .section-title {
    font-size: 3.5rem !important;
    letter-spacing: -0.5px !important;
    line-height: 1.1 !important;
  }

  #room-types .container {
    padding: 0 25px !important;
  }
}

/* Tablets (portrait) and smaller */
@media (max-width: 991px) {
  #room-types {
    padding: 70px 0 !important;
  }

  #room-types .section-header {
    margin-bottom: 30px !important;
  }

  #room-types .section-label {
    font-size: 15px !important;
    letter-spacing: 1.3px !important;
  }

  #room-types .section-title {
    font-size: 3rem !important;
    letter-spacing: -0.3px !important;
  }

  #room-types .container {
    padding: 0 20px !important;
  }

  /* Improve tab scrolling UX */
  .room-nav-tabs::-webkit-scrollbar {
    height: 4px !important;
  }

  .room-nav-tabs::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 2px !important;
  }

  .room-nav-tabs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 2px !important;
  }
}

/* iPad (portrait) and smaller tablets */
@media (max-width: 768px) {
  #room-types {
    padding: 60px 0 !important;
  }

  #room-types .section-header {
    margin-bottom: 25px !important;
    padding: 0 15px !important;
  }

  #room-types .section-label {
    font-size: 14px !important;
    letter-spacing: 1.2px !important;
    margin-bottom: 8px !important;
  }

  #room-types .section-title {
    font-size: 2.5rem !important;
    letter-spacing: -0.2px !important;
    line-height: 1.15 !important;
  }

  #room-types .container {
    padding: 0 15px !important;
  }

  /* Better touch targets for tabs */
  .room-tab {
    min-width: 90px !important;
    padding: 12px 18px !important;
    font-size: 11px !important;
  }

  /* Improve dropdown UX */
  .size-dropdown {
    padding: 12px 15px !important;
    font-size: 13px !important;
    border-width: 2px !important;
  }
}

/* Mobile devices */
@media (max-width: 576px) {
  #room-types {
    padding: 50px 0 !important;
  }

  #room-types .section-header {
    margin-bottom: 20px !important;
    padding: 0 12px !important;
  }

  #room-types .section-label {
    font-size: 13px !important;
    letter-spacing: 1px !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
  }

  #room-types .section-title {
    font-size: 2rem !important;
    letter-spacing: 0px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
  }

  #room-types .container {
    padding: 0 12px !important;
  }

  /* Optimize navigation for mobile */
  .room-type-navigation {
    margin: 0 -12px !important;
    border-radius: 0 !important;
  }

  /* Better visual hierarchy */
  .room-nav-title {
    text-align: center !important;
    width: 100% !important;
  }

  /* Improve tab touch targets */
  .room-tab {
    min-width: 80px !important;
    padding: 11px 16px !important;
    touch-action: manipulation !important;
  }

  /* Better dropdown visibility */
  .size-dropdown {
    font-size: 12px !important;
    padding: 11px 14px !important;
    height: 44px !important;
    line-height: 22px !important;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  #room-types {
    padding: 40px 0 !important;
  }

  #room-types .section-header {
    margin-bottom: 18px !important;
    padding: 0 10px !important;
  }

  #room-types .section-label {
    font-size: 12px !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 6px !important;
  }

  #room-types .section-title {
    font-size: 1.75rem !important;
    letter-spacing: 0px !important;
    line-height: 1.25 !important;
  }

  #room-types .container {
    padding: 0 10px !important;
  }

  /* Full-width navigation on very small screens */
  .room-type-navigation {
    margin: 0 -10px !important;
    padding: 18px 10px !important;
  }

  /* Compact but touchable tabs */
  .room-tab {
    min-width: 70px !important;
    padding: 10px 14px !important;
    font-size: 10px !important;
  }

  /* Comfortable dropdown */
  .size-dropdown {
    font-size: 11px !important;
    padding: 10px 12px !important;
    height: 42px !important;
  }

  /* Better spacing for room content */
  .room-content {
    padding-top: 15px !important;
  }

  /* Optimize image slider controls */
  .slider-nav {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
  }
}

/* =================================
   Master Plan Section with Navigation
   ================================= */
.master-plan-section {
  padding: 120px 0;
  /* Background will be set dynamically via PHP inline styles */
}

/* Master Plan Navigation */
.master-plan-navigation {
  border-radius: 25px !important;
  padding: 50px;
  /* Box-shadow will be set dynamically via PHP inline styles */
  margin-bottom: 80px;
  border: 1px solid rgba(105, 103, 48, 0.1);
  transition: all 0.3s ease;
}

.master-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid
    var(--master-plan-border-color, rgba(105, 103, 48, 0.2));
}

.master-plan-nav-title {
  font-size: 24px;
  font-weight: 600;
  /* Color will be set dynamically via PHP inline styles */
  letter-spacing: 2px;
}

.master-plan-controls {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Master Plan Tabs */
.master-plan-tabs {
  display: flex;
  gap: 0;
  border-radius: 12px !important;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.master-plan-tab {
  padding: 12px 25px;
  /* Background will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-shrink: 0;
  white-space: nowrap;
  border-radius: 0 !important;
}

.master-plan-tab:first-child {
  border-radius: 12px 0 0 12px !important;
}

.master-plan-tab:last-child {
  border-radius: 0 12px 12px 0 !important;
}

.master-plan-tab:hover,
.master-plan-tab:focus {
  outline: none;
}

/* Building Selector */
.building-selector {
  position: relative;
}

.building-dropdown {
  padding: 12px 20px;
  /* Border will be set dynamically via PHP inline styles */
  border-radius: 8px;
  /* Background will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-width: 200px;

  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23696730%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 10px;
  padding-right: 40px;
}

.building-dropdown:focus {
  outline: none;
  /* Box-shadow will be set dynamically via PHP inline styles */
}

/* Master Plan Content */
.master-plan-content {
  display: none;
}

.master-plan-content.active {
  display: block;
}

.master-plan-wrapper {
  position: relative;
}

.master-plan-image {
  position: relative;
  text-align: center;
  border-radius: 15px;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  max-width: 960px;
  /* Box-shadow will be set dynamically via PHP inline styles */
  /* Background will be set dynamically via PHP inline styles */
}

.master-plan-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.master-plan-zoom {
  position: absolute;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(
    135deg,
    var(--primary-olive),
    var(--secondary-beige)
  );
  /* Color will be set dynamically via PHP inline styles */
  border: none;
  padding: 15px 25px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  /* Box-shadow will be set dynamically via PHP inline styles */
}

.master-plan-zoom:hover {
  transform: translateY(-3px);
  /* Box-shadow will be set dynamically via PHP inline styles */
  background: linear-gradient(
    135deg,
    var(--secondary-beige),
    var(--accent-gold)
  );
}

.master-plan-zoom i {
  font-size: 16px;
}

/* Master Plan Features */
.master-plan-features {
  margin-top: 80px;
}

.plan-feature {
  text-align: center;
  padding: 40px 20px;
  /* Background will be set dynamically via PHP inline styles */
  border-radius: 20px;
  height: 100%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.plan-feature:hover {
  transform: translateY(-8px);
  border-color: rgba(105, 103, 48, 0.2);
  /* Box-shadow will be set dynamically via PHP inline styles */
}

.plan-feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-olive),
    var(--secondary-beige)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.plan-feature:hover .plan-feature-icon {
  transform: scale(1.1);
  /* Box-shadow will be set dynamically via PHP inline styles */
}

.plan-feature-icon i {
  font-size: 32px;
  /* Color will be set dynamically via PHP inline styles */
}

.plan-feature-title {
  font-size: 20px;
  font-weight: 600;
  /* Color will be set dynamically via PHP inline styles */
  margin-bottom: 15px;
}

.plan-feature-text {
  font-size: 14px;
  /* Color will be set dynamically via PHP inline styles */
  line-height: 1.6;
  font-weight: 400;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .master-plan-header {
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
  }

  .master-plan-controls {
    width: 100%;
    flex-direction: column;
    gap: 20px;
  }

  .master-plan-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .building-dropdown {
    width: 100%;
  }

  .master-plan-navigation {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .master-plan-zoom {
    bottom: 15px;
    right: 15px;
    padding: 12px 20px;
    font-size: 13px;
  }

  .master-plan-zoom span {
    display: none;
  }

  .plan-feature {
    padding: 30px 15px;
  }

  .plan-feature-icon {
    width: 60px;
    height: 60px;
  }

  .plan-feature-icon i {
    font-size: 24px;
  }

  .plan-feature-title {
    font-size: 18px;
  }

  .master-plan-nav-title {
    font-size: 18px;
  }
}

/* Master Plan Section - Comprehensive Mobile/Tablet/iPad UX Optimization */
/* iPad Pro and large tablets (landscape) */
@media (max-width: 1024px) {
  .master-plan-section {
    padding: 80px 0 !important;
  }

  .master-plan-navigation {
    padding: 40px 30px !important;
    margin-bottom: 50px !important;
    border-radius: 20px !important;
  }

  .master-plan-header {
    flex-direction: column !important;
    gap: 25px !important;
    align-items: flex-start !important;
    margin-bottom: 30px !important;
    padding-bottom: 20px !important;
  }

  .master-plan-nav-title {
    font-size: 22px !important;
    letter-spacing: 1.8px !important;
    font-weight: 600 !important;
  }

  .master-plan-controls {
    width: 100% !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
  }

  .master-plan-tabs {
    flex: 1 !important;
    min-width: 200px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .master-plan-tab {
    padding: 12px 24px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    font-weight: 600 !important;
  }

  .building-selector {
    flex: 1 !important;
    min-width: 200px !important;
  }

  .building-dropdown {
    width: 100% !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
    min-width: unset !important;
    height: 48px !important;
  }

  .master-plan-image {
    max-width: 100% !important;
    border-radius: 12px !important;
  }

  .master-plan-zoom {
    padding: 14px 24px !important;
    font-size: 14px !important;
    bottom: 20px !important;
    right: 20px !important;
  }

  .plan-feature {
    padding: 35px 20px !important;
  }

  .plan-feature-icon {
    width: 70px !important;
    height: 70px !important;
    margin-bottom: 18px !important;
  }

  .plan-feature-icon i {
    font-size: 28px !important;
  }

  .plan-feature-title {
    font-size: 19px !important;
    margin-bottom: 10px !important;
  }

  .plan-feature-text {
    font-size: 14px !important;
  }
}

/* Tablets (portrait) and smaller */
@media (max-width: 991px) {
  .master-plan-section {
    padding: 70px 0 !important;
  }

  .master-plan-navigation {
    padding: 35px 25px !important;
    margin-bottom: 45px !important;
    border-radius: 18px !important;
  }

  .master-plan-nav-title {
    font-size: 20px !important;
    letter-spacing: 1.5px !important;
    text-align: center !important;
    width: 100% !important;
  }

  .master-plan-controls {
    flex-direction: column !important;
    gap: 18px !important;
  }

  .master-plan-tabs {
    width: 100% !important;
    justify-content: center !important;
    overflow-x: auto !important;
  }

  .master-plan-tab {
    padding: 11px 20px !important;
    font-size: 12px !important;
    min-width: 100px !important;
  }

  .building-dropdown {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    height: 46px !important;
    text-align: center !important;
  }

  .master-plan-image {
    border-radius: 10px !important;
    margin: 0 auto !important;
  }

  .master-plan-zoom {
    padding: 12px 20px !important;
    font-size: 13px !important;
    bottom: 18px !important;
    right: 18px !important;
  }

  .master-plan-features {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .plan-feature {
    padding: 30px 18px !important;
  }

  .plan-feature-icon {
    width: 65px !important;
    height: 65px !important;
  }

  .plan-feature-icon i {
    font-size: 26px !important;
  }

  .plan-feature-title {
    font-size: 18px !important;
  }

  /* Custom scrollbar for tabs */
  .master-plan-tabs::-webkit-scrollbar {
    height: 4px !important;
  }

  .master-plan-tabs::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 2px !important;
  }

  .master-plan-tabs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 2px !important;
  }
}

/* iPad (portrait) and smaller tablets */
@media (max-width: 768px) {
  .master-plan-section {
    padding: 60px 0 !important;
  }

  .master-plan-navigation {
    padding: 30px 20px !important;
    margin-bottom: 40px !important;
    border-radius: 15px !important;
  }

  .master-plan-nav-title {
    font-size: 18px !important;
    letter-spacing: 1.2px !important;
    margin-bottom: 0 !important;
  }

  .master-plan-header {
    margin-bottom: 25px !important;
    padding-bottom: 18px !important;
  }

  .master-plan-controls {
    gap: 15px !important;
  }

  .master-plan-tabs {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    border-radius: 8px !important;
  }

  .master-plan-tabs::-webkit-scrollbar {
    height: 4px !important;
  }

  .master-plan-tabs::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 2px !important;
  }

  .master-plan-tabs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 2px !important;
  }

  .master-plan-tab {
    padding: 11px 20px !important;
    font-size: 12px !important;
    min-width: 100px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    border-radius: 0 !important;
  }

  .master-plan-tab:first-child {
    border-radius: 8px 0 0 8px !important;
  }

  .master-plan-tab:last-child {
    border-radius: 0 8px 8px 0 !important;
  }

  .building-dropdown {
    padding: 11px 15px !important;
    font-size: 12px !important;
    height: 44px !important;
    border-radius: 8px !important;
  }

  .master-plan-image {
    border-radius: 8px !important;
  }

  .master-plan-zoom {
    padding: 10px 18px !important;
    font-size: 12px !important;
    bottom: 15px !important;
    right: 15px !important;
    border-radius: 6px !important;
  }

  .master-plan-zoom span {
    display: none !important;
  }

  .master-plan-zoom i {
    margin-right: 0 !important;
  }

  .master-plan-features {
    gap: 18px !important;
  }

  .plan-feature {
    padding: 28px 15px !important;
    border-radius: 10px !important;
  }

  .plan-feature-icon {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 15px !important;
  }

  .plan-feature-icon i {
    font-size: 24px !important;
  }

  .plan-feature-title {
    font-size: 17px !important;
    margin-bottom: 8px !important;
  }

  .plan-feature-text {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
}

/* Mobile devices */
@media (max-width: 576px) {
  .master-plan-section {
    padding: 50px 0 !important;
  }

  .master-plan-navigation {
    padding: 25px 15px !important;
    margin-bottom: 35px !important;
    border-radius: 12px !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  .master-plan-nav-title {
    font-size: 16px !important;
    letter-spacing: 1px !important;
    font-weight: 600 !important;
  }

  .master-plan-header {
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
    overflow: visible !important;
  }

  .master-plan-controls {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    align-items: stretch !important;
    overflow: visible !important;
  }

  .master-plan-tabs {
    gap: 0 !important;
    width: 100% !important;
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    border-radius: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .master-plan-tabs::-webkit-scrollbar {
    height: 4px !important;
  }

  .master-plan-tabs::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 2px !important;
  }

  .master-plan-tabs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 2px !important;
  }

  .master-plan-tab {
    padding: 12px 20px !important;
    font-size: 12px !important;
    min-width: 100px !important;
    flex-shrink: 0 !important;
    letter-spacing: 0.5px !important;
    touch-action: manipulation !important;
    white-space: nowrap !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
  }

  .master-plan-tab:first-child {
    border-radius: 10px 0 0 10px !important;
  }

  .master-plan-tab:last-child {
    border-radius: 0 10px 10px 0 !important;
  }

  .building-dropdown {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    height: 46px !important;
    border-width: 2px !important;
    border-radius: 10px !important;
  }

  .master-plan-image {
    border-radius: 6px !important;
    margin: 0 -15px !important;
    max-width: calc(100% + 30px) !important;
    border-radius: 0 !important;
  }

  .master-plan-zoom {
    padding: 10px 16px !important;
    font-size: 11px !important;
    bottom: 12px !important;
    right: 12px !important;
  }

  .master-plan-features {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    margin: 0 -15px !important;
    padding: 0 !important;
  }

  .plan-feature {
    padding: 25px 15px !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
  }

  .plan-feature:first-child {
    border-top: none !important;
  }

  .plan-feature:last-child {
    border-bottom: none !important;
  }

  .plan-feature-icon {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: 12px !important;
  }

  .plan-feature-icon i {
    font-size: 22px !important;
  }

  .plan-feature-title {
    font-size: 16px !important;
    margin-bottom: 6px !important;
    font-weight: 600 !important;
  }

  .plan-feature-text {
    font-size: 12px !important;
    line-height: 1.6 !important;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  .master-plan-section {
    padding: 40px 0 !important;
  }

  .master-plan-navigation {
    padding: 20px 12px !important;
    margin-bottom: 30px !important;
  }

  .master-plan-nav-title {
    font-size: 15px !important;
    letter-spacing: 0.8px !important;
  }

  .master-plan-header {
    margin-bottom: 18px !important;
    padding-bottom: 12px !important;
    overflow: visible !important;
  }

  .master-plan-controls {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    align-items: stretch !important;
    overflow: visible !important;
  }

  .master-plan-tabs {
    width: 100% !important;
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 8px !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .master-plan-tabs::-webkit-scrollbar {
    height: 4px !important;
  }

  .master-plan-tabs::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 2px !important;
  }

  .master-plan-tabs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 2px !important;
  }

  .master-plan-tab {
    padding: 11px 18px !important;
    font-size: 11px !important;
    min-width: 90px !important;
    flex-shrink: 0 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    border-radius: 0 !important;
  }

  .master-plan-tab:first-child {
    border-radius: 8px 0 0 8px !important;
  }

  .master-plan-tab:last-child {
    border-radius: 0 8px 8px 0 !important;
  }

  .building-dropdown {
    width: 100% !important;
    padding: 11px 14px !important;
    font-size: 12px !important;
    height: 44px !important;
    border-radius: 8px !important;
  }

  .master-plan-zoom {
    padding: 8px 14px !important;
    font-size: 10px !important;
    bottom: 10px !important;
    right: 10px !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .plan-feature {
    padding: 22px 12px !important;
  }

  .plan-feature-icon {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 10px !important;
  }

  .plan-feature-icon i {
    font-size: 20px !important;
  }

  .plan-feature-title {
    font-size: 15px !important;
    margin-bottom: 5px !important;
  }

  .plan-feature-text {
    font-size: 11px !important;
  }
}

/* =================================
   End of Master Plan Section CSS
   ================================= */

/* =================================
   Enhanced Partners Section
   ================================= */
.partners-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  min-height: 150px;
}

.partners-section *,
.partners-section *::before,
.partners-section *::after {
  background-color: transparent !important;
}

.partners-wrapper {
  text-align: center;
  padding: 20px 0;
}

.partners-title {
  font-size: 14px;
  font-weight: 400;
  /* Color will be set dynamically via PHP inline styles */
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.partners-slider {
  position: relative;
  overflow: hidden;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 80px;
  animation: scroll-partners 30s linear infinite;
}

.partner-logo {
  flex-shrink: 0;
  width: 150px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  opacity: 0.6;
}

.partner-logo:hover img {
  opacity: 1;
}

@keyframes scroll-partners {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* =================================
   Complete Room Types Section CSS (Final)
   ================================= */

/* Section Base */
.projects-showcase {
  padding: 120px 0;
  /* Background will be set dynamically via PHP inline styles */
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  /* Color will be set dynamically via PHP inline styles */
  margin-bottom: 15px;
  font-weight: 500;
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 200;
  /* Color will be set dynamically via PHP inline styles */
  letter-spacing: -1px;
  margin-bottom: 15px;
}

.section-description {
  font-size: 18px;
  /* Color will be set dynamically via PHP inline styles */
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
}

/* Room Type Navigation */
.room-type-navigation {
  /* Background will be set dynamically via PHP inline styles */
  border-radius: 20px;
  padding: 40px;
  /* Box-shadow will be set dynamically via PHP inline styles */
  margin-bottom: 40px;
}

.room-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-gray);
}

.room-nav-title {
  font-size: 24px;
  font-weight: 600;
  /* Color will be set dynamically via PHP inline styles */
  letter-spacing: 2px;
  margin: 0;
}

.room-nav-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 5px;
}

.room-tab {
  padding: 12px 20px;
  /* Background will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  border: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;

  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  min-width: 120px;
}

.room-tab:first-child {
  border-radius: 8px 0 0 8px !important;
}

.room-tab:last-child {
  border-radius: 0 8px 8px 0 !important;
}

/* Room Content */
.room-content {
  display: none;
  padding-top: 10px;
}

.room-content.active {
  display: block;
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  /* border-bottom: 2px solid rgba(105, 103, 48, 0.2); */
}

.room-title {
  font-size: 24px;
  font-weight: 600;
  /* Color will be set dynamically via PHP inline styles */
  letter-spacing: 1px;
  margin: 0;
}

.size-dropdown {
  padding: 12px 20px;
  /* Border will be set dynamically via PHP inline styles */
  border-radius: 8px !important;
  /* Background will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  min-width: 220px;

  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23CF9B62%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  padding-right: 45px;
}

.size-dropdown:focus {
  outline: none;
  /* Box-shadow will be set dynamically via PHP inline styles */
}

/* Detail Type */
.detail-type {
  margin-top: 30px;
}

.detail-type .row {
  align-items: flex-start; /* เริ่มจากด้านบนเดียวกัน */
  min-height: 450px;
}

/* Box Detail - Left Column (41.67%) */
.box-detail {
  padding: 25px 15px 0 15px; /* top margin เดียวกัน */
}

/* Img Unit - Floor Plan */
.img-unit {
  position: relative;
  width: 100%;
  height: 350px; /* ความสูงคงที่ */
  margin-bottom: 12px; /* ลดจาก 20px เป็น 12px - ชิดกับ info มากขึ้น */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-unit img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Box-shadow will be set dynamically via PHP inline styles */
}

/* Styles for Room Type Image Slider */
.img-unit-right-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden; /* ป้องกันภาพล้นกรอบ */
}

.img-unit-right-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ทำให้ภาพเต็มกรอบโดยไม่เสียสัดส่วน */
  opacity: 0;
  transition: opacity 1.5s ease-in-out; /* เอฟเฟกต์ fade in/out */
  border-radius: 15px; /* ทำให้ขอบมน (ถ้าต้องการ) */
}

.img-unit-right-slider .slide.active {
  opacity: 1; /* แสดงภาพที่มีคลาส active เท่านั้น */
}

/* Styling for Slider Navigation Arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  padding: 16px;
  font-size: 20px;
  font-weight: bold;
  user-select: none; /* ป้องกันการเลือกข้อความบนปุ่ม */
  transition: background-color 0.3s ease;
  z-index: 10;
}

.slider-nav:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.prev-slide {
  left: 0;
  border-radius: 0 5px 5px 0;
}

.next-slide {
  right: 0;
  border-radius: 5px 0 0 5px;
}

/* Unit Detail - Horizontal Layout - Enhanced Luxury Style */
.unit-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1px;
  padding: 5px 20px;
  gap: 20px;
}

.bedroom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  gap: 12px;
}

.bedroom i {
  width: 48px;
  height: 48px;
  /* Background will be set dynamically via PHP inline styles */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  /* Color will be set dynamically via PHP inline styles */
  font-size: 22px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bedroom:hover i {
  /* transform: scale(1.1); */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.text-detail {
  font-size: 11px;
  /* Color will be set dynamically via PHP inline styles */
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  text-align: center;
  line-height: 1;
}

/* Area - Values Row - Enhanced */
.area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 45px;
  padding: 0 20px;
  gap: 20px;
}

.text-area {
  font-size: 15px;
  font-weight: 500;
  /* Color will be set dynamically via PHP inline styles */
  text-align: center;
  flex: 1;
  letter-spacing: 0.5px;
}

/* Right Column (58.33%) */
.col-lg-7.col-xxl-7 {
  padding: 25px 15px 0 15px; /* top margin เดียวกัน */
}

.img-unit-right {
  position: relative;
  width: 100%;
  height: 380px; /* ความสูงคงที่ */
  margin-bottom: 75px; /* เพิ่มเป็น 75px เพื่อให้รวมแล้วเท่ากับฝั่งซ้าย */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-unit-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Box-shadow will be set dynamically via PHP inline styles */
}

.disclaimer {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  font-size: 10px;
  border-radius: 4px;
}

/* Detail Type Section - Mobile Responsive */
/* iPad Pro and large tablets (landscape) */
@media (max-width: 1024px) {
  .detail-type {
    margin-top: 40px !important;
  }

  .detail-type .row {
    flex-direction: column !important;
    min-height: auto !important;
    gap: 30px !important;
  }

  .box-detail {
    width: 100% !important;
    max-width: 100% !important;
    padding: 25px 20px !important;
    margin-bottom: 0 !important;
  }

  .col-lg-7.col-xxl-7 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 25px 20px !important;
  }

  /* Floor Plan Image - Much Larger */
  .img-unit {
    height: 450px !important;
    margin-bottom: 25px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }

  .img-unit img {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Room Preview Image - Much Larger */
  .img-unit-right {
    height: 500px !important;
    margin-bottom: 30px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }

  .img-unit-right img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Unit Details - Larger Icons and Text */
  .unit-detail {
    padding: 12px 20px !important;
    margin-bottom: 20px !important;
    gap: 25px !important;
  }

  .bedroom i {
    width: 56px !important;
    height: 56px !important;
    font-size: 26px !important;
    margin-bottom: 10px !important;
  }

  .text-detail {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 1.2px !important;
  }

  .area {
    padding: 12px 20px !important;
    margin-bottom: 30px !important;
    gap: 25px !important;
  }

  .text-area {
    font-size: 16px !important;
    font-weight: 600 !important;
  }
}

/* Tablets (portrait) and smaller */
@media (max-width: 991px) {
  .room-nav-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .room-nav-tabs {
    width: 100%;
    justify-content: flex-start;
  }

  .room-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .size-dropdown {
    width: 100%;
  }

  .room-type-navigation {
    padding: 25px 20px;
  }

  .detail-type {
    margin-top: 35px !important;
  }

  .detail-type .row {
    flex-direction: column !important;
    min-height: auto !important;
    gap: 25px !important;
  }

  .box-detail {
    width: 100% !important;
    padding: 20px 15px !important;
    margin-bottom: 0 !important;
  }

  .col-lg-7.col-xxl-7 {
    width: 100% !important;
    padding: 20px 15px !important;
  }

  /* Floor Plan Image */
  .img-unit {
    height: 400px !important;
    margin-bottom: 20px !important;
    border-radius: 10px !important;
  }

  /* Room Preview Image */
  .img-unit-right {
    height: 450px !important;
    margin-bottom: 25px !important;
    border-radius: 10px !important;
  }

  .unit-detail {
    padding: 10px 15px !important;
    margin-bottom: 18px !important;
    gap: 20px !important;
  }

  .bedroom i {
    width: 52px !important;
    height: 52px !important;
    font-size: 24px !important;
  }

  .text-detail {
    font-size: 12px !important;
    font-weight: 600 !important;
  }

  .area {
    padding: 10px 15px !important;
    margin-bottom: 25px !important;
    gap: 20px !important;
  }

  .text-area {
    font-size: 15px !important;
    font-weight: 600 !important;
  }
}

/* iPad (portrait) and smaller tablets */
@media (max-width: 768px) {
  .projects-showcase {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .room-nav-tabs {
    gap: 2px;
  }

  .room-tab {
    padding: 10px 15px;
    font-size: 11px;
    min-width: 100px;
  }

  .room-title {
    font-size: 20px;
  }

  .detail-type {
    margin-top: 30px !important;
  }

  .box-detail,
  .col-lg-7.col-xxl-7 {
    padding: 18px 12px !important;
  }

  /* Floor Plan Image - Large and Comfortable */
  .img-unit {
    height: 350px !important;
    margin-bottom: 18px !important;
    border-radius: 8px !important;
  }

  /* Room Preview Image - Large and Comfortable */
  .img-unit-right {
    height: 380px !important;
    margin-bottom: 22px !important;
    border-radius: 8px !important;
  }

  .unit-detail {
    padding: 10px 12px !important;
    margin-bottom: 15px !important;
    gap: 18px !important;
  }

  .bedroom i {
    width: 46px !important;
    height: 46px !important;
    font-size: 20px !important;
    margin-bottom: 8px !important;
  }

  .text-detail {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
  }

  .area {
    padding: 10px 12px !important;
    margin-bottom: 20px !important;
    gap: 18px !important;
  }

  .text-area {
    font-size: 14px !important;
    font-weight: 600 !important;
  }
}

/* Mobile devices */
@media (max-width: 576px) {
  .detail-type {
    margin-top: 25px !important;
  }

  .box-detail,
  .col-lg-7.col-xxl-7 {
    padding: 15px 10px !important;
  }

  /* Floor Plan Image - Optimized for Mobile Viewing */
  .img-unit {
    height: 320px !important;
    margin-bottom: 15px !important;
    border-radius: 6px !important;
  }

  /* Room Preview Image - Optimized for Mobile Viewing */
  .img-unit-right {
    height: 340px !important;
    margin-bottom: 20px !important;
    border-radius: 6px !important;
  }

  .unit-detail {
    padding: 8px 10px !important;
    margin-bottom: 12px !important;
    gap: 15px !important;
  }

  .bedroom i {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
    margin-bottom: 6px !important;
  }

  .text-detail {
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
  }

  .area {
    padding: 8px 10px !important;
    margin-bottom: 18px !important;
    gap: 15px !important;
  }

  .text-area {
    font-size: 13px !important;
    font-weight: 600 !important;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  .detail-type {
    margin-top: 20px !important;
  }

  .box-detail,
  .col-lg-7.col-xxl-7 {
    padding: 12px 8px !important;
  }

  /* Floor Plan Image - Still Large Enough to See Details */
  .img-unit {
    height: 280px !important;
    margin-bottom: 12px !important;
    border-radius: 5px !important;
  }

  /* Room Preview Image - Still Large Enough to See Details */
  .img-unit-right {
    height: 300px !important;
    margin-bottom: 15px !important;
    border-radius: 5px !important;
  }

  .unit-detail {
    padding: 8px 8px !important;
    margin-bottom: 10px !important;
    gap: 12px !important;
  }

  .bedroom {
    gap: 6px !important;
  }

  .bedroom i {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
    margin-bottom: 4px !important;
  }

  .text-detail {
    font-size: 9px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
  }

  .area {
    padding: 8px 8px !important;
    margin-bottom: 15px !important;
    gap: 12px !important;
  }

  .text-area {
    font-size: 12px !important;
    font-weight: 600 !important;
  }

  /* Slider Navigation - Touch-Friendly */
  .slider-nav {
    padding: 12px !important;
    font-size: 16px !important;
  }

  .disclaimer {
    font-size: 8px !important;
    padding: 4px 8px !important;
  }
}

/* Remove Old Elements */
.room-layout-improved,
.room-layout-balanced,
.room-specs-improved,
.room-specs-minimal,
.room-content-row,
.floor-plan-column,
.room-preview-column {
  display: none !important;
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar Styling */
.room-nav-tabs::-webkit-scrollbar {
  height: 4px;
}

.room-nav-tabs::-webkit-scrollbar-track {
  /* Background will be set dynamically via PHP inline styles */
  border-radius: 2px;
}

.room-nav-tabs::-webkit-scrollbar-thumb {
  /* Background will be set dynamically via PHP inline styles */
  border-radius: 2px;
}

/* Remove border-radius from everything except specific elements */
* {
  border-radius: 0 !important;
}

.bedroom i {
  border-radius: 50% !important;
}

.room-tab:first-child {
  border-radius: 8px 0 0 8px !important;
}

.room-tab:last-child {
  border-radius: 0 8px 8px 0 !important;
}

.room-type-navigation {
  border-radius: 20px !important;
}

.size-dropdown {
  border-radius: 8px !important;
}

.disclaimer {
  border-radius: 4px !important;
}

/* เพิ่มท้าย estuaria.css */

/* =================================
   Reduced Section Spacing Override - Ultra Compact
   ================================= */

/* Override default section padding - Much smaller spacing */
.concept-section,
.project-info-section,
.projects-showcase,
.virtual-tour-section,
.gallery-section,
.master-plan-section,
.location-section,
.booking-inquiry-section,
.contact-professional,
.exclusive-services-section {
  padding: 20px 0 !important;
}

/* Partners section even smaller */
.partners-section {
  padding: 20px 0 !important;
}

/* Reduce section header margins significantly */
.section-header {
  margin-bottom: 20px !important;
}

.virtual-tour-title {
  margin-bottom: 20px !important;
}

.master-plan-features {
  margin-top: 20px !important;
}

/* Additional compact spacing rules */
.contact-header {
  margin-bottom: 5px !important;
}

.header-location {
  margin-bottom: 20px !important;
}

.gallery-cta-section {
  padding-top: 15px !important;
}

/* Remove default margins between sections */
section + section {
  margin-top: 0 !important;
}

/* Ensure no bottom margin on last elements in sections */
section .container:last-child,
section .row:last-child,
section > div:last-child {
  margin-bottom: 0 !important;
}

/* Compact hero section */
.hero-section {
  margin-bottom: 0 !important;
}

/* Mobile responsive - ultra compact spacing */
@media (max-width: 768px) {
  .concept-section,
  .project-info-section,
  .projects-showcase,
  .virtual-tour-section,
  .gallery-section,
  .master-plan-section,
  .location-section,
  .booking-inquiry-section,
  .contact-professional,
  .exclusive-services-section {
    padding: 20px 0 !important;
  }

  .partners-section {
    padding: 15px 0 !important;
  }

  .section-header {
    margin-bottom: 15px !important;
  }

  .virtual-tour-title {
    margin-bottom: 15px !important;
  }

  .master-plan-features {
    margin-top: 15px !important;
  }
}

@media (max-width: 576px) {
  .concept-section,
  .project-info-section,
  .projects-showcase,
  .virtual-tour-section,
  .gallery-section,
  .master-plan-section,
  .location-section,
  .booking-inquiry-section,
  .contact-professional,
  .exclusive-services-section {
    padding: 15px 0 !important;
  }

  .partners-section {
    padding: 10px 0 !important;
  }

  .section-header {
    margin-bottom: 10px !important;
  }
}

/* เพิ่มท้าย estuaria.css */

/* =================================
   Professional Contact Section (From index.php style)
   ================================= */

/* Professional Contact Section */
.contact-professional {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* padding: 20px 0 !important; */
  overflow: hidden;
}

.contact-professional::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(
      135deg,
      rgba(245, 240, 230, 0.4) 0%,
      rgba(249, 247, 244, 0.6) 100%
    ); */
  z-index: 0;
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(248, 249, 250, 0.96) 50%,
    rgba(245, 240, 230, 0.98) 100%
  );
  z-index: 1;
}

.contact-professional .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}

.contact-header {
  text-align: center;
  margin-bottom: 80px;
}

.contact-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  /* Color will be set dynamically via PHP inline styles */ /* ใช้สี Estuaria primary */
  text-transform: uppercase;
  padding: 8px 24px;
  border: 1px solid rgba(105, 103, 48, 0.3);
  border-radius: 30px;
  margin-bottom: 30px;
  background: rgba(105, 103, 48, 0.05);
}

.contact-title {
  font-size: 48px;
  font-weight: 200;
  /* Color will be set dynamically via PHP inline styles */
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.contact-subtitle {
  font-size: 18px;
  /* Color will be set dynamically via PHP inline styles */
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 300;
}

.contact-form-container {
  display: flex;
  justify-content: center;
}

.contact-form-wrapper {
  width: 100%;
  max-width: 800px;
  /* Background will be set dynamically via PHP inline styles */
  border-radius: 20px;
  padding: 60px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15), 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.form-field {
  position: relative;
}

.form-input-pro,
.form-select-pro {
  width: 100%;
  padding: 20px 0 8px 0;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  background: transparent;
  font-size: 16px;

  /* Color will be set dynamically via PHP inline styles */
  transition: all 0.3s ease;
  outline: none;
  appearance: none;
}

.form-select-pro {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 20px;
}

.form-input-pro:focus,
.form-input-pro:focus ~ .form-line,
.form-select-pro:focus ~ .form-line {
  width: 100%;
  /* Background will be set dynamically via PHP inline styles */ /* ใช้สี Estuaria primary */
}

.form-label-pro {
  position: absolute;
  left: 0;
  top: 20px;
  font-size: 16px;
  /* Color will be set dynamically via PHP inline styles */
  pointer-events: none;
  transition: all 0.3s ease;
  font-weight: 400;
}

.form-input-pro:focus ~ .form-label-pro,
.form-input-pro:not(:placeholder-shown) ~ .form-label-pro,
.form-select-pro:focus ~ .form-label-pro,
.form-select-pro:valid ~ .form-label-pro {
  top: 0;
  font-size: 12px;
  font-weight: 500;
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  transition: width 0.3s ease;
}

.form-submit-container {
  text-align: center;
}

.btn-submit-pro {
  position: relative;
  padding: 18px 50px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;

  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  min-width: 280px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit-pro:active {
  transform: translateY(0);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-progress {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.form-field:focus-within {
  transform: translateY(-2px);
}

.btn-submit-pro.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn-submit-pro.loading .btn-text::after {
  content: "";
  width: 16px;
  height: 16px;
  margin-left: 10px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 991px) {
  .contact-form-wrapper {
    padding: 40px;
  }

  .form-grid {
    gap: 30px;
  }

  .contact-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .contact-professional {
    padding: 80px 0;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-subtitle {
    font-size: 16px;
  }

  .btn-submit-pro {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 576px) {
  .contact-header {
    margin-bottom: 50px;
  }

  .contact-badge {
    font-size: 10px;
    padding: 6px 20px;
  }

  .form-input-pro,
  .form-select-pro {
    font-size: 15px;
  }

  .form-label-pro {
    font-size: 15px;
  }
}

/* เพิ่มท้าย estuaria.css */

/* =================================
   Simple Virtual Tour Styles
   ================================= */

.virtual-tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
  justify-items: center;
  justify-content: center;
  max-width: 100%;
}

.virtual-tour-item {
  text-align: center;
  width: 100%;
  max-width: 400px;
}

.tour-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.tour-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 25px;
  cursor: pointer;
}

.tour-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-link:hover .tour-image,
.virtual-tour-item:hover .tour-image {
  transform: scale(1.05);
}

.tour-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(105, 103, 48, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tour-link:hover .tour-overlay,
.virtual-tour-item:hover .tour-overlay {
  opacity: 1;
}

.tour-360-icon {
  /* Color will be set dynamically via PHP inline styles */
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.tour-play-icon {
  /* Color will be set dynamically via PHP inline styles */
  font-size: 48px;
  transition: transform 0.3s ease;
}

.tour-link:hover .tour-play-icon,
.virtual-tour-item:hover .tour-play-icon {
  transform: scale(1.2);
}

/* Coming Soon State */
.tour-overlay.coming-soon {
  background: rgba(150, 150, 150, 0.8);
  cursor: not-allowed;
}

.tour-overlay.coming-soon .tour-360-icon {
  animation: none;
}

.tour-overlay.coming-soon .tour-play-icon {
  font-size: 36px;
  opacity: 0.7;
}

/* Tour Info */
.tour-info {
  text-align: center;
}

.tour-unit-title {
  font-size: 20px;
  font-weight: 600;
  /* Color will be set dynamically via PHP inline styles */
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.tour-unit-details {
  font-size: 14px;
  /* Color will be set dynamically via PHP inline styles */
  font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .virtual-tour-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tour-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .tour-image {
    height: 250px;
  }

  .tour-360-icon {
    font-size: 20px;
  }

  .tour-play-icon {
    font-size: 40px;
  }
}

/* เพิ่มท้าย estuaria.css */

/* =================================
   Brochure View Button
   ================================= */
.brochure-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid rgba(105, 103, 48, 0.2);
  text-align: center;
}

.btn-brochure {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 35px;
  background: linear-gradient(
    135deg,
    var(--primary-olive) 0%,
    var(--secondary-beige) 100%
  );
  /* Color will be set dynamically via PHP inline styles */
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  /* Box-shadow will be set dynamically via PHP inline styles */
  border: none;
  cursor: pointer;
}

.btn-brochure:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-beige) 0%,
    var(--accent-gold) 100%
  );
  transform: translateY(-3px);
  /* Box-shadow will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  text-decoration: none;
}

.btn-brochure:focus {
  outline: none;
  /* Box-shadow will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  text-decoration: none;
}

.btn-brochure:active {
  transform: translateY(-1px);
}

.btn-brochure i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.btn-brochure:hover i {
  transform: scale(1.1) rotate(5deg);
}

/* Alternative button style - เพิ่มคลาส outline version */
.btn-brochure-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: transparent;
  /* Color will be set dynamically via PHP inline styles */
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  /* Border will be set dynamically via PHP inline styles */
  cursor: pointer;
}

.btn-brochure-outline:hover {
  /* Background will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  transform: translateY(-3px);
  /* Box-shadow will be set dynamically via PHP inline styles */
  text-decoration: none;
}

.btn-brochure-outline:focus {
  outline: none;
  /* Box-shadow will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .brochure-section {
    margin-top: 30px;
    padding-top: 25px;
  }

  .btn-brochure,
  .btn-brochure-outline {
    padding: 16px 30px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .btn-brochure,
  .btn-brochure-outline {
    padding: 14px 25px;
    font-size: 13px;
  }

  .btn-brochure i,
  .btn-brochure-outline i {
    font-size: 18px;
  }
}

/* เพิ่มท้าย estuaria.css */

/* =================================
   Gallery View All Button
   ================================= */
.gallery-cta-section {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid rgba(105, 103, 48, 0.1);
}

.btn-view-all-gallery {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 20px 45px;
  background: linear-gradient(
    135deg,
    var(--primary-olive) 0%,
    var(--secondary-beige) 100%
  );
  /* Color will be set dynamically via PHP inline styles */
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.4s ease;
  /* Box-shadow will be set dynamically via PHP inline styles */
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-view-all-gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-view-all-gallery:hover::before {
  left: 100%;
}

.btn-view-all-gallery:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-beige) 0%,
    var(--accent-gold) 100%
  );
  /* transform: translateY(-4px); */
  /* Box-shadow will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  text-decoration: none;
}

.btn-view-all-gallery:focus {
  outline: none;
  /* Box-shadow will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  text-decoration: none;
}

.btn-view-all-gallery:active {
  transform: translateY(-2px);
}

.btn-view-all-gallery i:first-child {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.btn-view-all-gallery i:last-child {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.btn-view-all-gallery:hover i:first-child {
  transform: scale(1.2);
}

.btn-view-all-gallery:hover i:last-child {
  transform: translateX(5px);
}

/* Alternative Button Style - เลือกใช้แทนได้ */
.btn-view-all-gallery-outline {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 18px 40px;
  background: transparent;
  /* Color will be set dynamically via PHP inline styles */
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.4s ease;
  /* Border will be set dynamically via PHP inline styles */
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-view-all-gallery-outline:hover {
  /* Color will be set dynamically via PHP inline styles */
  transform: translateY(-4px);
  /* Box-shadow will be set dynamically via PHP inline styles */
  text-decoration: none;
}

.btn-view-all-gallery-outline:focus {
  outline: none;
  /* Box-shadow will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  text-decoration: none;
}

/* Enhanced Gallery Grid Spacing */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 0; /* รีเซ็ต margin เดิม */
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .gallery-cta-section {
    margin-top: 50px;
    padding-top: 35px;
  }

  .btn-view-all-gallery,
  .btn-view-all-gallery-outline {
    padding: 18px 35px;
    font-size: 16px;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .gallery-cta-section {
    margin-top: 40px;
    padding-top: 30px;
  }

  .btn-view-all-gallery,
  .btn-view-all-gallery-outline {
    padding: 16px 30px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
    max-width: 350px;
  }

  .btn-view-all-gallery i:first-child,
  .btn-view-all-gallery-outline i:first-child {
    font-size: 20px;
  }

  .btn-view-all-gallery i:last-child,
  .btn-view-all-gallery-outline i:last-child {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .btn-view-all-gallery,
  .btn-view-all-gallery-outline {
    padding: 14px 25px;
    font-size: 14px;
    letter-spacing: 1px;
  }

  .btn-view-all-gallery i:first-child,
  .btn-view-all-gallery-outline i:first-child {
    font-size: 18px;
  }
}

/* =================================
   Exclusive Services - Organized Layout with Smaller Items
   ================================= */
.exclusive-services-section .box {
  border-radius: 25px !important;
  padding: 50px;
  /* Box-shadow will be set dynamically via PHP inline styles */
  transition: all 0.3s ease;
  max-width: 100%;
  width: 100%;
  margin-bottom: 80px;
  border: 1px solid rgba(105, 103, 48, 0.1);
}

.exclusive-services-section .box:hover {
  /* Box-shadow will be set dynamically via PHP inline styles */
  border-color: rgba(105, 103, 48, 0.2);
}

/* Header styling to match master-plan */
.exclusive-services-section .header-location {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(105, 103, 48, 0.2);
}

.exclusive-services-section .main-menu-location {
  font-size: 24px;
  font-weight: 600;
  /* Color will be set dynamically via PHP inline styles */
  letter-spacing: 2px;
  margin: 0;
}

.exclusive-services-section .menu-location {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Service Tabs - Same styling as master-plan tabs */
.exclusive-services-section .service-tabs {
  display: flex;
  gap: 0;
  /* Background will be set dynamically via PHP inline styles */
  border-radius: 12px !important;
  padding: 0;
  overflow: hidden;
  /* Box-shadow will be set dynamically via PHP inline styles */
}

.exclusive-services-section .service-tab {
  padding: 12px 25px;
  /* Background will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;

  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.exclusive-services-section .service-tab:first-child {
  border-radius: 12px 0 0 12px !important;
}

.exclusive-services-section .service-tab:last-child {
  border-radius: 0 12px 12px 0 !important;
}

.exclusive-services-section .service-tab.active {
  /* Background will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  transform: none;
  /* Box-shadow will be set dynamically via PHP inline styles */
}

/* Mobile Service Selector - Same as master-plan building selector */
.exclusive-services-section .service-mobile-selector {
  display: none;
  position: relative;
}

.exclusive-services-section .service-select {
  padding: 12px 20px;
  /* Border will be set dynamically via PHP inline styles */
  border-radius: 8px;
  /* Background will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-width: 250px;

  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23696730%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 10px;
  padding-right: 40px;
}

.exclusive-services-section .service-select:focus {
  outline: none;
  /* Box-shadow will be set dynamically via PHP inline styles */
}

/* Content area styling */
.exclusive-services-section .services-content {
  margin-top: 20px;
}

.service-display {
  display: none;
}

.service-display.active {
  display: block;
}

/* Service Categories */
.service-category {
  margin-bottom: 40px;
}

.service-category:last-child {
  margin-bottom: 0;
}

.service-category-title {
  font-size: 22px;
  font-weight: 400;
  /* Color will be set dynamically via PHP inline styles */
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
  position: relative;
}

.service-category-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-olive) 0%,
    var(--secondary-beige) 100%
  );
}

/* Service Grid - Organized Layout with Smaller Items */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
}

/* Service Items - Smaller and More Organized */
.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 15px 10px;
  border-radius: 12px;
  background: rgba(105, 103, 48, 0.02);
  border: 1px solid transparent;
  width: 100%;
  max-width: 160px;
  min-height: 140px;
  justify-content: space-between;
}

.service-item:hover {
  transform: translateY(-3px);
  background: rgba(105, 103, 48, 0.05);
  border-color: rgba(105, 103, 48, 0.1);
  /* Box-shadow will be set dynamically via PHP inline styles */
}

/* Smaller Icon Wrapper */
.service-icon-wrapper-large {
  width: 70px;
  height: 70px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service-item:hover .service-icon-wrapper-large {
  transform: scale(1.05);
}

/* Smaller Icon Image */
.service-icon-img-large {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.service-item:hover .service-icon-img-large {
  transform: scale(1.02);
  filter: drop-shadow(0 2px 6px rgba(105, 103, 48, 0.2));
}

/* Smaller Service Item Text */
.service-item-text {
  font-size: 15px;
  font-weight: 500;
  /* Color will be set dynamically via PHP inline styles */
  line-height: 1.3;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
  text-align: center;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-item:hover .service-item-text {
  /* Color will be set dynamically via PHP inline styles */
  font-weight: 600;
}

/* Mobile Responsive - Organized Layout */
@media (max-width: 991px) {
  .exclusive-services-section .header-location {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
  }

  .exclusive-services-section .menu-location {
    width: 100%;
    flex-direction: column;
    gap: 15px;
  }

  .exclusive-services-section .service-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .exclusive-services-section .service-select {
    width: 100%;
    min-width: auto;
  }

  .exclusive-services-section .box {
    padding: 30px 20px;
  }

  .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    max-width: 900px;
  }

  .service-item {
    max-width: 180px;
    min-height: 160px;
    padding: 20px 12px;
  }

  .service-icon-wrapper-large {
    width: 95px;
    height: 95px;
    margin-bottom: 15px;
  }

  .service-icon-img-large {
    width: 85px;
    height: 85px;
  }

  .service-item-text {
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
  }

  .service-category-title {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .service-category {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .exclusive-services-section .service-tabs {
    display: none;
  }

  .exclusive-services-section .service-mobile-selector {
    display: block;
    width: 100%;
  }

  .exclusive-services-section .main-menu-location {
    font-size: 22px;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 100%;
  }

  .service-item {
    max-width: none;
    min-height: 155px;
    padding: 15px 10px;
  }

  .service-icon-wrapper-large {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
  }

  .service-icon-img-large {
    width: 70px;
    height: 70px;
  }

  .service-item-text {
    font-size: 13px !important;
    line-height: 1.3 !important;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    font-weight: 500 !important;
  }

  .service-category-title {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .service-category {
    margin-bottom: 35px;
  }
}

@media (max-width: 576px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .service-item {
    min-height: 156px;
    padding: 13px 7px;
  }

  .service-icon-wrapper-large {
    width: 72px;
    height: 72px;
    margin-bottom: 10px;
  }

  .service-icon-img-large {
    width: 65px;
    height: 65px;
  }

  .service-item-text {
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
  }

  .service-category-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .service-category {
    margin-bottom: 30px;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .service-item {
    min-height: 143px;
    padding: 10px 5px;
  }

  .service-icon-wrapper-large {
    width: 65px;
    height: 65px;
    margin-bottom: 8px;
  }

  .service-icon-img-large {
    width: 59px;
    height: 59px;
  }

  .service-item-text {
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
  }

  .service-category-title {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .service-category {
    margin-bottom: 28px;
  }
}

/* iPad and tablets (portrait) */
@media (min-width: 768px) and (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .service-item {
    max-width: 200px;
    min-height: 170px;
    padding: 25px 15px;
  }

  .service-icon-wrapper-large {
    width: 85px;
    height: 85px;
    margin-bottom: 15px;
  }

  .service-icon-img-large {
    width: 75px;
    height: 75px;
  }

  .service-item-text {
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
  }

  .service-category-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .service-category {
    margin-bottom: 45px;
  }
}

/* Additional Grid Layout for Perfect Organization */
@media (min-width: 1200px) {
  .service-grid {
    grid-template-columns: repeat(6, 1fr);
    max-width: 1100px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .service-grid {
    grid-template-columns: repeat(5, 1fr);
    max-width: 900px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 700px;
  }
}
/* =================================
   Beautiful Service Tabs Design
   ================================= */
.exclusive-services-section .menu-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Service Tabs */
.service-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  /* Background will be set dynamically via PHP inline styles */
  border-radius: 50px;
  padding: 8px;
  /* Box-shadow will be set dynamically via PHP inline styles */
  max-width: 800px;
  margin: 0 auto 20px;
}

.service-tab {
  flex: 1;
  padding: 15px 25px;
  background: transparent;
  border: none;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  /* Color will be set dynamically via PHP inline styles */
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  white-space: nowrap;
}

.service-tab.active {
  background: linear-gradient(
    135deg,
    var(--primary-olive) 0%,
    var(--secondary-beige) 100%
  );
  /* Color will be set dynamically via PHP inline styles */
  transform: translateY(-2px);
  /* Box-shadow will be set dynamically via PHP inline styles */
}

.service-tab:hover:not(.active) {
  /* Color will be set dynamically via PHP inline styles */
  color: inherit;
}

.service-tab:hover,
.service-tab:focus {
  outline: none;
}

.tab-text {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Mobile Service Selector */
.service-mobile-selector {
  display: none;
}

.service-select {
  width: 100%;
  padding: 15px 20px;
  /* Background will be set dynamically via PHP inline styles */
  /* Border will be set dynamically via PHP inline styles */
  border-radius: 25px;
  font-size: 14px;
  /* Color will be set dynamically via PHP inline styles */
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%23696730' d='M6 9L1.5 4.5 2.5 3.5 6 7 9.5 3.5 10.5 4.5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 20px center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-select:focus {
  outline: none;
  /* Box-shadow will be set dynamically via PHP inline styles */
}

/* Mobile Responsive for Tabs */
@media (max-width: 991px) {
  .service-tabs {
    flex-direction: column;
    gap: 10px;
    border-radius: 15px;
    padding: 15px;
  }

  .service-tab {
    border-radius: 10px;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .service-tabs {
    display: none;
  }

  .service-mobile-selector {
    display: block;
    width: 100%;
  }
}

/* Service Content Display */
.service-display {
  display: none;
}

.service-display.active {
  display: block;
}

/* =================================
   Interactive Location Section
   ================================= */
.location-section .box {
  /* Background will be set dynamically via PHP inline styles */
  border-radius: 15px;
  padding: 50px;
  /* Box-shadow will be set dynamically via PHP inline styles */
  transition: all 0.3s ease;
  max-width: 100%;
  width: 100%;
}

.location-section .box:hover {
  /* Box-shadow will be set dynamically via PHP inline styles */
  box-shadow: inherit;
}

/* Header Location Styling */
.header-location {
  text-align: center;
  margin-bottom: 50px;
}

.main-menu-location {
  font-size: 24px;
  font-weight: 600;
  /* Color will be set dynamically via PHP inline styles */
  margin-bottom: 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.menu-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.typemap-btn {
  background: linear-gradient(
    135deg,
    var(--primary-olive),
    var(--secondary-beige)
  );
  /* Color will be set dynamically via PHP inline styles */
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  letter-spacing: 0.5px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.typemap-btn i {
  font-size: 16px;
}

.typemap-btn:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-beige),
    var(--primary-olive)
  );
  /* transform: translateY(-2px); */
  /* Box-shadow will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  text-decoration: none;
}

.form-select {
  /* Background will be set dynamically via PHP inline styles */
  /* Border will be set dynamically via PHP inline styles */
  border-radius: 25px;
  padding: 12px 20px;
  font-size: 14px;
  /* Color will be set dynamically via PHP inline styles */
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 45px;
  min-width: 250px;
}

.form-select:focus {
  outline: none;
  /* Color will be set dynamically via PHP inline styles */
  /* Box-shadow will be set dynamically via PHP inline styles */
}

.form-select:hover {
  /* Color will be set dynamically via PHP inline styles */
  color: inherit;
}

/* Map Container */
.map {
  margin-top: 30px;
}

.img-box {
  position: relative;
  overflow: hidden;
  height: 600px;
  /* Background will be set dynamically via PHP inline styles */
  /* border: 1px solid rgba(105, 103, 48, 0.1); */
}

.img-box img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}

.img-map {
  position: absolute !important;
  top: 0;
  left: 0;
  z-index: 0 !important;
}

/* Location Head - Right Panel */
.location-head {
  /* Background will be set dynamically via PHP inline styles */
  border-radius: 15px;
  padding: 40px;
  height: 600px;
  overflow-y: auto;
  /* border: 1px solid rgba(105, 103, 48, 0.1); */
}

.location-head::-webkit-scrollbar {
  width: 6px;
}

.location-head::-webkit-scrollbar-track {
  background: rgba(105, 103, 48, 0.1);
  border-radius: 3px;
}

.location-head::-webkit-scrollbar-thumb {
  /* Background will be set dynamically via PHP inline styles */
  border-radius: 3px;
}

.location-head::-webkit-scrollbar-thumb:hover {
  /* Background will be set dynamically via PHP inline styles */
  background: rgba(105, 103, 48, 0.25);
}

/* Header Map */
.header-map {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--primary-olive);
}

.place {
  font-size: 20px;
  font-weight: 600;
  /* Color will be set dynamically via PHP inline styles */
  letter-spacing: 0.5px;
}

.header-map div img {
  width: 35px;
  height: 35px;
  filter: brightness(0) saturate(100%) invert(30%) sepia(8%) saturate(2478%)
    hue-rotate(69deg) brightness(95%) contrast(86%);
}

/* Detail Items */
.detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid rgba(105, 103, 48, 0.1);
}

.detail:last-child {
  border-bottom: none;
}

.icon-gallery {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.icon-gallery img {
  width: 85px;
  height: 85px;
  border-radius: 8px;
  padding: 0px;
}

.detail-text {
  text-align: left;
  font-size: 16px;
  /* Color will be set dynamically via PHP inline styles */
  font-weight: 500;
  line-height: 1.4;
}

.time {
  font-size: 14px;
  /* Color will be set dynamically via PHP inline styles */
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 15px;
  min-width: 70px;
  text-align: center;
}

/* Mobile Responsive for Location Section */
@media (max-width: 991px) {
  .location-section .box {
    padding: 40px 30px;
  }

  .main-menu-location {
    font-size: 20px;
  }

  .menu-location {
    flex-direction: column;
    gap: 15px;
  }

  .form-select {
    min-width: 100%;
  }

  .img-box {
    height: 500px;
    margin-bottom: 20px;
  }

  .location-head {
    height: auto;
    max-height: 500px;
    padding: 35px;
  }
}

@media (max-width: 768px) {
  .header-location {
    margin-bottom: 30px;
  }

  .main-menu-location {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .typemap-btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .form-select {
    padding: 10px 15px;
    font-size: 13px;
    padding-right: 40px;
  }

  .img-box {
    height: 400px;
  }

  .location-head {
    padding: 30px;
    max-height: 450px;
  }

  .place {
    font-size: 18px;
  }

  .detail-text {
    font-size: 15px;
  }

  .icon-gallery img {
    width: 45px;
    height: 45px;
  }

  .time {
    font-size: 13px;
    padding: 6px 12px;
    min-width: 65px;
  }

  .detail {
    padding: 18px 0;
  }
}

@media (max-width: 576px) {
  .location-section .box {
    padding: 30px 20px;
  }

  .main-menu-location {
    font-size: 16px;
  }

  .img-box {
    height: 350px;
  }

  .location-head {
    padding: 25px;
    max-height: 400px;
  }

  .header-map {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
  }

  .detail {
    padding: 15px 0;
  }

  .icon-gallery {
    gap: 15px;
  }

  .icon-gallery img {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .detail-text {
    font-size: 14px;
  }

  .time {
    font-size: 12px;
    padding: 5px 10px;
    min-width: 60px;
  }

  .place {
    font-size: 16px;
  }

  .header-map div img {
    width: 30px;
    height: 30px;
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px; /* ตำแหน่งมุมซ้ายล่าง */
  width: 48px;
  height: 48px;
  /* Background will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  border: 1px solid #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 999;

  /* ซ่อนปุ่มไว้เป็นค่าเริ่มต้น */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease-in-out;
}

/* สไตล์เมื่อปุ่มถูกแสดง */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  /* Background will be set dynamically via PHP inline styles */
  /* Color will be set dynamically via PHP inline styles */
  /* border-Color will be set dynamically via PHP inline styles */
  transform: translateY(-2px);
  /* Box-shadow will be set dynamically via PHP inline styles */
}
