/** 
 * #14352f Green Dark Background
 * #436451 Green Text
 * #ead2ac Golden Text
 * 
*/

/* Global Styles */
body {
  position: relative;
  background-color: #fff;
  font-family: "Noto Sans Thai", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1d1d1d;
  cursor: auto;

  -moz-osx-font-smoothing: auto;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-text-stroke: 1px transparent;
}

.thai-nowrap {
  white-space: nowrap;
}

img {
  max-width: 100%;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 5px 0;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #fff 0%, #ead2ac 50%, #fff 100%) 1;
  transition: top 0.3s ease;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #fff;
}

.navbar-transparent,
.navbar-solid {
  background-color: transparent !important;
}

.navbar .navbar-brand img {
  height: 75px;
}

.offcanvas-social-links {
  display: none;
}

.offcanvas-project-info {
  display: none;
}

.navbar .navbar-nav .nav-link {
  margin: 0 15px;
  font-size: 1.125rem;
  color: #14352f;
  transition: color 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover {
  color: #ead2ac;
}

.navbar .navbar-nav .nav-link.active {
  color: #14352f;
  border-bottom: 2px solid #ead2ac;
  padding-bottom: 5px;
}

@media (min-width: 992px) {
  .navbar:not(.navbar-solid) {
    border-bottom: 0;
    border-image: none;
  }

  .navbar:not(.navbar-solid)::before {
    display: none;
  }

  .navbar:not(.navbar-solid) {
    top: 30px;
  }

  .navbar-solid {
    top: 0;
  }

  .navbar-solid .navbar-logo-green {
    display: block;
  }

  .navbar:not(.navbar-solid)
    .navbar-nav
    .nav-link[href="#intro-section"].active {
    color: #14352f;
    border-bottom-color: #ead2ac;
  }
}

/* Navbar: Tablet landscape */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .navbar-nav .nav-link {
    margin: 0 8px;
    font-size: 1rem;
  }
}

/* Navbar: Tablet portrait and mobile */
@media (max-width: 991.98px) {
  .navbar {
    background-color: transparent !important;
    z-index: 1050;
  }

  .navbar .navbar-logo-green {
    display: block;
  }

  .navbar .navbar-brand img {
    height: 64px;
  }

  .navbar .navbar-toggler {
    border-color: #14352f;
    box-shadow: none !important;
  }

  .navbar .navbar-toggler:focus,
  .navbar .navbar-toggler:focus-visible {
    outline: none;
    box-shadow: none !important;
  }

  .navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2314352f' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .navbar .offcanvas {
    --bs-offcanvas-bg: #14352f;
    width: min(320px, 85vw);
    background-color: #14352f !important;
  }

  .navbar .offcanvas-header {
    padding: 20px 24px;
  }

  .navbar .offcanvas-title {
    font-size: 1.35rem;
    font-weight: bold;
    color: #ead2ac;
  }

  .navbar .offcanvas-header .btn-close {
    opacity: 1;
    filter: invert(1) grayscale(100%) brightness(200%);
  }

  .navbar .offcanvas-body {
    display: block;
    padding: 12px 24px 24px;
  }

  .navbar .navbar-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .navbar .navbar-nav .nav-link,
  .navbar .navbar-nav .nav-link.active {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    padding: 10px 8px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
    text-align: center;
  }

  .navbar .navbar-nav .nav-link:hover,
  .navbar .navbar-nav .nav-link.active {
    color: #ead2ac;
  }

  .navbar .navbar-nav .nav-link.active {
    border-color: #ead2ac;
  }

  .navbar .offcanvas-social-links {
    display: block;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #fff;
    text-align: center;
  }

  .navbar .offcanvas-contact-heading {
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: bold;
    color: #ead2ac;
  }

  .navbar .offcanvas-social-links .about-social-links {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
  }

  .navbar .offcanvas-social-icons {
    padding-bottom: 4px;
  }

  .navbar .offcanvas-project-info {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 4px 0 24px;
  }

  .navbar .offcanvas-project-logo {
    width: 70px;
    height: auto;
    flex-shrink: 0;
  }

  .navbar .offcanvas-address {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
    text-align: left;
  }
}

/* Navbar: Mobile */
@media (max-width: 767.98px) {
  .navbar .navbar-brand img {
    height: 56px;
  }
}

/* Intro Section Styles */
.intro-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

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

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 8s ease-in-out infinite;
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  70% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 2;
}

.carousel-content {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  z-index: 3;
  width: 80%;
  max-width: 800px;
}

.carousel-heading {
  font-size: 3.5rem;
  font-weight: bold;
  color: #ead2ac;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.carousel-content p {
  font-size: clamp(1.125rem, calc(0.95rem + 0.85vw), 1.5rem);
  color: #ead2ac;
  margin-bottom: 0;
}

.carousel-content img {
  width: 250px;
}

.carousel-content-logo {
  aspect-ratio: 1140 / 878;
}

.carousel-indicators button {
  background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators [data-bs-target] {
  background-color: #fff;
  margin-right: 5px;
  margin-left: 5px;
  opacity: 1;
}

.carousel-indicators [data-bs-target].active {
  background-color: #ead2ac !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  padding: 15px;
  width: 60px;
  height: 60px;
  background-size: 60%;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ead2ac'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ead2ac'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
}

/* Intro: Tablet landscape */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .carousel-heading {
    font-size: 3rem;
  }
}

/* Intro: Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  .carousel-content {
    bottom: 70px;
    width: 85%;
  }

  .carousel-heading {
    font-size: 2.75rem;
  }
}

/* Intro: Mobile */
@media (max-width: 767.98px) {
  .intro-section,
  .carousel-item {
    min-height: 620px;
  }

  .carousel-image {
    object-position: center;
  }

  .carousel-content {
    bottom: 55px;
    width: calc(100% - 32px);
  }

  .carousel-content img {
    width: 180px;
  }

  .carousel-heading {
    margin-top: 1rem;
    font-size: clamp(1.4rem, 7.5vw, 2.75rem);
    line-height: 1.2;
    white-space: nowrap;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 44px;
    height: 44px;
    padding: 10px;
  }
}

/* Detail Section Styles */
.detail-section {
  position: relative;
  width: 100%;
  padding: 60px 0 100px;
  background-image: url("assets/images/bg_detail.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
}

.detail-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15) 35%,
    rgba(0, 0, 0, 0.95) 100%
  );
  z-index: 1;
}

.detail-section h1 {
  margin-bottom: 40px;
  font-size: clamp(2rem, calc(1.8rem + 1vw), 2.5rem);
  font-weight: bold;
  color: white;
  position: relative;
  z-index: 2;
}

/* Preserve the desktop pattern scale as this section grows on smaller screens. */
@media (max-width: 1199.98px) {
  .detail-section {
    background-position: top center;
    background-repeat: repeat-y;
    background-size: 1536px auto;
  }
}

/* Plan Section Styles */
.plan-section {
  position: relative;
  min-height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("assets/images/plan/pakpirom_beston_2560x1440.webp");
  display: flex;
  align-items: center;
  padding: 60px 0 120px;
}

.plan-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 53, 47, 0.45);
  z-index: 1;
}

.plan-section h2 {
  margin-bottom: 0;
  position: relative;
  font-size: clamp(2rem, calc(1.8rem + 1vw), 2.5rem);
  font-weight: bold;
  color: white;
  z-index: 2;
}

.plan-section h2 + div {
  position: relative;
  margin-bottom: 40px;
  font-size: clamp(1rem, calc(0.85rem + 0.75vw), 1.25rem);
  font-weight: bold;
  color: white;
  z-index: 2;
  text-align: center;
}

.plan2-section {
  position: relative;
  min-height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("assets/images/plan/pakpirom_darwin_2560x1440.webp");
  display: flex;
  align-items: center;
  padding: 60px 0 120px;
}

.plan2-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.plan2-section h2 {
  margin-bottom: 0;
  position: relative;
  font-size: clamp(2rem, calc(1.8rem + 1vw), 2.5rem);
  font-weight: bold;
  color: white;
  z-index: 2;
}

.plan2-section h2 + div {
  position: relative;
  margin-bottom: 40px;
  font-size: clamp(1rem, calc(0.85rem + 0.75vw), 1.25rem);
  font-weight: bold;
  color: white;
  z-index: 2;
  text-align: center;
}

.plan-container {
  position: relative;
  z-index: 2;
}

.plan-gallery .inline-gallery-container,
.plan-gallery .inline-gallery-2-container {
  position: relative;
  width: 100%;
  height: 550px;
}

.plan-gallery .inline-gallery-container,
.plan-gallery .inline-gallery-2-container {
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr) 92px;
  gap: 8px;
  padding: 16px 16px 16px;
  border-radius: 25px;
  background-color: #fff;
  overflow: hidden;
}

.plan-gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  color: #436451;
  border-bottom: 2px solid #ead2ac;
}

.plan-gallery-counter {
  padding-left: 2px;
  font-size: 16px;
}

.plan-gallery-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-gallery-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 5px;
  border: 1px solid #436451;
  border-radius: 8px;
  background: #fff;
  color: #436451;
  font-family: inherit;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.plan-gallery-actions button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-gallery-fullscreen .fullscreen-collapse-icon {
  display: none;
}

.plan-gallery-fullscreen.is-active .fullscreen-expand-icon {
  display: none;
}

.plan-gallery-fullscreen.is-active .fullscreen-collapse-icon {
  display: block;
}

.plan-gallery-actions button:hover {
  border-color: #436451;
  background-color: rgba(234, 210, 172, 0.22);
}

.plan-gallery-actions button.is-active {
  border-color: transparent;
  background-color: #436451;
  color: #fff;
  box-shadow: none;
}

.plan-main-swiper,
.plan-thumb-swiper {
  width: 100%;
  min-width: 0;
}

.plan-main-swiper {
  border-bottom: 3px solid #ead2ac;
}

.plan-main-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 56px 16px;
}

.plan-main-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.plan-main-swiper .swiper-zoom-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.plan-main-swiper .swiper-zoom-container img {
  transition: transform 0.25s ease;
}

.plan-main-swiper .swiper-zoom-container.is-zoomed img {
  transform: scale(1.8);
  cursor: zoom-out;
}

.plan-main-swiper .swiper-button-prev,
.plan-main-swiper .swiper-button-next {
  width: 50px;
  height: 50px;
  margin-top: -25px;
  border: 0;
  border-radius: 50%;
  background-color: #436451;
  color: #fff;
}

.plan-main-swiper .swiper-button-prev::after,
.plan-main-swiper .swiper-button-next::after {
  display: none;
}

.plan-main-swiper .swiper-button-prev svg,
.plan-main-swiper .swiper-button-next svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-thumb-swiper .swiper-slide {
  border: 3px solid transparent;
  border-radius: 4px;
  opacity: 0.7;
  overflow: hidden;
  cursor: pointer;
}

.plan-thumb-swiper .swiper-slide-thumb-active {
  border-color: #436451;
  opacity: 1;
}

.plan-thumb-swiper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.gallery-fullscreen-open {
  overflow: hidden;
}

body > .is-fullscreen {
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr) 92px;
  gap: 8px;
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  width: 100vw;
  height: 100dvh;
  padding: max(10px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  border-radius: 0;
  background-color: #fff;
  overflow: hidden;
}

body > .is-fullscreen .plan-main-swiper,
body > .is-fullscreen .plan-thumb-swiper {
  min-height: 0;
}

.plan-details {
  background-color: #fff;
  height: 100%;
  margin-top: 5px;
  padding: 40px;
  border-radius: 25px;
}

.plan-details .grid-attr {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.plan-details .grid-attr .ga-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(234, 210, 172, 0.65);
  margin: 0 auto;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.plan-details .grid-attr .ga-circle img {
  width: 50px;
}

.plan-details .grid-attr .ga-text {
  margin-top: -10px;
  font-weight: bold;
  color: #436451;
  text-align: center;
}

.plan-description-columns {
  margin: 35px 0 0;
  column-count: 2;
  column-gap: 40px;
}

.plan-description-columns li {
  margin-bottom: 5px;
  break-inside: avoid;
}

.plan-description-columns li .text-highlight {
  font-weight: bold;
  color: #436451;
}

.plan-description-columns li:nth-child(4) {
  break-before: column;
}

/* Plan sections: Tablet landscape */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .plan-gallery .inline-gallery-container,
  .plan-gallery .inline-gallery-2-container {
    height: 480px;
  }

  .plan-details {
    padding: 32px;
  }

  .plan-details .grid-attr .ga-circle {
    width: 88px;
    height: 88px;
  }

  .plan-description-columns {
    column-gap: 30px;
  }
}

/* Plan sections: Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  .plan-section,
  .plan2-section {
    min-height: auto;
    padding: 60px 0 80px;
    background-attachment: scroll;
  }

  .plan-gallery .inline-gallery-container,
  .plan-gallery .inline-gallery-2-container {
    height: 440px;
  }

  .plan-details {
    padding: 30px;
  }

  .plan-details .grid-attr {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 24px;
  }

  .plan-details .grid-attr .ga-circle {
    width: 90px;
    height: 90px;
  }

  .plan-description-columns {
    margin-top: 30px;
    column-count: 1;
  }

  .plan-description-columns li:nth-child(4) {
    break-before: auto;
  }
}

/* Plan sections: Mobile */
@media (max-width: 767.98px) {
  .plan-section,
  .plan2-section {
    min-height: auto;
    padding: 48px 0 64px;
    background-attachment: scroll;
  }

  .plan-section h2,
  .plan2-section h2 {
    line-height: 1.2;
  }

  .plan-section h2 + div,
  .plan2-section h2 + div {
    margin-bottom: 28px;
  }

  .plan-gallery .inline-gallery-container,
  .plan-gallery .inline-gallery-2-container {
    height: 300px;
  }

  body > .is-fullscreen {
    grid-template-rows: 40px minmax(0, 1fr) 62px;
    gap: 8px;
    padding: max(8px, env(safe-area-inset-top))
      max(10px, env(safe-area-inset-right))
      max(10px, env(safe-area-inset-bottom))
      max(10px, env(safe-area-inset-left));
  }

  .plan-gallery-actions {
    gap: 6px;
  }

  .plan-gallery-actions button {
    height: 30px;
    padding: 5px;
  }

  .plan-gallery .inline-gallery-container,
  .plan-gallery .inline-gallery-2-container {
    grid-template-rows: 40px minmax(0, 1fr) 62px;
    gap: 8px;
    padding: 12px 10px 10px;
    border-radius: 18px;
  }

  .plan-main-swiper .swiper-slide {
    padding: 8px 42px 12px;
  }

  .plan-main-swiper .swiper-button-prev,
  .plan-main-swiper .swiper-button-next {
    width: 42px;
    height: 42px;
    margin-top: -21px;
  }

  .plan-main-swiper .swiper-button-prev svg,
  .plan-main-swiper .swiper-button-next svg {
    width: 26px;
    height: 26px;
  }

  .plan-details {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .plan-details .grid-attr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .plan-details .grid-attr .ga-circle {
    width: 76px;
    height: 76px;
  }

  .plan-details .grid-attr .ga-circle img {
    width: 40px;
  }

  .plan-details .grid-attr .ga-text {
    font-size: 0.9rem;
  }

  .plan-description-columns {
    margin-top: 28px;
    column-count: 1;
  }

  .plan-description-columns ul {
    margin-bottom: 0;
    padding-left: 22px;
  }

  .plan-description-columns li:nth-child(4) {
    break-before: auto;
  }
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 15px;
  position: relative;
  z-index: 2;
}

.grid-item {
  display: flex;
}

.grid-item.grid-sub {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  background-color: #fff;
  height: 100%;
  padding: 10px;
  border-radius: 25px;
}

.grid-item.grid-sub .circle {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(234, 210, 172, 0.65);
  margin: 0 auto;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.grid-item.grid-sub .circle img {
  width: 50px;
}

.large-item {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

.large-item .card {
  border: none;
  border-radius: 25px;
}

.large-item .card-img-top {
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

.large-item .card-body {
  padding: 20px;
}

.large-item .card-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #ead2ac;
  text-align: center;
}

.large-item .card-subtitle {
  margin-bottom: 0;
  font-size: clamp(2rem, calc(1.8rem + 1vw), 2.5rem);
  font-weight: bold;
  color: #436451;
  text-align: center;
  line-height: 1;
}

.large-item .card-text {
  color: #436451;
  text-align: center;
}

.large-item .card-description {
  margin-top: 20px;
}

.grid-item.grid-sub .grid-sub-title {
  margin: 15px 0;
  font-size: 1.25rem;
  font-weight: bold;
  color: #436451;
}

/* Keep feature icons and headings aligned on larger screens. */
@media (min-width: 992px) {
  .grid-item.grid-sub {
    justify-content: flex-start;
    padding: 34px 16px 20px;
  }

  .grid-item.grid-sub .circle {
    flex-shrink: 0;
  }

  .grid-item.grid-sub .grid-sub-title {
    display: flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    margin: 8px 0;
  }
}

/* Detail: Tablet landscape */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .grid-container {
    gap: 12px;
  }

  .grid-item.grid-sub .circle {
    width: 88px;
    height: 88px;
  }

  .grid-item.grid-sub .grid-sub-title {
    font-size: 1.1rem;
  }
}

/* Detail: Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-auto-rows: 1fr;
    height: auto;
  }

  .large-item {
    grid-column: 1 / span 2;
    grid-row: auto;
  }

  .large-item .card-img-top {
    max-height: 430px;
    object-fit: cover;
  }

  .grid-item.grid-sub {
    justify-content: flex-start;
    min-height: 270px;
    padding: 16px;
  }

  .grid-item.grid-sub .circle {
    flex-shrink: 0;
  }

  .grid-item.grid-sub .grid-sub-title {
    display: flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    margin: 8px 0;
  }
}

/* Detail: Mobile */
@media (max-width: 767.98px) {
  .detail-section {
    padding: 48px 0 64px;
  }

  .detail-section h1 {
    margin-bottom: 28px;
  }

  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-rows: 1fr;
    gap: 16px;
    height: auto;
  }

  .large-item {
    grid-column: 1;
    grid-row: auto;
  }

  .large-item .card-img-top {
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .large-item .card-body {
    padding: 18px;
  }

  .grid-item.grid-sub {
    justify-content: flex-start;
    min-height: 255px;
    padding: 24px 16px;
  }

  .grid-item.grid-sub .circle {
    width: 84px;
    height: 84px;
  }

  .grid-item.grid-sub .grid-sub-title {
    margin: 12px 0;
    font-size: 1.125rem;
  }
}

/* Route Section Styles */
.route-section {
  padding: 80px 0 120px;
  background-color: #fff;
  position: relative;
}

.route-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 275px;
  background-image: url("assets/images/bg_orther.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
}

.route-section h2 {
  font-size: clamp(2rem, calc(1.8rem + 1vw), 2.5rem);
  font-weight: bold;
  color: #436451;
  position: relative;
  z-index: 1;
}

.route-section h2 + div {
  position: relative;
  margin-bottom: 40px;
  font-size: clamp(1rem, calc(0.94rem + 0.3vw), 1.125rem);
  z-index: 1;
  text-align: center;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: 1fr;
  gap: 15px;
  height: 300px;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

.route-item {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-position: center;
  background-size: cover;
  transition: transform 0.3s ease;
  height: 100%;
  border-radius: 25px;
  position: relative;
  z-index: 1;
}

.route-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.route-item:hover {
  cursor: pointer;
  transform: scale(1.05);
}

.route-item-high {
  transform: translateY(-30px);
}

.route-item-low {
  transform: translateY(30px);
}

.route-item-high::before,
.route-item-low::before {
  border-radius: 25px;
  background-color: rgba(0, 0, 0, 0.5);
}

.route-item-high:hover {
  transform: translateY(-30px) scale(1.05);
}

.route-item-low:hover {
  transform: translateY(30px) scale(1.05);
}

.route-item h3 {
  margin-bottom: 15px;
  font-size: 1.25rem;
  font-weight: bold;
  color: #ead2ac;
}

.route-item p {
  margin: 0;
  font-size: 16px;
  color: white;
}

/* Route: Tablet landscape */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .route-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    height: auto;
    margin-top: 50px;
  }

  .route-item {
    min-height: 220px;
  }

  .route-item-high,
  .route-item-low {
    transform: none;
  }

  .route-item-high:hover,
  .route-item-low:hover {
    transform: scale(1.03);
  }
}

/* Route: Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  .route-section {
    padding: 64px 0 90px;
  }

  .route-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    height: auto;
    gap: 15px;
    margin-top: 40px;
  }

  .route-item {
    min-height: 190px;
  }

  .route-item:last-child {
    grid-column: 1 / -1;
  }

  .route-item-high,
  .route-item-low {
    transform: none;
  }

  .route-item-high:hover,
  .route-item-low:hover {
    transform: scale(1.03);
  }
}

/* Route: Mobile */
@media (max-width: 767.98px) {
  .route-section {
    padding: 48px 0 64px;
  }

  .route-section h2 + div {
    margin-bottom: 28px;
  }

  .route-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
    height: auto;
    margin-top: 32px;
  }

  .route-item {
    min-height: 150px;
    height: auto;
    padding: 24px 18px;
  }

  .route-item-high,
  .route-item-low {
    transform: translateY(0);
  }

  .route-item-high:hover,
  .route-item-low:hover {
    transform: none;
  }
}

/* Map Section Styles */
.map-section {
  position: relative;
  background-color: #f8f9fa;
}

.map-toggle-container {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.map-toggle-container .googleMapBtn,
.map-toggle-container .graphicMapBtn {
  padding: 10px 25px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 25px;
}

.map-section .btn-check:checked + .btn {
  background-color: #14352f !important;
  border-color: #14352f !important;
  color: #ead2ac !important;
}

.map-section .btn-outline-primary {
  background-color: #fff;
  border-color: #436451;
  color: #436451;
}

.map-section .btn-check + .btn:hover {
  background-color: #fff;
  border-color: #ead2ac;
  color: #ead2ac;
}

.map-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.map-display {
  display: none;
  width: 100%;
  overflow: hidden;
  margin-bottom: -7px;
}

.map-display .graphic-container {
  padding: 40px 0 30px;
}

.map-display.active {
  display: block;
}

.map-display iframe {
  width: 100%;
  height: 500px;
  border: none;
}

.graphic-map-content {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.graphic-map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
}

/* Map: Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  .map-display iframe {
    height: 420px;
  }

  .graphic-map-content {
    height: 420px;
  }
}

/* Map: Mobile */
@media (max-width: 767.98px) {
  .map-toggle-container {
    width: calc(100% - 32px);
  }

  .map-toggle-container .googleMapBtn,
  .map-toggle-container .graphicMapBtn {
    padding: 9px 16px;
    font-size: 0.9rem;
  }

  .map-display iframe {
    height: 300px;
  }

  .graphic-map-content {
    height: 300px;
  }
}

/* Others Section Styles */
.others-section {
  padding: 80px 0;
  background-color: white;
  position: relative;
}

.others-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/images/bg_orther.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
}

.others-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  position: relative;
  z-index: 1;
}

.others-column {
  height: 100%;
  padding: 30px;
  background-color: white;
  border-radius: 25px;
}

.others-column.with-faq {
  padding: 30px 0;
  background-color: inherit;
}

.others-column h3 {
  margin-bottom: 30px;
  font-size: clamp(1.35rem, calc(1.28rem + 0.35vw), 1.5rem);
  font-weight: bold;
  text-align: center;
  color: #436451;
}

.facility-item,
.project-item {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e2e2;
}

.facility-item:last-child,
.project-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.facility-item h4 {
  margin-bottom: 10px;
  font-size: 1.125rem;
  font-weight: bold;
}

.facility-item p,
.project-item p {
  margin: 0;
}

/* Accordion Styles for FAQ */
.accordion {
  width: 100%;
}

.accordion-item {
  margin-bottom: 10px;
  border: 0;
}

.accordion-item:not(:first-of-type) {
  border-top: 0;
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-button {
  width: 100%;
  padding: 15px;
  font-size: 1.125rem;
  background-color: #fff;
  border: none;
  text-align: left;
  position: relative;
}

.accordion-button:focus {
  box-shadow: none;
  outline: none;
}

.accordion-button:not(.collapsed) {
  border-bottom: #ead2ac solid 1px;
  background-color: white;
  font-weight: bold;
  color: #436451;
}

.accordion-collapse {
  transition: height 0.3s ease;
}

.accordion-body {
  padding: 15px;
}

/* Others: Tablet landscape */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .others-grid {
    gap: 12px;
  }

  .others-column {
    padding: 24px;
  }

  .others-column.with-faq {
    padding: 24px 0;
  }
}

/* Others: Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  .others-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .others-column {
    padding: 30px;
  }

  .others-column.with-faq {
    padding: 30px 0;
  }
}

/* Others: Mobile */
@media (max-width: 767.98px) {
  .others-section {
    padding: 48px 0;
  }

  .others-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .others-column {
    padding: 20px;
    border-radius: 18px;
  }

  .others-column.with-faq {
    padding: 20px 0;
  }

  .others-column h3 {
    margin-bottom: 22px;
  }

  .accordion-button {
    padding: 14px;
    font-size: 1rem;
  }
}

/* About Section Styles */
.about-section {
  padding: 60px 0;
  background-color: #fff;
  position: relative;
}

.about-section .about-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  position: relative;
  z-index: 1;
}

.about-section .about-info-grid .copyright {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
}

.about-section .about-heading {
  font-size: clamp(1.35rem, calc(1.28rem + 0.35vw), 1.5rem);
  font-weight: bold;
  color: #436451;
}

.about-section .about-brand {
  display: grid;
  grid-template-columns: 100px max-content;
  gap: 25px;
  align-items: center;
  justify-content: center;
}

.about-section .about-brand .about-heading {
  margin: 0;
}

.about-section .about-logo {
  display: block;
  width: 100px;
  height: auto;
}

@media (min-width: 992px) {
  .about-section .about-brand {
    justify-content: start;
  }

  .about-section .about-info-grid > div:nth-child(2) > .about-heading,
  .about-section .about-info-grid > div:nth-child(3) > .about-heading {
    display: flex;
    align-items: center;
    height: 85.5px;
    margin: 0 0 10px;
  }
}

.about-section .about-content-spacing {
  margin-top: 10px;
}

.about-section .about-list-item {
  margin: 4px 0;
}

.about-section .about-address {
  font-weight: bold;
}

.about-section .about-contact-list {
  margin-top: 10px;
  list-style: none;
  padding-left: 0;
}

.about-section .about-social-links {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.about-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 400px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' width='2560' height='1000' preserveAspectRatio='none' viewBox='0 0 2560 1000'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1062%26quot%3b)' fill='none'%3e%3cpath d='M75 1000L1075 0L1877.5 0L877.5 1000z' fill='url(%26quot%3b%23SvgjsLinearGradient1063%26quot%3b)'%3e%3c/path%3e%3cpath d='M657.2 1000L1657.2 0L2267.7 0L1267.7 1000z' fill='url(%26quot%3b%23SvgjsLinearGradient1063%26quot%3b)'%3e%3c/path%3e%3cpath d='M1184.4 1000L2184.4 0L2716.9 0L1716.9 1000z' fill='url(%26quot%3b%23SvgjsLinearGradient1063%26quot%3b)'%3e%3c/path%3e%3cpath d='M2484 1000L1484 0L678.5 0L1678.5 1000z' fill='url(%26quot%3b%23SvgjsLinearGradient1064%26quot%3b)'%3e%3c/path%3e%3cpath d='M1958.8 1000L958.8 0L241.79999999999995 0L1241.8 1000z' fill='url(%26quot%3b%23SvgjsLinearGradient1064%26quot%3b)'%3e%3c/path%3e%3cpath d='M1424.6 1000L424.5999999999999 0L-415.4000000000001 0L584.5999999999999 1000z' fill='url(%26quot%3b%23SvgjsLinearGradient1064%26quot%3b)'%3e%3c/path%3e%3cpath d='M1914.9080118209845 1000L2560 354.9080118209846L2560 1000z' fill='url(%26quot%3b%23SvgjsLinearGradient1063%26quot%3b)'%3e%3c/path%3e%3cpath d='M0 1000L645.0919881790154 1000L 0 354.9080118209846z' fill='url(%26quot%3b%23SvgjsLinearGradient1064%26quot%3b)'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1062'%3e%3crect width='2560' height='1000' fill='white'%3e%3c/rect%3e%3c/mask%3e%3clinearGradient x1='0%25' y1='100%25' x2='100%25' y2='0%25' id='SvgjsLinearGradient1063'%3e%3cstop stop-color='rgba(234%2c 210%2c 172%2c 1)' offset='0'%3e%3c/stop%3e%3cstop stop-opacity='0' stop-color='rgba(234%2c 210%2c 172%2c 1)' offset='0.66'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient x1='100%25' y1='100%25' x2='0%25' y2='0%25' id='SvgjsLinearGradient1064'%3e%3cstop stop-color='rgba(234%2c 210%2c 172%2c 1)' offset='0'%3e%3c/stop%3e%3cstop stop-opacity='0' stop-color='rgba(234%2c 210%2c 172%2c 1)' offset='0.66'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  opacity: 0.45;
}

/* About: Tablet landscape */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .about-section .about-info-grid {
    gap: 30px;
  }
}

/* About: Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  .about-section {
    padding: 64px 0 30px;
  }

  .about-section .about-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .about-section .about-info-grid > :first-child {
    grid-column: 1 / -1;
    width: 600px;
    max-width: 100%;
    justify-self: center;
  }

  .about-section .about-info-grid > :first-child p {
    text-align: center;
  }

  .about-section .about-heading {
    margin-bottom: 12px;
  }
}

@media (max-width: 991.98px) {
  .about-section .about-social-links {
    display: none;
  }
}

/* About: Mobile */
@media (max-width: 767.98px) {
  .about-section {
    padding: 48px 0 24px;
  }

  .about-section .about-brand {
    justify-content: start;
  }

  .about-section .about-info-grid {
    grid-template-columns: 1fr;
  }

  .about-section .about-info-grid {
    gap: 28px;
  }

  .about-section .about-heading {
    margin-bottom: 10px;
  }

  .about-section::after {
    height: 55%;
  }
}
