:root {
  --green: #0D6D40;
  --green-soft: #e6f4ee;
  --text-main: #1f2933;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
  --bg-grey: #f7f8fa;
  --radius-lg: 24px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
}

/* ============================================
   FOOTER MENU - FORCE SHOW ALL ITEMS - ULTIMATE OVERRIDE
   ============================================ */
/* Force show ALL footer menu items - Highest priority at top of file */
html body footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li,
html body footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li,
html body footer .footer-upper-content .container .footer-nav .footer-nav-column:last-child .footer-nav-links li,
html body footer .footer-upper-content .container .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li {
  display: list-item !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 99999 !important;
  clip: auto !important;
  clip-path: none !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  transform: none !important;
  filter: none !important;
  pointer-events: auto !important;
}

/* Force show items 4 and 5 specifically - ABSOLUTE ULTIMATE OVERRIDE */
html body footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li:nth-child(4),
html body footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li:nth-child(5),
html body footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(4),
html body footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(5),
html body footer .footer-upper-content .container .footer-nav .footer-nav-column:last-child .footer-nav-links li:nth-child(4),
html body footer .footer-upper-content .container .footer-nav .footer-nav-column:last-child .footer-nav-links li:nth-child(5),
html body footer .footer-upper-content .container .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(4),
html body footer .footer-upper-content .container .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(5) {
  display: list-item !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 99999 !important;
  clip: auto !important;
  clip-path: none !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  transform: none !important;
  filter: none !important;
  pointer-events: auto !important;
  line-height: normal !important;
  white-space: normal !important;
}

/* Force show footer-nav-links container */
html body footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links,
html body footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links {
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
}

/* Force show footer-nav-column container */
html body footer .footer-upper-content .footer-nav .footer-nav-column:last-child,
html body footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) {
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
}

/* Force show footer-upper-content and footer-upper containers */
html body footer .footer-upper-content,
html body footer .footer-upper {
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
}

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

body {
  font-family: 'Kanit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  max-width: 100vw;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

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

button {
  font-family: 'Kanit', sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 100% - 3rem);
  margin: 0 auto;
}

.facility-page .container {
  width: min(1140px, 100% - 3rem);
  margin: 0 auto;
}

/* ---------- NAVBAR ---------- */
#header-placeholder {
  position: relative !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
}

#header-placeholder > header {
  position: absolute !important;
  top: 1.5rem !important;
  z-index: 1000 !important;
}

header {
  position: sticky !important;
  top: 1.5rem !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  width: calc(100% - 3rem) !important;
  margin: 0 auto;
  max-width: 1400px;
  border-radius: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  gap: 1.2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .04em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 20%, #22c55e, var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  box-shadow: 0 10px 30px rgba(15, 118, 110, .5);
}

.logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.nav-links a {
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  transition: all 0.18s ease;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--green);
  font-weight: 500;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--green);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.9rem;
  font-family: 'Kanit', sans-serif;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 12px 30px rgba(4, 120, 87, .4);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}

.nav-cta span {
  font-size: 1rem;
  transform: translateY(1px);
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: #0b5b34;
  box-shadow: 0 18px 40px rgba(4, 120, 87, .5);
}

/* ---------- QR CODE MODAL ---------- */
.qr-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.qr-modal-overlay.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.qr-modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  pointer-events: auto;
  z-index: 10001;
}

.qr-modal-overlay.active .qr-modal-content {
  transform: scale(1);
}

.qr-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #374151;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10002;
  pointer-events: auto;
}

.qr-modal-close:hover {
  background: #e5e7eb;
  transform: rotate(90deg);
}

.qr-modal-body {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.2rem;
  margin-top: 0.5rem;
}

.qr-code-image {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr-modal-footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.qr-modal-footer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: 'Kanit', sans-serif;
  margin: 0;
  line-height: 1.5;
}

.qr-line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: #06C755;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Kanit', sans-serif;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
  border: none;
  cursor: pointer;
  gap: 0.5rem;
}

.qr-line-button:hover {
  background: #05B048;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6, 199, 85, 0.4);
}

.qr-line-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(6, 199, 85, 0.3);
}

@media (max-width: 600px) {
  .qr-modal-content {
    padding: 1rem;
    width: 90%;
    max-width: 300px;
  }

  .qr-modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .qr-modal-body {
    margin-bottom: 1rem;
    margin-top: 0.5rem;
  }

  .qr-modal-footer p {
    font-size: 0.8rem;
  }

  .qr-code-image {
    max-width: 200px;
  }

  .qr-modal-footer {
    gap: 0.85rem;
  }

  .qr-line-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    width: 100%;
    max-width: 240px;
  }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001 !important;
  position: relative;
  pointer-events: all;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--green);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999 !important;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  overflow: hidden;
  touch-action: none;
  -webkit-overflow-scrolling: none;
}

.mobile-menu-overlay.active {
  display: block !important;
  opacity: 1;
  pointer-events: all;
}

/* Mobile Menu Close Button */
.mobile-menu-close {
  display: none;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  font-family: 'Kanit', sans-serif;
  line-height: 1;
  align-items: center;
  justify-content: center;
  z-index: 10001 !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(13, 109, 64, 0.3);
}

.mobile-menu-close:hover {
  background: #0b5b34;
  transform: scale(1.1);
}

.mobile-menu-close span {
  display: block;
  font-weight: 300;
}

@media (max-width: 900px) {
  header {
    position: absolute !important;
    top: 1rem !important;
    width: calc(100% - 2rem) !important;
    left: 1rem !important;
    right: 1rem !important;
  }

  /* Hide desktop nav-links in mobile */
  .nav-links:not(.active) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    order: 3;
    margin-left: auto;
    pointer-events: all !important;
    cursor: pointer !important;
  }

  .mobile-menu-close {
    display: flex;
  }

  .nav {
    flex-wrap: nowrap;
    position: relative;
    padding: 0.6rem 0;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
  }

  .nav-links {
    display: none !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: calc(100vw - 0px);
    height: 100vh;
    max-height: 100vh;
    background: #ffffff;
    border-left: 1px solid rgba(13, 109, 64, 0.2);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 4rem 1.5rem 2rem;
    gap: 0.5rem;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000 !important;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    will-change: right;
  }

  .nav-links.active {
    display: flex !important;
    right: 0 !important;
    left: auto !important;
  }

  .nav-links a {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    color: #0d6d40;
    font-weight: 500;
    transition: all 0.2s ease;
    display: block;
    background: #ffffff;
    border: 1px solid rgba(13, 109, 64, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: #0d6d40;
    color: #ffffff;
    transform: translateX(4px);
    border-color: #0d6d40;
    box-shadow: 0 4px 12px rgba(13, 109, 64, 0.2);
  }

  .nav-actions {
    gap: 0.75rem;
  }

  .nav-cta {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .nav-cta span:last-child {
    display: none;
  }

  /* Hide language dropdown and nav-cta when menu is open */
  .nav-links.active ~ .nav-actions .language-dropdown,
  .nav-links.active ~ .nav-actions .nav-cta {
    opacity: 0.5;
    pointer-events: none;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
    width: 100%;
    max-width: 100%;
    right: -100%;
    left: auto;
  }

  .nav-links.active {
    display: flex;
    right: 0;
    left: 0;
  }

  body.menu-open {
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    touch-action: none !important;
  }

  html.menu-open {
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    touch-action: none !important;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .language-dropdown {
    font-size: 0.85rem;
  }

  .nav-cta {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
  }

  .mobile-menu-close {
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
}

/* ---------- UTILITIES ---------- */
section {
  padding: 4.5rem 0;
}

.section-headline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.label-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: var(--green-soft);
  color: var(--green);
}

.label-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}

.headline-row {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  flex-wrap: wrap;
}

.headline-bar {
  width: 4px;
  height: 28px;
  border-radius: 999px;
  background: var(--green);
}

h2 {
  font-size: clamp(1.7rem, 2.1vw, 2rem);
  font-weight: 700;
}

.headline-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- HERO ---------- */
#home {
  background: url('image/home/Pinehurst Home.jpg') center/cover no-repeat;
  position: relative;
  padding: 0 !important;
}

#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 27, 27, 0.158);
  z-index: 0;
}

#home .container {
  position: relative;
  z-index: 1;
  padding-top: 7rem;
}

@media (max-width: 900px) {
  #home .container {
    padding-top: 3.5rem;
  }
  
  /* Hero Meta Items - Mobile: Smaller size, 2 columns in one row */
  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-meta-item {
    padding: 0.45rem 0.75rem;
    font-size: 0.7rem;
    border-radius: 6px;
    gap: 0.05rem;
  }
  
  .hero-meta-item strong {
    font-size: 0.85rem;
  }
  
  .hero-meta-item span {
    font-size: 0.65rem;
  }
}

.hero {
  min-height: 80vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.7rem;
  color: #ffffff;
}

.hero-copy h1 span {
  display: block;
  color: var(--green);
}

.hero-copy h1 span[data-translate="hero-title"] {
  color: #ffffff;
}

.hero-sub {
  color: #ffffff;
  font-size: 0.96rem;
  max-width: 30rem;
  margin-bottom: 1.4rem;
}

.hero-meta {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.85rem;
  color: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hero-meta-item strong {
  font-size: 1.1rem;
  color: var(--green);
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn-outline {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: 'Kanit', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.hero-visual {
  position: relative;
}



@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 75vh;
    padding-top: 1rem;
    padding-bottom: 2.5rem;
  }
  
  .hero-actions {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }
  .hero-visual {
    order: -1;
  }
}

/* ---------- HOME SERVICE SUMMARY ---------- */
.service-summary {
  position: relative;
  overflow: hidden;
}

.service-summary-wrapper {
  position: relative;
  background: url('image/background/background 2.webp') center/cover no-repeat;
  padding: 4rem 0;
  z-index: 1;
}

.service-summary-wrapper .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-summary-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.service-summary-wrapper > * {
  position: relative;
  z-index: 3;
}

.service-summary-header {
  text-align: center;
  margin: 0 auto 3rem auto;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  display: block;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-summary-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.02em;
}

.service-summary-subtitle {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem 0;
}

.service-summary-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.service-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

/* แถวแรก: 3 รายการ จัดกึ่งกลาง */
.service-summary-grid .service-image-card:nth-child(1) {
  grid-column: 1 / 5;
  grid-row: 1;
  justify-self: center;
  transform: translateX(calc(-50% - 12.5% - 8rem));
}

.service-summary-grid .service-image-card:nth-child(2) {
  grid-column: 1 / 5;
  grid-row: 1;
  justify-self: center;
}

.service-summary-grid .service-image-card:nth-child(3) {
  grid-column: 1 / 5;
  grid-row: 1;
  justify-self: center;
  transform: translateX(calc(50% + 12.5% + 8rem));
}

/* แถวที่สอง: 4 รายการเต็มความกว้าง */
.service-summary-grid .service-image-card:nth-child(4) {
  grid-column: 1 / 2;
  grid-row: 2;
}

.service-summary-grid .service-image-card:nth-child(5) {
  grid-column: 2 / 3;
  grid-row: 2;
}

.service-summary-grid .service-image-card:nth-child(6) {
  grid-column: 3 / 4;
  grid-row: 2;
}

.service-summary-grid .service-image-card:nth-child(7) {
  grid-column: 4 / 5;
  grid-row: 2;
}

.service-image-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.service-image-card:hover {
  transform: translateY(-5px);
  opacity: 0.9;
}

.service-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 0.4rem;
}

.service-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 18px;
  display: block;
}

.service-image-card:hover .service-image-wrapper img {
  transform: scale(1.05);
}

.service-image-label {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  display: inline-block;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

/* ป้องกัน pseudo-elements ทับซ้อน */
.service-image-label::before,
.service-image-label::after {
  content: none !important;
  display: none !important;
}

/* Force show service-image-label text content */
.service-image-label[data-translate] {
  position: relative !important;
  z-index: 10 !important;
}

.service-image-label[data-translate]::before,
.service-image-label[data-translate]::after {
  content: none !important;
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Ensure text content is visible */
.service-image-label[data-translate] * {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 900px) {
  .service-summary-wrapper {
    padding: 3rem 0;
  }
  
  .service-summary-header {
    margin-bottom: 2rem;
  }
  
  .service-summary-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    justify-items: center;
  }
  
  /* Reset grid positioning for mobile - let cards flow naturally */
  .service-summary-grid .service-image-card {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    max-width: 80% !important;
    width: 80% !important;
    margin: 0 auto !important;
    transform: none !important; /* Reset transform from PC mode */
  }
  
  /* Reset specific card positioning from PC mode */
  .service-summary-grid .service-image-card:nth-child(1),
  .service-summary-grid .service-image-card:nth-child(2),
  .service-summary-grid .service-image-card:nth-child(3) {
    transform: none !important; /* Reset transform for top 3 cards */
  }
}

/* ---------- COURSE & DRIVING RANGE SECTIONS ---------- */
.split-section {
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
  gap: 2.5rem;
  align-items: center;
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #000;
  position: relative;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
}

.split-badge {
  position: absolute;
  left: 1.3rem;
  bottom: 1.3rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 0.75rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: flex-start;
}

.feature-check {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

.feature-item strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 0.1rem;
}

@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-media {
    order: 1;
  }

  .split-section > div:last-child {
    order: 2;
  }
}

/* ---------- HOTEL ---------- */
.hotel {
  background: #ffffff;
}

.hotel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: center;
}

.hotel-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.hotel-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  background: #000;
  position: relative;
}

.hotel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .96;
}

.hotel-tag {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.7rem 0.9rem;
  background: linear-gradient(to top, rgba(15,23,42,.9), transparent);
  color: #fff;
  font-size: 0.8rem;
}

.hotel-copy p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
}

.hotel-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
}

.hotel-badges span {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
}

@media (max-width: 900px) {
  .hotel-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- MEETING & PROGRESS BARS ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.progress-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
}

.progress-item-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.2rem;
  color: var(--text-muted);
}

.progress-bar-outer {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.progress-bar-inner {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #22c55e);
}

.stats-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.9rem;
}

.stats-card {
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 0;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  overflow: hidden;
}

.stats-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.stats-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stats-pill {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--bg-grey);
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FACILITY HERO SECTION ---------- */
.facility-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 800px;
  overflow: hidden;
}

.facility-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.facility-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.facility-sidebar {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 3rem 2.5rem;
  margin-left: 2rem;
  border-radius: 32px;
  max-width: 420px;
  width: calc(100% - 4rem);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.facility-sidebar-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: 'Kanit', sans-serif;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.facility-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.facility-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 350px;
  min-width: 350px;
  max-width: 350px;
}

.facility-list-item:hover {
  background: #f9fafb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.facility-check {
  color: #0d6d40;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(13, 109, 64, 0.1);
  border-radius: 50%;
}

.facility-name {
  color: #0d6d40;
  font-size: 0.95rem;
  font-weight: 400;
  font-family: 'Kanit', sans-serif;
  line-height: 1.4;
  white-space: normal;
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

@media (max-width: 768px) {
  .facility-hero-section {
    height: 70vh;
    min-height: 500px;
    max-height: 100vh;
  }
  
  .facility-sidebar {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 6rem 0.75rem 2rem 0.75rem !important;
    max-width: 100% !important;
    width: calc(100% - 1.5rem) !important;
    padding: 1.5rem 1rem !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  
  .facility-sidebar-title {
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
    padding: 0.75rem 1rem !important;
    text-align: center !important;
  }
  
  .facility-list {
    width: 100% !important;
    max-width: 100% !important;
    gap: 0.5rem !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  .facility-list-item {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0.625rem 0.875rem !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.625rem !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
  }
  
  .facility-check {
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 0.9rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .facility-name {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
    white-space: normal !important;
    flex: 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  
  /* Shuttle bus hours - Mobile: Display on same line */
  .facility-detail-subtitle h3 .shuttle-hours {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
  }
  
  /* Shuttle bus - Mobile: Display title first, then text, then image */
  .facility-detail-content.facility-detail-reverse.facility-detail-60-40 {
    display: flex;
    flex-direction: column;
  }
  
  .facility-detail-content.facility-detail-reverse.facility-detail-60-40 .facility-detail-text {
    order: 0;
  }
  
  .facility-detail-content.facility-detail-reverse.facility-detail-60-40 .facility-detail-image-wrapper {
    order: 1;
  }
  
  /* Mobile: Hide desktop title, show mobile title at top */
  .shuttle-bus-title-mobile {
    display: block !important;
    margin-bottom: 1.5rem;
  }
  
  .shuttle-bus-title-desktop {
    display: none !important;
  }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
  .facility-hero-section {
    height: auto;
    min-height: 400px;
    max-height: 100vh;
  }
  
  .facility-sidebar {
    margin: 5rem 0.5rem 1.5rem 0.5rem !important;
    width: calc(100% - 1rem) !important;
    padding: 1.25rem 0.75rem !important;
    border-radius: 16px !important;
  }
  
  .facility-sidebar-title {
    font-size: 1.1rem !important;
    padding: 0.625rem 0.875rem !important;
    margin-bottom: 0.875rem !important;
    text-align: center !important;
  }
  
  .facility-list {
    gap: 0.5rem !important;
  }
  
  .facility-list-item {
    padding: 0.5rem 0.75rem !important;
    gap: 0.5rem !important;
  }
  
  .facility-check {
    width: 18px !important;
    height: 18px !important;
    font-size: 0.8rem !important;
  }
  
  .facility-name {
    font-size: 0.8rem !important;
    line-height: 1.25 !important;
    line-height: 1.3 !important;
  }
  
  .facility-check {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.95rem !important;
  }
}

/* ---------- FACILITY DETAIL SECTION ---------- */
.facility-detail-section {
  padding: 4rem 0;
}

/* Golf Course Map Section - Desktop Layout */
@media (min-width: 769px) {
  #golf-course-map-section .golf-course-map-container {
    width: 950px;
    height: 1050px;
    max-width: 950px;
    max-height: 1050px;
    overflow: auto;
    margin: 0 auto;
  }
}

/* Equipment Rental Section - Fixed Background */
.equipment-rental-section {
  position: relative;
  background-image: url('image/background/background-4.png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-clip: padding-box;
}

.equipment-rental-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.534);
  z-index: 1;
  pointer-events: none;
}

.equipment-rental-section .container {
  position: relative;
  z-index: 2;
}

.facility-detail-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

/* Center content vertically for specific sections (desktop only) */
@media (min-width: 901px) {
  .facility-detail-content.align-center {
    align-items: center;
  }

  /* Shuttle bus section: keep content aligned to top instead of centered */
  .facility-detail-content.align-center.shuttle-bus-content {
    align-items: flex-start;
  }

  /* Slightly lower the shuttle bus text block for better vertical balance */
  .facility-detail-content.shuttle-bus-content .facility-detail-text {
    margin-top: 8.5rem;
  }
}

.facility-detail-reverse {
  grid-template-columns: 1fr 1.2fr;
}

.facility-detail-60-40 {
  /* Use equal columns for image and text (50/50 layout) */
  grid-template-columns: 1fr 1fr;
}

/* Shuttle bus title - Desktop: Show above image in right column, hide mobile version */
.shuttle-bus-title-mobile {
  display: none;
}

.facility-detail-image-wrapper .shuttle-bus-title-desktop {
  margin-bottom: 1.5rem;
  display: block;
}

/* Swimming Pool title - Desktop: Hide when it's a direct child */
/* Removed: Hide swimming pool title on desktop - now showing on all screen sizes */

.facility-detail-image-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.facility-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #000;
  position: relative;
}

.facility-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.meeting-room-size-table {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.facility-detail-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.facility-detail-subtitle {
  margin-bottom: 0.5rem;
}

.facility-detail-subtitle h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

/* Default: hide mobile-only Spa title on desktop */
.spa-mobile-title {
  display: none;
}

/* Default: hide mobile-only Sport Club title on desktop */
.sportclub-mobile-title {
  display: none;
}

.facility-detail-subtitle h3 .shuttle-hours {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.facility-detail-description {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.facility-detail-description p {
  margin: 0;
}

.facility-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.facility-gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1;
  background: #000;
  position: relative;
}

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

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

@media (max-width: 900px) {
  .facility-detail-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    display: flex;
    flex-direction: column;
  }
  
  /* Locker Room - Mobile: Move text after title, before image */
  .facility-detail-content .facility-detail-text {
    order: 0;
  }
  
  .facility-detail-content .facility-detail-image {
    order: 1;
  }

  /* Spa section - Mobile: move image below text only for spa block */
  .facility-detail-content.spa-mobile-reverse .facility-detail-image-wrapper {
    order: 1;
  }
  .facility-detail-content.spa-mobile-reverse .facility-detail-text {
    order: 0;
  }
  
  /* Spa title - show separate mobile heading and hide desktop one */
  .spa-mobile-title {
    display: block;
    margin-bottom: 1.5rem;
  }
  
  .spa-desktop-title {
    display: none;
  }

  /* Sport Club - Mobile: move image (with title) below text */
  .facility-detail-content.sportclub-mobile-reverse .facility-detail-image-wrapper {
    order: 1;
  }
  .facility-detail-content.sportclub-mobile-reverse .facility-detail-text {
    order: 0;
  }
  
  /* Sport Club title - mobile: use separate heading above content */
  .sportclub-mobile-title {
    display: block;
    margin-bottom: 1.5rem;
  }
  
  .sportclub-desktop-title {
    display: none;
  }

  .facility-detail-reverse {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  
  /* Swimming Pool title - Mobile: Show and move above "เปิดให้บริการ" */
  .facility-detail-content.facility-detail-reverse > .swimming-pool-title {
    display: block !important;
    order: -1;
    margin-bottom: 1.5rem;
  }
  
  .facility-detail-content.facility-detail-reverse > .facility-detail-text {
    order: 0;
  }
  
  .facility-detail-content.facility-detail-reverse > .facility-detail-image-wrapper {
    order: 1;
  }

  .facility-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .facility-gallery {
    grid-template-columns: 1fr;
  }
  
  /* Shuttle bus title - Mobile: Show when it's a direct child */
  /* Shuttle bus title is now outside facility-detail-content, so no need for this rule */
}

/* ---------- MEETING GALLERY ---------- */
.meeting-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.5rem;
}

.meeting-gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3;
  background: #000;
  position: relative;
}

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

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

@media (max-width: 900px) {
  .meeting-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .meeting-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}

/* ---------- FACILITIES CARDS ---------- */
.facility-section {
  background: var(--bg-grey);
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: stretch;
}

/* Center the last 3 cards in the second row - use wrapper div with flexbox */
.facility-cards-bottom-wrapper {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.3rem;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.facility-cards-bottom-wrapper .facility-card {
  flex: 0 0 calc((100% - 2.6rem) / 4);
  width: calc((100% - 2.6rem) / 4);
  max-width: calc((100% - 2.6rem) / 4);
  min-width: 0;
  box-sizing: border-box;
}

/* Center the last 3 cards by leaving column 4 empty */

/* Center the last 3 cards */

.facility-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

.facility-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1rem;
  margin-bottom: 0.4rem;
  padding: 8px;
  margin-left: auto;
  margin-right: auto;
}

.facility-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.facility-card strong {
  font-size: 0.95rem;
}

.facility-card p {
  color: var(--text-muted);
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .facility-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .facility-cards-bottom-wrapper {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: stretch !important;
    align-items: stretch !important;
  }

  .facility-cards-bottom-wrapper .facility-card {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Card ที่ 3 ให้อยู่แถวที่ 2 column แรก (ซ้าย) */
  .facility-cards-bottom-wrapper .facility-card:nth-child(3) {
    grid-column: 1 / 2 !important;
  }

  .facility-card {
    padding: 1.2rem 1rem;
    font-size: 0.85rem;
  }

  .facility-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.3rem;
    margin-left: auto;
    margin-right: auto;
  }

  .facility-card strong {
    font-size: 0.9rem;
  }

  .facility-card p {
    font-size: 0.8rem;
  }
}

/* ---------- FAQ ---------- */
.faq-section {
  background: #fff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  border-radius: 16px;
  background: var(--bg-grey);
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease;
}

.faq-item.open {
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.faq-question span {
  color: var(--text-main);
  font-weight: 500;
}

.faq-toggle {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: max-height .2s ease;
}

.faq-item.open .faq-answer {
  margin-top: 0.45rem;
  max-height: 200px;
}

/* ---------- CONTACT ---------- */
/* ---------- CONTACT HERO ---------- */
.contact-hero {
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0 !important;
}

.contact-hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.contact-hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
  display: block;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .contact-hero-image {
    width: 100%;
    height: auto;
  }
}

/* CONTACT HERO - SIMPLE TEXT (NO GLASS CARD) */
.contact-hero-simple {
  position: relative;
}

.contact-hero-simple .contact-hero-heading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #ffffff;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 600;
  font-family: 'Kanit', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}

.contact {
  background: var(--bg-grey);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.4rem;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.contact-card form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
}

.field label {
  color: var(--text-muted);
}

.field input,
.field textarea {
  padding: 0.6rem 0.7rem;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(13, 109, 64, 0.1);
}

.contact-card button {
  margin-top: 0.4rem;
  justify-content: center;
  width: fit-content;
  font-family: 'Kanit', sans-serif;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
}

.info-block {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.info-block strong {
  display: block;
  margin-bottom: 0.3rem;
}

.map-placeholder {
  margin-top: 0.9rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #e5f6f0, #c7eadc);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq-section {
  background: var(--bg-grey);
  padding: 4rem 0;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.faq-question {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Kanit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.faq-question:hover {
  background: var(--green-soft);
  color: var(--green);
}

.faq-question span:first-child {
  flex: 1;
}

.faq-icon {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--green);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.1rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.1rem 0.85rem 1.1rem;
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .faq-container {
    grid-template-columns: 1fr;
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 3rem 0;
  }

  .faq-question {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .faq-answer {
    padding: 0 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1rem 0.75rem 1rem;
  }

  .faq-answer p {
    font-size: 0.8rem;
  }
}

/* ---------- FOOTER ---------- */
#footer-placeholder {
  min-height: 200px; /* Ensure footer placeholder has minimum height */
  position: relative;
}

footer {
  position: relative;
  background: url('image/background/background 2.webp') center/cover no-repeat;
  color: #fff;
  overflow: visible !important;
  width: 100%;
  display: block;
  min-height: auto !important;
  max-height: none !important;
  height: auto !important;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

footer > * {
  position: relative;
  z-index: 2;
}

.footer-upper {
  padding: 4rem 0;
  overflow: visible !important;
  min-height: auto !important;
  max-height: none !important;
  height: auto !important;
}

.footer-upper-content {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr 1fr !important;
  gap: 4rem !important;
  align-items: start !important;
  position: relative;
  z-index: 10;
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  padding: 0 2rem !important;
  box-sizing: border-box;
  min-height: auto !important;
  max-height: none !important;
  height: auto !important;
}

/* Force footer-nav to span columns 2 and 3 (Desktop only) */
@media (min-width: 901px) {
  .footer-upper-content {
    grid-template-rows: auto !important;
  }
  
  .footer-left {
    grid-column: 1 !important;
    grid-row: 1 !important;
    order: 1 !important;
  }
  
  .footer-upper-content > .footer-nav {
    grid-column: 2 / -1 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem !important;
    order: 2 !important;
  }
}

/* Override .container styles when used with .footer-upper-content */
.container.footer-upper-content {
  width: 100% !important;
  max-width: 1400px !important;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  grid-column: 1;
  position: relative;
  z-index: 10;
}

.footer-slogan {
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff !important;
  margin: 0;
  line-height: 1.5;
  position: relative;
  z-index: 10;
}

.footer-social {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.95;
  position: relative;
  z-index: 10;
}

.social-icon:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.social-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.footer-nav {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 3rem !important;
  grid-column: 2 / -1 !important;
  position: relative;
  z-index: 10;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  min-width: 0;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: start !important;
  align-items: start !important;
  grid-auto-flow: row !important;
}

/* Force both columns to be visible */
.footer-nav > .footer-nav-column {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100%;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  position: relative !important;
  z-index: 10 !important;
  flex: 1 1 0;
  align-items: flex-start !important;
}

/* Ensure second column is visible */
.footer-nav > .footer-nav-column:nth-child(2) {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100%;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  position: relative !important;
  z-index: 10 !important;
  flex: 1 1 0;
  align-items: flex-start !important;
}

.footer-nav-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  position: relative;
  z-index: 10;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  flex: 1 1 0;
}

/* Ensure both columns are visible */
.footer-nav-column:nth-child(1),
.footer-nav-column:nth-child(2) {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  position: relative !important;
  z-index: 10 !important;
  flex: 1 1 0;
}

/* Force show all menu items in Recommended Menu - Ultimate override */
footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links,
footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links {
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
}

footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li,
footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li {
  display: list-item !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  clip: auto !important;
  clip-path: none !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  width: 100% !important;
  position: relative !important;
  z-index: 999 !important;
  transform: none !important;
  filter: none !important;
}

/* Force show items 4 and 5 specifically - Maximum specificity for PC - ULTIMATE OVERRIDE */
footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li:nth-child(4),
footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li:nth-child(5),
footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(4),
footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(5),
body footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li:nth-child(4),
body footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li:nth-child(5),
body footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(4),
body footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(5),
html body footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li:nth-child(4),
html body footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li:nth-child(5),
html body footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(4),
html body footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(5) {
  display: list-item !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 9999 !important;
  clip: auto !important;
  clip-path: none !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  transform: none !important;
  filter: none !important;
  pointer-events: auto !important;
}

.footer-nav-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff !important;
  margin: 0 0 1rem 0 !important;
  text-transform: none;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 10;
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

.footer-nav-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 1rem !important;
  position: relative;
  z-index: 10;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
}

.footer-nav-links li {
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  z-index: 10;
  display: list-item !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  width: 100% !important;
  clip: auto !important;
  clip-path: none !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
}

/* Ensure all list items are visible - Maximum specificity */
.footer-nav-links li:nth-child(1),
.footer-nav-links li:nth-child(2),
.footer-nav-links li:nth-child(3),
.footer-nav-links li:nth-child(4),
.footer-nav-links li:nth-child(5),
.footer-nav-links li:nth-child(6),
.footer-nav-links li:nth-child(7),
.footer-nav-links li:nth-child(8),
.footer-nav-links li:nth-child(9),
.footer-nav-links li:nth-child(10),
/* Force show items 4 and 5 specifically for Recommended Menu */
footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li:nth-child(4),
footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li:nth-child(5),
footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(4),
footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(5),
.footer-nav-column:last-child .footer-nav-links li:nth-child(4),
.footer-nav-column:last-child .footer-nav-links li:nth-child(5),
.footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(4),
.footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(5) {
  display: list-item !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 10 !important;
  clip: auto !important;
  clip-path: none !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  transform: none !important;
  filter: none !important;
}

.footer-nav-links a {
  color: #fff !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
  line-height: 1.6 !important;
  opacity: 1 !important;
  display: block !important;
  font-weight: 400 !important;
  position: relative;
  z-index: 10;
  visibility: visible !important;
  width: 100% !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
}

.footer-nav-links a:hover {
  opacity: 1;
  text-decoration: none;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  width: 100%;
}

.footer-lower {
  padding: 2rem 0;
}

.footer-lower-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-lower-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-lang-switcher {
  display: flex;
  align-items: center;
}

.footer-lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
}

.footer-lang-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.35);
}

.footer-lang-btn span:first-child {
  font-size: 0.9rem;
}

.footer-lang-btn span:last-child {
  font-size: 0.65rem;
  margin-left: 0.25rem;
  opacity: 0.8;
}

.footer-lang-switcher {
  position: relative;
}

.footer-lang-dropdown-menu {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 0.5rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 150px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-lang-switcher.open .footer-lang-dropdown-menu {
  display: block;
}

.footer-lang-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: 'Kanit', sans-serif;
  text-align: left;
}

.footer-lang-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer-lang-dropdown-item.active {
  background: rgba(13, 109, 64, 0.3);
}

.footer-lang-dropdown-item.active .footer-lang-check {
  display: inline;
  color: #0d6d40;
}

.footer-lang-check {
  display: none;
  font-weight: bold;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #fff;
  opacity: 0.95;
}

.footer-lower-right {
  display: flex;
  align-items: center;
}

.footer-privacy {
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
  opacity: 0.95;
}

.footer-privacy:hover {
  opacity: 1;
}


@media (max-width: 900px) {
  .footer-upper {
    padding: 3rem 0;
  }
  
  /* Footer Mobile: Main layout 1 column */
  .footer-upper-content {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 2.5rem !important;
    padding: 0 1rem;
    display: grid !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  
  .footer-left {
    gap: 1.5rem;
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 1;
  }
  
  /* Footer Mobile: Menu section 2 columns (เมนูหลัก / เมนูแนะนำ) */
  .footer-nav {
    grid-column: 1 !important;
    grid-row: 2 !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-auto-flow: row !important;
    order: 2;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  
  /* Footer Mobile: Ensure menu columns are visible and properly sized (2 columns layout) */
  .footer-nav > .footer-nav-column {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    gap: 0.75rem !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 0 !important;
  }
  
  .footer-nav-column {
    gap: 0.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Ensure all menu items in Recommended Menu are visible */
  .footer-nav-column:last-child .footer-nav-links {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }
  
  .footer-nav-column:last-child .footer-nav-links li {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    width: 100% !important;
    flex-shrink: 0 !important;
  }
  
  /* Ensure both columns are visible on mobile - Force 2 columns layout */
  .footer-nav-column:nth-child(1),
  .footer-nav-column:nth-child(2) {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    position: relative !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
    flex: 1 1 0 !important;
  }
  
  /* Ensure all menu items in Recommended Menu column are visible on mobile */
  .footer-nav-column:last-child .footer-nav-links,
  .footer-nav-column:nth-child(2) .footer-nav-links {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }
  
  /* Force show all list items in Recommended Menu - Highest specificity */
  footer .footer-nav-column:last-child .footer-nav-links li,
  .footer-upper-content .footer-nav-column:last-child .footer-nav-links li,
  .container .footer-nav-column:last-child .footer-nav-links li,
  .footer-nav-column:last-child .footer-nav-links li:nth-child(1),
  .footer-nav-column:last-child .footer-nav-links li:nth-child(2),
  .footer-nav-column:last-child .footer-nav-links li:nth-child(3),
  .footer-nav-column:last-child .footer-nav-links li:nth-child(4),
  .footer-nav-column:last-child .footer-nav-links li:nth-child(5),
  .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(1),
  .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(2),
  .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(3),
  .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(4),
  .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(5),
  /* Force show items 4 and 5 specifically */
  footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li:nth-child(4),
  footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li:nth-child(5),
  footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(4),
  footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(5) {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 10 !important;
    clip: auto !important;
    clip-path: none !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    transform: none !important;
    filter: none !important;
  }
  
  /* Force show all list items - Override any inline styles - Maximum specificity */
  footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li,
  footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li,
  .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li,
  .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li,
  .footer-nav-column:last-child .footer-nav-links li[style],
  .footer-nav-column:nth-child(2) .footer-nav-links li[style],
  .footer-nav-column:last-child .footer-nav-links li:nth-child(4),
  .footer-nav-column:last-child .footer-nav-links li:nth-child(5),
  .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(4),
  .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(5) {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 10 !important;
    clip: auto !important;
    clip-path: none !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    transform: none !important;
    filter: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  
  /* Override inline styles for mobile - Force 2 columns layout */
  .footer-nav[style*="grid-template-columns"] {
    grid-template-columns: 1fr 1fr !important;
  }
  
  .footer-nav-column[style*="width"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 0 !important;
  }
  
  /* Force show all menu items - Ultimate override for mobile */
  footer .footer-upper-content .footer-nav .footer-nav-column .footer-nav-links {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }
  
  footer .footer-upper-content .footer-nav .footer-nav-column .footer-nav-links li {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    flex-shrink: 0 !important;
  }
  
  /* Force show items 4 and 5 specifically - Maximum specificity */
  footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li:nth-child(4),
  footer .footer-upper-content .footer-nav .footer-nav-column:last-child .footer-nav-links li:nth-child(5),
  footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(4),
  footer .footer-upper-content .footer-nav .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(5),
  .footer-nav-column:last-child .footer-nav-links li:nth-child(4),
  .footer-nav-column:last-child .footer-nav-links li:nth-child(5),
  .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(4),
  .footer-nav-column:nth-child(2) .footer-nav-links li:nth-child(5) {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 999 !important;
    clip: auto !important;
    clip-path: none !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    transform: none !important;
    filter: none !important;
  }
  
  /* Force override any inline grid-template-columns for mobile - Highest specificity */
  footer .footer-nav[style],
  .footer-upper-content .footer-nav[style],
  .container .footer-nav[style] {
    grid-template-columns: 1fr 1fr !important;
  }
  
  /* Force override inline styles on footer-nav-column */
  footer .footer-nav-column[style],
  .footer-nav .footer-nav-column[style] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 0 !important;
  }
  
  .footer-nav-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #fff !important;
    font-size: 1rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .footer-nav-links {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    gap: 0.5rem !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    width: 100% !important;
  }
  
  .footer-nav-links li {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }
  
  .footer-nav-links a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    height: auto !important;
    min-height: auto !important;
    width: 100% !important;
    line-height: 1.6 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .footer-lower {
    padding: 1.5rem 0;
  }
  
  .footer-lower-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
  }
  
  .footer-lower-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  
  .footer-lower-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

/* ---------- LANGUAGE DROPDOWN ---------- */
.language-dropdown {
  position: relative;
}

.lang-dropdown-btn {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--text-main);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.18s ease;
  font-family: 'Kanit', sans-serif;
  min-width: 90px;
  justify-content: space-between;
}

.lang-dropdown-btn:hover {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
}

.lang-dropdown-btn .lang-arrow {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

.language-dropdown.open .lang-dropdown-btn .lang-arrow {
  transform: rotate(180deg);
  color: var(--green);
}

.language-dropdown.open .lang-dropdown-btn {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  min-width: 140px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
  border: 1px solid var(--border-soft);
}

.language-dropdown.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown-item {
  width: 100%;
  padding: 0.7rem 1rem;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: all 0.15s ease;
  font-family: 'Kanit', sans-serif;
  text-align: left;
}

.lang-dropdown-item:hover {
  background: var(--green-soft);
  color: var(--green);
}

.lang-dropdown-item.active {
  background: var(--green-soft);
  color: var(--green);
  font-weight: 500;
}

.lang-dropdown-item .lang-check {
  color: var(--green);
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.lang-dropdown-item.active .lang-check {
  opacity: 1;
}

/* ---------- MOBILE LANGUAGE SWITCHER (Fixed Bottom Right) ---------- */
.mobile-lang-switcher {
  display: none; /* Hidden by default, shown only on mobile */
  position: fixed;
  bottom: 1.5rem;
  right: 1rem;
  z-index: 9999; /* Increased z-index to ensure it's above other elements */
}

.mobile-lang-btn {
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 109, 64, 0.2);
  background: #ffffff;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: #0d6d40;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: all 0.3s ease;
  font-family: 'Kanit', sans-serif;
  min-width: 70px;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

.mobile-lang-btn:hover,
.mobile-lang-btn:active {
  background: #f0fdf4;
  border-color: #0d6d40;
  color: #0d6d40;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(13, 109, 64, 0.2);
}

.mobile-lang-btn .mobile-lang-arrow {
  font-size: 0.6rem;
  transition: transform 0.2s ease;
  color: #0d6d40;
  opacity: 0.8;
}

.mobile-lang-switcher.open .mobile-lang-btn .mobile-lang-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.mobile-lang-switcher.open .mobile-lang-btn {
  background: #f0fdf4;
  border-color: #0d6d40;
  color: #0d6d40;
}

.mobile-lang-dropdown-menu {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  right: 0;
  background: #ffffff;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(13, 109, 64, 0.2);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  min-width: 120px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.mobile-lang-switcher.open .mobile-lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-lang-dropdown-item {
  width: 100%;
  padding: 0.5rem 0.875rem;
  border: none;
  background: transparent;
  color: #0f172a;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem;
  transition: all 0.15s ease;
  font-family: 'Kanit', sans-serif;
  text-align: left;
}

.mobile-lang-dropdown-item:hover,
.mobile-lang-dropdown-item:active {
  background: #f0fdf4;
  color: #0d6d40;
}

.mobile-lang-dropdown-item.active {
  background: #f0fdf4;
  color: #0d6d40;
  font-weight: 600;
}

.mobile-lang-dropdown-item .mobile-lang-check {
  color: #0d6d40;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.mobile-lang-dropdown-item.active .mobile-lang-check {
  opacity: 1;
}

/* Show mobile language switcher only on mobile */
@media (max-width: 900px) {
  .mobile-lang-switcher {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Hide on very small screens if needed */
@media (max-width: 480px) {
  .mobile-lang-switcher {
    bottom: 1rem;
    right: 0.75rem;
  }
  
  .mobile-lang-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.7rem;
    min-width: 65px;
    gap: 0.25rem;
  }
  
  .mobile-lang-btn .mobile-lang-arrow {
    font-size: 0.55rem;
  }
  
  .mobile-lang-dropdown-menu {
    min-width: 110px;
    border-radius: 10px;
  }
  
  .mobile-lang-dropdown-item {
    padding: 0.45rem 0.75rem;
    font-size: 0.7rem;
    gap: 0.25rem;
  }
  
  .mobile-lang-dropdown-item .mobile-lang-check {
    font-size: 0.7rem;
  }
}

.lang-dropdown-item:not(.active) .lang-check {
  display: none;
}

@media (max-width: 900px) {
  .language-dropdown {
    order: 2;
  }
  .nav-cta {
    order: 1;
  }
  .lang-dropdown-menu {
    right: auto;
    left: 0;
  }
}

/* ---------- ROOM BOOKING CARDS ---------- */
.room-booking-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.room-booking-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

.book-now-btn {
  background: #0d6d40 !important;
  border: 1px solid #0d6d40 !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
}

.book-now-btn:hover {
  background: #0a5633 !important;
  border-color: #0a5633 !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .room-booking-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .room-detail-content {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Room Detail Glass Effect */
.room-detail-content {
  padding: 2rem;
  border-radius: 16px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  /* Reduce SCORE ALL button size on mobile */
  #score-all-btn,
  #back-to-holes-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
  }
  
  .deluxe-gallery,
  .superior-gallery,
  .garden-home-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  
  /* Equipment Rental - Fixed Background for Mobile */
  .equipment-rental-section {
    background-attachment: scroll !important;
  }
  
  .equipment-rental-section::before {
    display: none !important; /* Remove fixed background on mobile */
  }
  
  /* Remove background-attachment: fixed from inline styles in driving-range.html on mobile */
  .facility-detail-section[style*="background-attachment: fixed"] {
    background-attachment: scroll !important;
  }
  
  /* Equipment Rental - Mobile: Complete redesign for better layout */
  .equipment-rental-section {
    padding: 1rem 0.5rem !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  .equipment-rental-section .container {
    padding: 0 0.5rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }
  
  .equipment-rental-container {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  .equipment-left-slider {
    width: 100% !important;
    max-width: 100% !important;
    order: 1 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    box-sizing: border-box !important;
  }
  
  .equipment-content-panel {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    order: 2 !important;
    margin: 0 auto !important;
    padding: 1rem 0.75rem !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-x: hidden !important;
  }
  
  .equipment-content-panel h2 {
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem !important;
    text-align: center !important;
  }
  
  .equipment-content-panel p {
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
    text-align: center !important;
  }
  
  .equipment-center-slider {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    padding: 0 !important;
    padding-bottom: 0.5rem !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 200px !important;
    min-height: 200px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  
  .equipment-center-slider::-webkit-scrollbar {
    height: 6px !important;
  }
  
  .equipment-center-slider::-webkit-scrollbar-track {
    background: transparent !important;
  }
  
  .equipment-center-slider::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 3px !important;
  }
  
  .equipment-slider-track {
    scroll-snap-type: x mandatory !important;
    width: auto !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    transition: none !important;
    transform: none !important;
    gap: 0.75rem !important;
    align-items: stretch !important;
    padding: 0 0.5rem !important;
    box-sizing: border-box !important;
  }
  
  .equipment-slide-set {
    display: contents !important;
  }
  
  .equipment-slide-set > div {
    scroll-snap-align: start !important;
    width: calc(100vw - 2rem) !important;
    min-width: calc(100vw - 2rem) !important;
    max-width: calc(100vw - 2rem) !important;
    flex-shrink: 0 !important;
    height: 100% !important;
    min-height: 200px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
  }
  
  .equipment-slide-set > div > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  
  /* Hide navigation dots on mobile */
  .equipment-slider-dots {
    display: none !important;
  }
  
  /* Hotel Promotion - Mobile: Show image full width */
  .hotel-promotion-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
  
  .equipment-right-slider {
    width: 100% !important;
    max-width: 100% !important;
    order: 3 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    box-sizing: border-box !important;
  }
  
  /* Driving Range - Mobile: Show images 100% width */
  .driving-gallery {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    justify-items: center !important;
  }
  
  .driving-gallery-item {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
  }
  
  .driving-gallery-item img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
  }
  
  .equipment-image-item {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
    height: 200px !important;
    min-height: 200px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .equipment-image-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  
  /* Membership - Mobile/Tablet: Remove white border and show image 100% */
  .membership-image {
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
  }
  
  .membership-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  
  /* Rental - Mobile/Tablet: Display 1 column */
  .rental-container {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  /* GOLF CART & CADDY / GUEST MEMBER - Mobile/Tablet: Horizontal scroll */
  .golf-cart-guest-container {
    display: flex !important;
    flex-direction: row !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    gap: 1.5rem !important;
    padding-bottom: 0.5rem !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent !important;
    max-width: 100% !important;
  }
  
  .golf-cart-guest-container::-webkit-scrollbar {
    height: 6px !important;
  }
  
  .golf-cart-guest-container::-webkit-scrollbar-track {
    background: transparent !important;
  }
  
  .golf-cart-guest-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 3px !important;
  }
  
  .golf-cart-guest-container > div {
    flex: 0 0 85% !important;
    min-width: 85% !important;
    max-width: 85% !important;
    scroll-snap-align: start !important;
  }
}

@media (max-width: 480px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  
  .deluxe-gallery,
  .superior-gallery,
  .garden-home-gallery {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  /* Membership - Mobile: Remove white border and show image 100% */
  .membership-image {
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
  }
  
  .membership-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  
  /* Rental - Mobile: Display 1 column */
  .rental-container {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  /* Promotion Slider - Mobile: Show 1 slide at a time, full width */
  .promotion-slide {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .promotion-slider-track {
    gap: 1rem !important;
  }
  
  /* Promotion Slider - Mobile: Horizontal scroll like GOLF CART & CADDY */
  .promotion-slider-container {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 0.5rem !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent !important;
  }
  
  .promotion-slider-container::-webkit-scrollbar {
    height: 6px !important;
  }
  
  .promotion-slider-container::-webkit-scrollbar-track {
    background: transparent !important;
  }
  
  .promotion-slider-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 3px !important;
  }
  
  .promotion-slider-container > div[style*="overflow: hidden"] {
    overflow: visible !important;
  }
  
  .promotion-slider-track {
    scroll-snap-type: x mandatory !important;
  }
  
  .promotion-slide {
    scroll-snap-align: start !important;
    width: 400px !important;
    min-width: 400px !important;
    max-width: 400px !important;
  }
  
  /* Hide navigation arrows on mobile */
  .promotion-slider-btn {
    display: none !important;
  }
  
  /* My Caddy Gallery - Mobile: Images 1-4 in 2 columns, Image 5 in 1 column at the end */
  .caddy-gallery {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto auto !important;
    gap: 1rem !important;
  }
  
  /* Images 1, 2, 4, 5 (My-Caddy-1, 2, 3, 4) - 2 columns */
  .caddy-gallery .caddy-image-item:nth-child(1) {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
  }
  
  .caddy-gallery .caddy-image-item:nth-child(2) {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
  }
  
  .caddy-gallery .caddy-image-item:nth-child(4) {
    grid-column: 1 / 2 !important;
    grid-row: 2 / 3 !important;
  }
  
  .caddy-gallery .caddy-image-item:nth-child(5) {
    grid-column: 2 / 3 !important;
    grid-row: 2 / 3 !important;
  }
  
  /* Image 5 (My-Caddy-5.png) - Full width at the end */
  .caddy-gallery .caddy-image-item:nth-child(3) {
    grid-column: 1 / -1 !important;
    grid-row: 3 / 4 !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
  
  /* OUR SERVICES - Mobile: Display 2 columns */
  .facility-detail-section > .container > div[style*="1129px"] {
    width: calc(100% - 2rem) !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 1.5rem 1rem !important;
  }
  
  .our-services-icons {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem 1rem !important;
    flex-wrap: wrap !important;
    justify-content: stretch !important;
    align-items: start !important;
    flex: none !important;
    margin: 0.5rem 0 !important;
  }
  
  .our-services-icons > div {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }
  
  .our-services-icons > div > img {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain !important;
  }
  
  .our-services-icons > div > span {
    font-size: 0.75rem !important;
    text-align: center !important;
    word-break: break-word !important;
  }
  
}


