.container-fluid {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.logo-img {
  position: absolute;
  width: 100%;
  top: 0;
  padding: 20px 0 60px 0;
  background: linear-gradient(180deg,
      #500000 0%, rgba(0, 0, 0, 0) 100%) 0% 0%;
}

.header-item-img {
  position: relative;
  overflow: hidden;
  left: 35px;
  top: 20px;
  height: 77px;
}

.header-item-img>img {
  height: 100%;
}

.logo-img a figure figcaption h3 {
  color: white;
  position: absolute;
  top: 60px;
  left: 188px;
  text-wrap: nowrap;
  font-family: 'Prompt';
  font-weight: normal;
}

.slide-counter-vertical {
  position: absolute;
  top: 217px;
  right: 20px;
  height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: white;
  z-index: 999;
  /* เพิ่ม z-index */
}

.slider-range-vertical {
  width: 360px;
  height: 1px;
  transform: rotate(-90deg);
  transform-origin: center;
  cursor: pointer;
  appearance: none;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0px;
}

.slider-range-vertical::-webkit-slider-thumb {
  appearance: none;
  width: var(--thumb-width, 20%);
  /* ใช้ CSS variable */
  height: 5px;
  background: #FFF;
  border-radius: 0;
  /* เปลี่ยนจาก 2px เป็น 0 */
  border: none;
  cursor: pointer;
}

.slider-range-vertical::-moz-range-thumb {
  width: var(--thumb-width, 20%);
  /* ใช้ CSS variable */
  height: 5px;
  background: #FFF;
  border-radius: 0;
  /* เปลี่ยนจาก 2px เป็น 0 */
  border: none;
  cursor: pointer;
}

/* สำหรับ Firefox */
.slider-range-vertical::-moz-range-track {
  background: #ccc;
  height: 2px;
}

/* ถ้าต้องการขอบเล็กน้อย */
.slider-range-vertical::-webkit-slider-thumb {
  appearance: none;
  width: var(--thumb-width, 20%);
  /* ใช้ CSS variable */
  height: 5px;
  background: #FFF;
  border-radius: 1px;
  /* ขอบนิดหน่อย */
  border: none;
  cursor: pointer;
}

.counter-top,
.counter-bottom {
  font-size: 14px;
  font-weight: 500;
  color: #FFF;
  margin: -25px;

}

.main-slider .item {
  position: relative;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translate(0%, -100%);
  text-align: left;
  color: white;
  z-index: 10;
  font-family: 'Prompt';
  /*mask: linear-gradient(
    to top,
    black 0%,
    black 40%,
    rgba(0,0,0,0.8) 70%,
    rgba(0,0,0,0.3) 90%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(
    to top,
    black 0%,
    black 40%,
    rgba(0,0,0,0.8) 70%,
    rgba(0,0,0,0.3) 90%,
    transparent 100%
  );*/
  mix-blend-mode: screen;
}

.slide-content h2 {
  font-size: 64px;
  width: 680px;
  text-align: left;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
  font-size: 24px;
  font-weight: 500;
  width: 700px;
  text-align: justify;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.explore-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  height: 70px;
  min-width: 256px;
}

.explore-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.sound-btn {
  display: inline;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.sound-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.main-slider {
  position: relative;
  width: 100%;
  /*height: 90vh;*/
  height: 1200px;
  opacity: 0;
  padding: 0;
  visibility: hidden;
  transition: all 0.5s ease;

}

.main-slider-container {
  position: relative;
  padding: 0;
  overflow-y: hidden;
}

.main-slider.slick-initialized {
  opacity: 1;
  visibility: visible;
}

.main-slider .slick-slide {
  position: relative;
  height: 1200px;
  backface-visibility: hidden;
}

.main-slider .slick-slide video {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
}

.main-slider .slick-slide iframe {
  position: relative;
  pointer-events: none;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.main-slider .slick-slide figure {
  position: relative;
  height: 100%;
}

.main-slider .slick-slide .slide-image {
  opacity: 1;
  height: 100%;
  transition: all 0.8s ease;
}

.main-slider .slick-slide .image-entity {
  width: 100%;
  opacity: 0;
  visibility: hidden;
}

.main-slider .slick-slide .loading {
  position: absolute;
  top: 44%;
  left: 0;
  width: 100%;
}

.main-slider .slick-slide .slide-media {
  animation: slideOut 0.4s cubic-bezier(0.4, 0.29, 0.01, 1);
}

.main-slider .slick-slide .slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-slider .slick-slide.slick-active {
  z-index: 1;
}

.main-slider .slick-slide.slick-active .slide-media {
  animation: slideIn 2.4s cubic-bezier(0.4, 0.29, 0.01, 1);
}

/* Bottom Feature Cards */
.feature-cards {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  z-index: 10;
}

.feature-cards::before {
  content: '';
  position: absolute;
  top: -50px;
  /* ระยะห่างจาก feature-cards */
  left: 50%;
  transform: translateX(-50%);
  width: 180%;
  /* ความกว้างของเส้น */
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  /* สีขาวจาง */
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  /* เงาเบาๆ */
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: 15px;
  padding: 15px 25px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 165, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.feature-text {
  font-size: 14px;
  font-weight: 500;
  color: #FFF;
  white-space: nowrap;
}

/* Slide Navigation Arrows */
.slide-arrows {
  position: absolute;
  bottom: 40%;
  left: 15%;
  display: flex;
  gap: 15px;
  z-index: 10;
}

.slide-arrow {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.slide-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.button-group {
  display: block;
  position: relative;
}

.service-section {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 180px 0 30px 0;
}

.service-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 580px;
  /* เฉพาะ background สูง 580px */
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(/images/heroesBackground.jpg);
  background-size: cover;
  background-position: center;
  z-index: -1;
  /* ให้อยู่ข้างหลัง content */
}

.service-content {
  max-width: 1280px;
  padding: 0 20px;
  text-align: justify;
  width: 100%;
  margin: 0 auto;
}

.service-title {
  font-weight: bold;
  font-size: 20px;
  text-align: justify;
  margin-top: 35px;
  line-height: 1.2;
}

.service-subtitle {
  font-size: 16px;
  font-weight: normal;
  line-height: 1.5;
  max-width: 800px;
  margin: 60px auto 60px auto;
  opacity: 0.9;
}

.services-container {
  display: flex;
  background: rgba(255, 255, 255, 1);
  justify-content: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px;
  border-radius: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card {
  flex: 1;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 2px;
  padding: 40px 25px;
  text-align: left;
  color: #333;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  margin: 0 10px;
  height: 300px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF9900, #f7931e);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/*.section-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #FF9900, #f7931e);
  border-radius: 16px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: all 0.3s ease;
}*/

.service-card:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  height: 40px;
  border-radius: 8px;
  background: #f8f9fa;
  color: #FF9900;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  position: absolute;
  bottom: 20px;
}

.service-card:hover .service-arrow {
  background: #FF9900;
  color: white;
  transform: translateX(5px);
}

.history-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 80px 0 30px 0;
}

.history-image {
  border-radius: 15px;
  overflow: hidden;
  height: 500px;
}

.history-image>img,
.mini-history-image>img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.mini-history-image {
  width: 100%;
  height: 210px;
  border-radius: 40px;
  overflow: hidden;
}

.stats-wrap::before {
  content: '';
  position: relative;
  display: block;
  left: 1%;
  width: 98%;
  height: 1px;
  margin-bottom: 15px;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.stats-section {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.stat-card {
  background: white;
  border-radius: 15px;
  padding: 25px 20px;
  text-align: left;
  transition: all 0.3s ease;
  flex: 1;
}

.stat-text {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin-top: 8px;
  margin-bottom: 0;
}

.video-card {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.user-avatars {
  display: flex;
  margin-bottom: 15px;
  flex: 1;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid white;
  margin-right: -8px;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.play-section {
  display: flex;
  align-items: center;
  margin-top: 32px;
  margin-left: 32px;
  flex: 1;
}

.video-text {
  font-size: 16px;
  font-weight: bold;
  color: #222;
  margin-top: -50px;
}

.solve-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 80px 0 30px 0;
  background: linear-gradient(135deg, #8B0000 0%, #4A0000 50%, #2C0000 100%);
}

.solve-cards-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.solve-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.solve-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(139, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.solve-card:hover::before {
  opacity: 1;
}

.solve-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.solve-card i {
  font-size: 2.5rem;
  color: #FFD700;
  margin-bottom: 1rem;
  display: block;
}

.solve-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #fff;
}

.solve-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.col-lg-6.order-lg-2 {
  position: relative;
}

.logo-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: #fff;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  margin-top: 60px;
}

.logo-container:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.logo-image {
  border: #50020A 5px solid;
  border-radius: 50%;
  width: 130px;
  height: 130px;
}

.logo-image>img {
  margin-top: 25px;
}

.footer-info {
  position: relative;
  top: 2rem;
  text-align: justify;
  display: flex;
  flex-direction: row;
  margin-bottom: 32px;
}

.footer-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  flex: 1;
}

.footer-info a {
  color: #FF9900;
  font-weight: bold;
  text-decoration: underline;
  flex: 1;
}

.achivement-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #222;
  padding: 80px 0 30px 0;
}

.achivement-detail {
  margin-top: 100px;
  font-size: 20px;
  line-height: 30px;
}

.achivement-tab-btn {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.achivement-tab-btn li {
  color: #222;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  padding: 0.5rem 1rem 0.5rem 0.25rem;
  white-space: nowrap;
  position: relative;
}

.achivement-tab-btn li.active {
  color: #ff6600;
  font-weight: bold;
}

.achivement-tab-btn li:hover {
  color: #ff6600;
}

.achivement-tab-btn li:not(:last-child) {
  position: relative;
}

.achivement-tab-btn li:not(:last-child)::after {
  content: "/";
  color: inherit;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.achivement-tab-btn li.active:not(:last-child)::after {
  color: #ff6600;
}

.achivement-tab-content:not(:first-child) {
  display: none;
}

.achivement-tab-content-wrap {
  margin-top: 15px;
}

.achivement-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  position: relative;
}

.achivement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.achivement-image {
  height: 440px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.achivement-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(34, 34, 34, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
}

.achivement-title {
  padding: 1.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 0;
}

.process-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #222;
  padding: 15px 0 30px 0;
  background-color: #FFFDF4;
}

.process-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 553px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.process-content {
  margin-top: 110px;
}

.process-steps {
  padding-left: 2rem;
}

.step-item {
  margin-bottom: 2rem;
  position: relative;
  padding-left: 1rem;
  cursor: default;
}

.step-number {
  font-size: 2rem;
  font-weight: bold;
  color: #ff9900;
  margin-bottom: 0.5rem;
  display: block;
}

.step-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.step-description {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.5;
}

.step-item.highlighted {
  background: linear-gradient(135deg, #ff9900, #ffb347);
  color: white;
  padding: 1.5rem;
  border-radius: 15px;
  margin: 1rem 0;
  /*transform: scale(1.05);*/
  box-shadow: 0 8px 25px rgba(255, 153, 0, 0.3);
}

.step-item.highlighted .step-number,
.step-item.highlighted .step-title,
.step-item.highlighted .step-description {
  color: white;
}

.step-item:not(.highlighted):hover {
  background: rgba(255, 153, 0, 0.05);
  border-radius: 10px;
  padding: 1rem;
  transition: all 0.3s ease;
  transform: translateX(10px);
}

.process-image:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.quote-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.quote-text {
  flex: 1;
  min-width: 300px;
}

.quote-title {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin: 0 15px;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

.quote-button {
  flex-shrink: 0;
}

.btn-quote {
  background: #ff9900;
  border: none;
  color: white;
  padding: 0;
  /*border-radius: 50px;*/
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-quote:hover::before {
  left: 100%;
}

.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
  color: white;
  text-decoration: none;
}

.btn-quote:active {
  transform: translateY(0);
}

.quote-icon {
  background: #ff9900;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}

.btn-quote:hover .quote-icon {
  transform: rotate(0deg);
}

.testimonial-section {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px 0 180px 0;
}

.testimonial-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* เฉพาะ background สูง 580px */
  background: linear-gradient(rgba(255, 255, 255, 1.0), rgba(128, 128, 128, 0.26)), url(/images/background.png);
  background-size: cover;
  background-position: center;
  z-index: -1;
  /* ให้อยู่ข้างหลัง content */
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff9900, #ffb347);
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.testimonial-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 640px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.testimonial-image:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #f8f9fa;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-details h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  letter-spacing: -0.5px;
}

.user-details p {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
  font-weight: 500;
}

.navigation-buttons {
  display: flex;
  gap: 0.5rem;
}

.nav-btn {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 12px;
  background: #ff9900;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.nav-btn:hover {
  background: #e6890a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

.nav-btn:active {
  transform: translateY(0);
}

.nav-btn.prev {
  background: #f8f9fa;
  color: #6c757d;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-btn.prev:hover {
  background: #e9ecef;
  color: #495057;
}

.testimonial-content {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  color: #ffc107;
  font-size: 1.2rem;
}

.testimonial-meta {
  font-size: 0.85rem;
  color: #6c757d;
}

/* เพิ่ม Media Query สำหรับหน้าจอเล็ก */
@media (max-width: 1199px) {
  .main-slider {
    height: 250px;
  }

  .main-slider .slick-slide {
    height: 250px;
  }
}

@media (max-width: 767px) {
  .header-item-img {
    left: 10px;
    top: 0;
    height: 30px;
  }

  .logo-img a figure figcaption h3 {
    top: 25px;
    left: 65px;
  }

  .slide-content {
    left: 10%;
    bottom: -5%;
    margin-top: 40px;
  }

  .slide-content h2 {
    font-size: 20px;
    width: 85%;
    line-height: 0.95;
  }

  .slide-arrows {
    /*bottom: 30%;*/
    display: none;
  }

  .slide-content p {
    font-size: 14px;
    width: 85%;
    line-height: 1;
  }

  .slide-counter-vertical {
    right: -15px !important;
    height: 150px !important;
    top: 20%;
  }

  .slider-range-vertical {
    width: 150px !important;
  }

  .counter-top,
  .counter-bottom {
    font-size: 12px !important;
    margin: -20px !important;
  }

  .explore-btn {
    padding: 10px 20px;
    font-size: 12px;
    height: 35px;
    min-width: 35px;
    position: absolute;
    left: 0;
  }

  .sound-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
    position: absolute;
    left: 130px;
  }

  .feature-cards {
    position: relative;
    right: 0;
    top: 0;
    flex-direction: column;
    gap: 15px;
    padding: 15px 0 0 25px;
  }

  .feature-card {
    gap: 0;
    padding: 0;
  }

  .feature-text {
    color: #000;
  }

  .mini-history-image {
    border-radius: 12px;
  }

  .stats-section,
  .video-card {
    flex-direction: column;
    gap: 2px;
  }

  .service-subtitle {
    margin-top: 25px;
  }

  .history-section {
    padding: 25px 0 30px 0;
  }

  .achivement-tab-btn {
    display: none;
  }

  .achivement-tab-btn li {
    text-align: left;
    flex: none;
    width: 100%;
    padding: 0.25rem 1rem 0.25rem 0;
  }

  .achivement-tab-btn li:not(:last-child)::after {
    position: static;
    transform: none;
    margin-left: 0.25rem;
  }

  .achivement-detail {
    margin-top: 12px;
  }

  .process-section {
    padding-top: 0px;
  }

  .process-image {
    height: 300px;
    margin-bottom: 2rem;
  }

  .process-content {
    margin-top: 10px;
  }

  .process-steps {
    padding-left: 0;
  }

  .step-item.highlighted {
    transform: none;
    margin: 1rem 0;
  }
  .testimonial-section{
    padding-top:0;
    padding-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .slide-counter-vertical {
    right: -15px !important;
    height: 80px !important;
  }

  .slider-range-vertical {
    width: 80px !important;
  }

  .counter-top,
  .counter-bottom {
    font-size: 10px !important;
    margin: -15px !important;
  }

  .services-container {
    padding: 20px 10px;
    border-radius: 5px;
  }

  .service-title {
    font-size: 16px;
  }

  .service-card {
    padding: 10px 0;
    margin-bottom: 20px;
    height: 250px;
  }

  .solve-cards-container {
    background: url('/images/what-we-do-image.jpg') center/cover no-repeat;
  }

  .logo-container {
    margin-top: 100px;
  }
}