
/* ===== Location section — signature: numbered "distance markers" accordion ===== */

.location {
  background: #fff;
  padding: 90px 0;
}

.location-content {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.acc-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(31, 20, 15, 0.10);
  position: relative;
}

.goldbarsimg2 {
  position: absolute;
  top: -28px;
  left: 40px;
  width: 90px;
  z-index: 3;
  pointer-events: none;
}

/* ---- Left: accordion box ---- */
.acc-box {
  position: relative;
  padding: 64px 48px 56px;
  background: #fff;
}

.acc-box .bg-shadow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(154, 43, 73, 0.05), transparent 55%);
  pointer-events: none;
}

.accordion {
  position: relative;
  counter-reset: locpoint;
}

.accordion-item {
  border: none;
  background: transparent;
  border-bottom: 1px solid rgba(70, 78, 108, 0.15);
}

.accordion-item:first-of-type {
  border-top: 1px solid rgba(70, 78, 108, 0.15);
}

.accordion-header {
  margin: 0;
  counter-increment: locpoint;
}

.accordion-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  background: transparent;
  border: none;
  padding: 24px 4px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 1.6px;
  font-weight: 700;
  color: #464e6c;
  box-shadow: none;
}

/* signature numbered marker, like a route sign */
.accordion-button::before {
  content: counter(locpoint, decimal-leading-zero);
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #9a2b49;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  color: #9a2b49;
  transition: background .25s ease, color .25s ease;
}

.accordion-button:not(.collapsed)::before {
  background: #9a2b49;
  color: #fff;
}

/* remove bootstrap's default chevron image, draw our own plus/minus */
.accordion-button {
  position: relative;
}

.accordion-button>* {
  position: relative;
  z-index: 1;
}

.accordion-button::after {
  content: "+";
  margin-left: auto;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: none !important;
  background: transparent;
  box-shadow: none;
  font-size: 18px;
  font-weight: 400;
  color: #9a2b49;
  transform: none !important;
}

.accordion-button:not(.collapsed)::after {
  content: "−";
  color: #464e6c;
}

.accordion-button:not(.collapsed) {
  color: #9a2b49;
}

.accordion-body {
  padding: 4px 4px 28px 52px;
}

.accordion-body ul {
  max-height: 320px;
  /* adjust height */
  overflow-y: auto;
  padding-right: 8px;

}

/* Custom scrollbar */
.accordion-body ul::-webkit-scrollbar {
  width: 6px;
}

.accordion-body ul::-webkit-scrollbar-track {
  background: #f3f3f3;
  border-radius: 20px;
}

.accordion-body ul::-webkit-scrollbar-thumb {
  background: #9a2b49;
  border-radius: 20px;
}

.accordion-body ul::-webkit-scrollbar-thumb:hover {
  background: #464e6c;
}

.accordion-body li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  font-size: 14.5px;
  color: #5a5a5a;
  border-bottom: 1px dashed rgba(70, 78, 108, 0.14);
}

.accordion-body li:last-child {
  border-bottom: none;
}

.accordion-body li strong {
  color: #464e6c;
  font-weight: 700;
  white-space: nowrap;
}

.btn-2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 30px;
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #fff;
  background: #9a2b49;
  border-radius: 2px;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}

.btn-2:hover {
  background: #464e6c;
  transform: translateX(4px);
  color: #fff;
}

.btn-2::after {
  content: "→";
}

/* ---- Right: map ---- */
.iframe-container {
  position: relative;
  min-height: 520px;
  filter: grayscale(0.15) contrast(1.02);
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
}

/* ---- YouTube route-navigation row ---- */
.yt-btn-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.yt-btn-1 {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #1c1c1c;
}

.yt-btn-1 .thumb-img-yt {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.yt-btn-1:hover .thumb-img-yt {
  transform: scale(1.08);
}

.yt-btn-1 .overlaye {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(70, 78, 108, 0.10) 0%, rgba(31, 20, 15, 0.78) 100%);
  z-index: 1;
}

.yt-btn-1 .yt-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform .3s ease, background .3s ease;
}

.yt-btn-1 .yt-icon img {
  width: 20px;
  margin-left: 2px;
}

.yt-btn-1:hover .yt-icon {
  transform: translate(-50%, -50%) scale(1.12);
  background: #9a2b49;
}

.yt-btn-1:hover .yt-icon img {
  filter: brightness(0) invert(1);
}

.yt-btn-1>div:last-child {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
}

.yt-btn-1 .rn {
  display: block;
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 700;
  color: #f0c674;
  margin-bottom: 4px;
}

.yt-btn-1 h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

@media (max-width: 991px) {
  .acc-container {
    grid-template-columns: 1fr;
  }

  .iframe-container,
  .iframe-container iframe {
    min-height: 380px;
  }

  .yt-btn-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .acc-box {
    padding: 48px 24px 40px;
  }

  .accordion-body {
    padding-left: 4px;
  }
}

/********************************/


.cir-footer-social {
  display: flex;
  gap: 12px;
  justify-content: center;
}

@media (min-width:992px) {
  .cir-footer-social {
    justify-content: flex-end;
  }
}

.cir-footer-social a {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a2b49;
  text-decoration: none;
  transition: .3s;
}

.cir-footer-social a:hover {
  background: #464e6c;
  color: #fff;
  transform: translateY(-3px);
}

.cir-footer-title {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

/******************************************/
/* Open Button */
.open-popup-btn {
  background: #9a2b49;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

/* Popup Background */
.custom-popup {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* Popup Box */
.popup-content {
  background: #fff;
  width: 90%;
  max-width: 450px;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  animation: popupFade .3s ease;
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-content h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #9a2b49;
}

.popup-content p {
  text-align: center;
  margin-bottom: 20px;
  color: #666;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
  font-size: 15px;
}

.form-group input:focus {
  border-color: #9a2b49;
}

.submit-btn {
  width: 100%;
  background: #9a2b49;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.submit-btn:hover {
  opacity: 0.9;
}

.close-popup {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
  color: #555;
}

/**************************/

/* SECTION */
.gallery-section {
  padding: 80px 0;
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title span {
  color: var(#9A2B49);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 42px;
  margin: 15px 0;
  color: var(#464E6C);
}

.section-title p {
  color: #666;
  max-width: 700px;
  margin: auto;
}

/* FILTERS */
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  background: #fff;
  color: #333;
  cursor: pointer;
  transition: .3s;
  font-weight: 600;
  border: 1px solid #ddd;
}

.filter-btn.active,
.filter-btn:hover {
  background: #9A2B49;
  color: #fff;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
  transition: .4s;
}

.gallery-item:hover {
  transform: translateY(-8px);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: .5s;
}

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

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.overlay h3 {
  color: #fff;
  font-size: 18px;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.active {
  display: flex;
}

.modal-content {
  width: 90%;
  max-width: 1000px;
}

.modal-image img {
  width: 100%;
  max-height: 100vh;
  object-fit: contain;
  border-radius: 15px;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

/* NAVIGATION */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: .3s;
}

.prev-btn {
  left: 30px;
  background: var(#9A2B49);
}

.next-btn {
  right: 30px;
  background: var(#464E6C);
}

.nav-btn:hover {
  transform: translateY(-50%) scale(1.1);
}

@media(max-width:768px) {
  .header-transparent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
  }
.upd-btn-black-square.cnt-btn-style {
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    align-items: center;
    display: inline-flex;
    padding: 9px 9px 9px 10px;
}
  .section-title h2 {
    font-size: 30px;
  }

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

  .nav-btn {
    width: 50px;
    height: 50px;
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }
}


/******************************/
/* ==========================================
   ABOUT SECTION LAYOUT STYLES
   ========================================== */
.cnt-hero-list-wrap {
  background: #464E6C;
  border-radius: 30px;
  padding: 35px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .05);
}

.cnt-hero-list {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ececec;
  padding: 24px 0;
}

.cnt-hero-list:last-child {
  border-bottom: none;
}

.cnt-stat-title {
  width: 40%;

  font-family: 'Kanit', sans-serif;
  ;

  color: #fff;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
}

.cnt-stat-value {
  width: 35% !important;
}

.cnt-hero-list-num {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  font-family: 'Times New Roman', Times, serif;
}

.cnt-stat-unit {
  width: 20%;
  font-family: 'Kanit', sans-serif;;
    
    color: #525252;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
}

.cnt-hero-list-icon {
  width: 15%;
  display: flex;
  justify-content: flex-end;
}

.cnt-hero-list-icon span {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
}

.cnt-hero-list-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.cnt-hero-list:hover .cnt-hero-list-icon span {
  border-color: #902d43;
  box-shadow: 0 8px 20px rgba(144, 45, 67, .15);
  transform: translateY(-3px);
}

@media(max-width:767px) {
  
  .cnt-hero-list-num {
   
    font-size: 13px;
  }

  .upd-btn-black-square.cnt-btn-style {
  
    font-size: 13px;
  }
  .cnt-hero-list {
    /* flex-wrap: wrap; */
    gap: 10px;
  }

  .cnt-stat-title {
    width: 100%;
  }

  .cnt-stat-value {
    width: auto;
  }

  .cnt-stat-unit {
    width: auto;
  }

  .cnt-hero-list-icon {
    margin-left: auto;
    width: auto;
  }
}
/*******************/
.desktop-banner,
.mobile-banner{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* Desktop */
.mobile-banner{
    display:none;
}

/* Mobile */
@media (max-width: 767px){

    .desktop-banner{
        display:none;
    }

    .mobile-banner{
        display:block;
    }

    .uhs-slide{
        min-height:auto;
    }
}


/*********************/
/* ==========================================================================
   DRIVERS SECTION SYSTEM STYLES (Color Palettes: #464f6d & #a6d067)
   ========================================================================== */
.drivers-section {
    background-color: #fafbfc;
    font-family: 'Kanit', sans-serif;
    overflow: hidden;
}

/* Centered Top Heading Area Layouts */
.drivers-sidebar-wrap {
    position: relative;
    padding: 0;
    margin: 0 auto;
}

.drivers-subtitle {
 display: inline-block;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9a2b49;
    margin-bottom: 12px;
    font-family: 'ClashDisplay-Medium', serif;
}

.drivers-main-title {
     font-size: 36px;
    line-height: 1.3;
    font-weight: 400;
    color: #464f6d;
    margin-bottom: 0;
    font-family: 'Kanit', sans-serif;
}

.drivers-main-title span {
    color: #a6d067; /* Highlights project name inline */
    display: inline-block;
        font-family: 'Kanit', sans-serif;

}

/* Grid Element Card Framework */
.driver-card {
    background: #ffffff;
    border: 1px solid #eef0f4;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(70, 79, 109, 0.02);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    contain: content; /* Hardware optimization path */
}

/* Header cluster layout inside card */
.driver-card-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

/* Accentized Number blocks */
.driver-num {
    font-size: 24px;
    font-weight: 700;
    color: #a6d067; /* Accent Green */
    background: rgba(166, 208, 103, 0.1);
    padding: 4px 10px;
    border-radius: 8px;
    line-height: 1;
    margin-right: 15px;
    display: inline-block;
}

.driver-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #464f6d; /* Deep slate font color */
    margin: 0;
    font-family: 
'Kanit', sans-serif;
}

.driver-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
      font-family: 
'Kanit', sans-serif;
}

/* Modern Micro-Interaction Hover Shifts */
.driver-card:hover {
    border-color: rgba(166, 208, 103, 0.4);
    background-color: #464f6d; /* Inverts color mapping beautifully */
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(70, 79, 109, 0.12);
}

/* Swaps internal text colors cleanly on hover states */
.driver-card:hover .driver-title {
    color: #ffffff;
}

.driver-card:hover .driver-text {
    color: #d1d5db;
}

.driver-card:hover .driver-num {
    background: #a6d067;
    color: #464f6d;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .drivers-main-title {
        font-size: 28px;
    }
    .driver-card {
        padding: 25px;
    }
}