/**
* Template Name: Green
* Updated: Sep 18 2023 with Bootstrap v5.3.2
* Template URL: https://bootstrapmade.com/green-free-one-page-bootstrap-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;300;400;500;600;700;800;900&family=Poppins:wght@100;200;300;400;500;600;700;800&family=Kanit:wght@100;200;300;400;500;600;700&display=swap');

body {
  font-family: "Prompt", sans-serif;
  color: #444444;
  font-size: 18px;
}

a {
  text-decoration: none;
  color: #890908;
 /* color: #af0100;*/
}

a:hover {
  color: #80c792;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Prompt", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #555555;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #a72c2b;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #eaeaea;
  font-size: 16px;
  font-weight: 500;
  height: 40px;
  padding: 0;
}

#topbar .contact-info a {
  line-height: 0;
  color: #444444;
  transition: 0.3s;
}

#topbar .contact-info a:hover {
  color: #890908;
}

#topbar .contact-info i {
  color: #890908;
  line-height: 0;
  margin-right: 5px;
}

#topbar .contact-info .phone-icon {
  margin-left: 15px;
}

#topbar .contact-info .lineoa-icon {
  margin-left: 15px;
}

#topbar .social-links a {
  color: #6f6f6f;
  padding: 4px 12px;
  display: inline-block;
  line-height: 1px;
  transition: 0.3s;
}

#topbar .social-links a:hover {
  color: #890908;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  transition: all 0.5s;
  z-index: 997;
  height: 70px;
}

#header.header-scrolled {
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#header .logo a {
  color: #890908;
}

#header .logo img {
  max-height: 50px;
}

.scrolled-offset {
  margin-top: 70px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 16px;
  font-weight: 400;
  color: #222222;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #890908;
}

.navbar .getstarted,
.navbar .getstarted:focus {
  color: #890908;
  padding: 8px 25px;
  margin-left: 30px;
  border-radius: 4px;
  border: 2px solid #890908;
  transition: 0.3s;
  font-size: 15px;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  background: #890908;
  color: #fff;
}
/*
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  text-transform: none;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #890908;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}
*/
/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #222222;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(9, 9, 9, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #222222;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #890908;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #890908;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}
/* ==========================
   MEGA MENU STYLE
========================== */
.navbar .megamenu {
  position: static;
}

.navbar .megamenu .mega-menu-container {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: #fff;
  padding: 30px 60px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.navbar .megamenu:hover .mega-menu-container {
  opacity: 1;
  visibility: visible;
}

.mega-menu-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.mega-column {
  flex: 1;
}

.mega-column h4 {
  font-size: 18px;
  color: #890908;
  margin-bottom: 10px;
  border-bottom: 2px solid #890908;
  padding-bottom: 5px;
}

.mega-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block; /* บังคับให้ ul เป็น block */
}

.mega-column ul li {
  display: block; /* ให้แต่ละ li อยู่คนละบรรทัด */
 margin: 2px 0; /* ลดช่องว่างบน–ล่าง */
  line-height: 1.2; /* ลดความสูงบรรทัด */
}

.mega-column ul li a {
  font-size: 16px;
  position: relative;
  padding-left: 26px; /* จองพื้นที่ไอคอนไว้ */
  display: inline-block;
  transition: transform 0.25s ease;
}

/* icon */
.mega-column ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 20px;
  background: url("../img/menu-forklift.png") no-repeat center;
  background-size: contain;

  opacity: 0;
  transform: translateY(-50%) translateX(-6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

/* hover effect */
.mega-column ul li a:hover {
  transform: translateX(4px); /* ข้อความขยับ */
}

.mega-column ul li a:hover::before,
.mega-column ul li a:focus::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.mega-column ul li a::before {
  will-change: transform, opacity;
}

/* ==========================
   SPECIAL LINKS
========================== */

/* ขอใบเสนอราคา */
.mega-column ul li a.mega-quote{
  font-weight: 600;
  color: #890908;
}

.mega-column ul li a.mega-quote::before{
  background: url("../img/icon-quotation.png") no-repeat center;
  background-size: contain;
}

.mega-column ul li a.mega-quote:hover{
  color: #db5b00;
}


/* Live Chat */
.mega-column ul li a.mega-chat{
  font-style: italic;
  font-weight: 600;
  color: #890908;
}

.mega-column ul li a.mega-chat::before{
  background: url("../img/icon-chat.png") no-repeat center;
  background-size: contain;
}

.mega-column ul li a.mega-chat:hover{
  color: #00a2ff;
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: calc(100vh - 120px);
  overflow: hidden;
  position: relative;
  background-color: rgba(9, 9, 9, 0.8);
}

#hero .carousel,
#hero .carousel-inner,
#hero .carousel-item,
#hero .carousel-item::before {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#hero .carousel-item::before {
  content: "";
  /*background-color: rgba(45, 103, 60, 0.8);*/
  background-color: rgba(0, 0, 0, 0.2);
}

#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 50px;
  right: 50px;
}

#hero .container {
  text-align: center;
   text-shadow: 1px 1px 2px #000000;
}

#hero h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 48px;
  font-weight: 700;
}

#hero p {
  animation-delay: 0.4s;
  margin: 0 auto 30px auto;
  color: #fff;
  font-size: 32px;
}

#hero .carousel-inner .carousel-item {
  transition-property: opacity;
  background-position: center center;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: 0.5s;
}

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  font-size: 30px;
  line-height: 0;
  width: auto;
  height: auto;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: 0.3s;
  color: rgba(255, 255, 255, 0.5);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero .carousel-control-next-icon:hover,
#hero .carousel-control-prev-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

#hero .carousel-indicators li {
  list-style-type: none;
  cursor: pointer;
  background: #fff;
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  opacity: 0.6;
  transition: 0.3s;
}

#hero .carousel-indicators li.active {
  opacity: 1;
  background: #890908;
}

#hero .btn-get-started {
  font-family: "Prompt", sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  transition: 0.5s;
  line-height: 1;
  color: #fff;
  animation-delay: 0.8s;
  background: #890908;
}

#hero .btn-get-started:hover {
  background: #d2201d;
}

@media (max-width: 992px) {
  #hero {
    /*height: 100vh;*/
	 height: calc(100vh - 100px);
  }

  #hero .carousel-container {
    top: 66px;
  }
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 28px;
  }
}

@media (min-width: 1024px) {

  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 5%;
  }
}

@media (max-height: 500px) {
  #hero {
    height: 120vh;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 40px 0;
}

.section-bg {
  background-color: #f2f2f2;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #890908;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
  font-size: 14px;
  color: #444444;
}

/*--------------------------------------------------------------
# Featured Services
--------------------------------------------------------------*/
.featured-services {
  padding: 20px 0;  
}

.featured-services .icon-box {
  padding: 20px;
 text-align: center; 
}

.featured-services .icon-box-bg {
  background-image: linear-gradient(0deg, #222222 0%, #2f2f2f 50%, #222222 100%);
}

.featured-services .icon {
  margin-bottom: 15px;
}

.featured-services .icon i {
  color: #890908;
  font-size: 42px;
}
.featured-services .icon i.fa{
  color: #890908;
  font-size: 42px;
}
.featured-services .title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 22px;
}

.featured-services .title a {
  color: #222222;
  transition: 0.3s;
}

.featured-services .icon-box:hover .title a {
  color: #890908;
}

.featured-services .description {
  line-height: 24px;
  font-size: 18px;
}

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
/*.about {

  padding: 40px 0;
}
.about .content h3 {
  font-weight: 700;
  font-size: 28px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #890908;
}

.about .content p:last-child {
  margin-bottom: 0;
}
.about .content button {
  background: #890908;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.about .content button:hover {
  background: #d2201d;
}*/
.about-premium{
background:#f3f3f3;
font-family:"Prompt",sans-serif;
overflow:hidden;
}


/* HERO */

.about-hero{
height:340px;
position:relative;
overflow:hidden;
}

.about-hero img{
width:100%;
height:100%;
object-fit:cover;
}

.hero-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(
rgba(0,0,0,0.2),
rgba(0,0,0,0.6)
);
}


/* MAIN CONTENT */

.about-main{
margin-top:-120px;
background:#fff;
padding:30px;
border-radius:12px;
box-shadow:0 20px 40px rgba(0,0,0,0.1);
position:relative;
z-index:2;
}

.about-main h2{
font-size:28px;
font-weight:600;
color:#890908;
margin-bottom:15px;
}

.about-main p{
font-size:16px;
line-height:1.7;
color:#555;
}

.about-logo{
max-width:220px;
}


/* highlight */

.about-highlight{
background:#890908;
color:#fff;
padding:4px 12px;
border-radius:4px;
display:inline-block;
margin-bottom:15px;
font-weight:500;
}


/* CARDS */

.about-cards-premium{
display:flex;
gap:25px;
margin-top:50px;
flex-wrap:wrap;
justify-content:center;
}

.about-card{
flex:1 1 300px;
background:linear-gradient(135deg,#8f0b0b,#5f0404);
padding:30px;
border-radius:12px;
color:#fff;
text-align:center;

position:relative;
overflow:hidden;

box-shadow:0 10px 25px rgba(0,0,0,0.15);

transition:
transform .4s cubic-bezier(.25,.8,.25,1),
box-shadow .4s ease;
}


/* hover motion */

.about-card:hover{
transform:translateY(-12px) scale(1.04);
box-shadow:0 25px 45px rgba(0,0,0,0.3);
}


/* title */

.about-card h3{
font-weight:700;
letter-spacing:1px;
margin-bottom:15px;
}

.about-card p{
color:#eee;
font-size:15px;
}


/* light sweep */

.about-card::before{
content:"";
position:absolute;
top:0;
left:-120%;
width:60%;
height:100%;
background:linear-gradient(
120deg,
transparent,
rgba(255,255,255,0.35),
transparent
);
transform:skew(-20deg);
transition:.7s;
}

.about-card:hover::before{
left:130%;
}


/* animation */

.about-card{
opacity:0;
transform:translateY(40px);
animation:cardFadeUp .8s ease forwards;
}

.about-card:nth-child(2){
animation-delay:.2s;
}

.about-card:nth-child(3){
animation-delay:.4s;
}

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


/* RESPONSIVE */

@media(max-width:992px){

.about-main{
padding:30px;
}

.about-main h2{
font-size:22px;
}

.about-cards-premium{
margin-top:35px;
}

}


@media(max-width:768px){

.about-main{
margin-top:-80px;
}

.about-cards-premium{
flex-direction:column;
}

}
/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us {
  padding: 40px 0;
}

.why-us .row {
  overflow: hidden;
}

.why-us .content-item {
  padding: 40px;
  border-left: 2px solid #fff;
  /*border-bottom: 1px solid #eee;*/
  margin: -1px;
}

.why-us .content-item span {
  display: block;
  font-size: 40px;
  font-weight: 400;
  color: #d2201d;
}

.why-us .content-item h4 {
  font-size: 22px;
  font-weight: 600;
  padding: 0;
  margin: 10px 0;
}

.why-us .content-item p {
  /*color: #aaaaaa;*/
  font-size: 18px;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .why-us .content-item {
    padding: 40px 0;
  }
}
/* ===== BRAND LOGOS GRID ===== */
.brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.brand-logos img {
    max-height: 50px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}
/* Hover Effect */
.brand-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}
/*--------------------------------------------------------------
# Our Clients
--------------------------------------------------------------*/
.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
}

.clients .swiper-slide img:hover {
  opacity: 1;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #890908;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #890908;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/

.services p {
  font-size: 18px;
}

.services .icon-box {
  text-align: center;
  padding: 20px;
  width: 100%;
  transition: all ease-in-out 0.3s;
  background: #fff;
  box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.1);
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}

.services .icon-box .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}

.services .icon-box .icon svg {
  position: absolute;
  top: 0;
  left: 0;
}

.services .icon-box .icon svg path {
  transition: 0.5s;
  fill: #f5f5f5;
}

/* ทำให้ h4, p ภายใน <a> ใน .services .icon-box เป็นสีที่ต้องการ */
.services .icon-box a h4,
.services .icon-box a p {
  color: #222222;
  transition: color 0.3s ease-in-out;
  
}

.services .icon-box a:hover h4,
.services .icon-box a:hover p {
  color: #890908;
}


.services .icon-box:hover {
  border-color: #fff;
  box-shadow: 0px 0 35px 0 rgba(0, 0, 0, 0.08);
}

/*.services .iconbox-blue i { color: #47aeff; }
.services .iconbox-blue:hover .icon i { color: #fff; }
.services .iconbox-blue:hover .icon path { fill: #47aeff; }

.services .iconbox-orange i { color: #ffa76e; }
.services .iconbox-orange:hover .icon i { color: #fff; }
.services .iconbox-orange:hover .icon path { fill: #ffa76e; }

.services .iconbox-pink i { color: #e80368; }
.services .iconbox-pink:hover .icon i { color: #fff; }
.services .iconbox-pink:hover .icon path { fill: #e80368; }

.services .iconbox-yellow i { color: #ffbb2c; }
.services .iconbox-yellow:hover .icon i { color: #fff; }
.services .iconbox-yellow:hover .icon path { fill: #ffbb2c; }

.services .iconbox-red i { color: #ff5828; }
.services .iconbox-red:hover .icon i { color: #fff; }
.services .iconbox-red:hover .icon path { fill: #ff5828; }

.services .iconbox-teal i { color: #11dbcf; }
.services .iconbox-teal:hover .icon i { color: #fff; }
.services .iconbox-teal:hover .icon path { fill: #11dbcf; }
*/

.services .icon-box h4 {
  font-size: 20px;
  margin-bottom: 15px;

}
.services .icon-box h5 {
  font-size: 20px;
  min-height: 48px; /* ล็อกความสูงหัวข้อ */
}
/* ปรับรูปให้กึ่งกลาง */
.services img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.services img:hover {
  transform: scale(1.03);
}

/*--------------------------------------------------------------
# Services Sub-content
--------------------------------------------------------------*/
.services .sub-content {
  background: #e9e9e9;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

.services .sub-content h2 {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 10px;
  padding-left: 1rem;
  border-left: 0.57rem solid #af0100;
}

.services .sub-content a h4,
.services .sub-content a p {
  color: #222222;
  transition: ease-in-out 0.3s;
}

.services .sub-content a:hover h4,
.services .sub-content a:hover p {
  color: #890908;
}

/* จัดรูปและข้อความให้อยู่กึ่งกลางอย่างแท้จริง */
.services .sub-content .row > div {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.services .sub-content .row > div img {
  max-width: 60%;
  height: auto;
  margin-bottom: 10px;
}

.services .sub-content .row > div h4,
.services .sub-content .row > div p {
  margin: 0;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
}

.service-list li i {
  color: #f57c00;
  margin-right: 8px;
  font-size: 15px;
  margin-top: 3px;
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: #890908;
  padding: 40px 0;
}
.cta h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}
.cta h2 a{
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}
.cta h2 a:hover{
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}
.cta h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
}
.cta p {
  color: #fff;
}

.cta .cta-btn {
  font-family: "Prompt", sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 2px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 4px;
}

.cta .cta-btn:hover {
  background: #fff;
  color: #890908;
}
.cta .section-title {
  text-align: center;
  padding-bottom: 30px;
}

.cta .section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.cta .section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.cta .section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #ffffff;
  bottom: 0;
  left: calc(50% - 20px);
}

@media (max-width: 1024px) {
  .cta {
    background-attachment: scroll;
  }
}

@media (min-width: 769px) {
  .cta .cta-btn-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 15px 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #fff;
  background: #890908;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(34, 34, 34, 0.6);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(34, 34, 34, 0.6);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap img {
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  font-style: italic;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  margin: 0 5px 0 0;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #d2201d;
}

.portfolio .portfolio-wrap:hover::before {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.2);
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #890908;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #890908;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(34, 34, 34, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}



/*--------------------------------------------------------------
# Rental Menu — Clean Style (No Border / No Background)
--------------------------------------------------------------*/

.rental-switch {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.rental-switch .switch-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background: #f7f7f7;
    font-size: 15px;
    color: #333;
    transition: 0.2s;
}

.rental-switch .switch-btn:hover {
    background: #e8e8e8;
    transform: translateY(-3px);
}

.rental-switch .switch-btn.active {
    background: #890908;
    border-color: #890908;
    color: white;
    font-weight: 500;
}
/* =========================
   FORKLIFT MENU FINAL
   ========================= */

/* wrapper */
.forklift-menu-wrapper {
    width: 100%;
    padding: 10px 0;
}

/* menu layout */
.forklift-menu {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 22px;
    max-width: 1500px;   /* เดิม 1200 → ขยาย */
    margin: 0 auto;
    padding: 0 20px;     /* กันชนขอบจอ */
}

/* ===== desktop 8 ช่องเป๊ะ ===== */
@media (min-width:1025px){
  .forklift-menu{
    flex-wrap: nowrap;              /* ห้ามตกแถว */
  }
  .forklift-menu .menu-item{
    flex: 1 1 0;                    /* แบ่งเท่ากัน 8 ช่อง */
    min-width: 0;
  }
}

/* item card */
.forklift-menu .menu-item {
    padding: 18px 12px;
    box-sizing: border-box;
    text-align: center;
    transition: 0.25s ease;
    overflow: visible;
    background: none !important;
    border: none !important;
}

/* image */
.forklift-menu .menu-item .img-box {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forklift-menu .menu-item .img-box img {
    width: 92%;
    height: 92%;
    object-fit: contain;
    display: block;
}

/* hover */
.forklift-menu .menu-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* active */
.forklift-menu .menu-item.active {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.forklift-menu .menu-item.active h4 {
    color: #222;
}

/* text */
.forklift-menu .menu-item h4 {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.forklift-menu .menu-item p {
    font-size: 12px;
    margin-bottom: 0;
    opacity: 0.75;
}

/* ===== tablet 4 ช่อง ===== */
@media (max-width:1024px){
  .forklift-menu{
    flex-wrap: wrap;
  }
  .forklift-menu .menu-item{
    flex: 0 0 calc(25% - 17px);
  }
}

/* ===== mobile 2 ช่อง ===== */
@media (max-width:600px){
  .forklift-menu .menu-item{
    flex: 0 0 calc(50% - 11px);
  }
}

/*--------------------------------------------------------------
# Modal – Global
--------------------------------------------------------------*/

/* ลดช่องว่างของ row ใน modal */
.modal-body .row {
    margin-bottom: 6px !important;
}

/* Input */
.form-control {
    padding: 8px 12px !important;
    font-size: 15px;
    height: 38px;
}
/* ===== Textarea (Form Control) ===== */
textarea.form-control {
    height: auto !important;         /* override height:38px */
    min-height: 30px;
    padding: 10px 14px !important;
    resize: vertical;
    line-height: 1.4;
}

/* focus effect ให้เหมือน input */
textarea.form-control:focus {
    border-color: #890908;
    box-shadow: 0 0 0 2px rgba(137, 9, 8, 0.15);
}
/* ----------------------------------------------------
   OPTION BLOCK
---------------------------------------------------- */
.option-block {
    padding: 12px !important;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    margin: 0 !important;
    background: #fff;
}

/* ----------------------------------------------------
   RADIO / CHECKBOX
---------------------------------------------------- */
.radio-line,
.radio-list,
.checkbox-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.radio-line label,
.radio-list label,
.checkbox-list label {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 15px;
}
.radio-list .label-text,
.checkbox-list .label-text {
    display: flex;
    flex-direction: column; /* <<< ตัวนี้แหละ */
}
.radio-list .en-sub {
    font-size: 14px;
    color: #777;
    line-height: 1.2;
}
.checkbox-list .en-sub {
    font-size: 12px;
    color: #777;
    line-height: 1.2;
}

.radio-list input[type="radio"],
.radio-line input[type="radio"],
.checkbox-list input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #890908; /* สีแดง MTR */
}

/* ----------------------------------------------------
   TWO BOXES SIDE-BY-SIDE (ประเภท / อายุเช่า)
---------------------------------------------------- */
.rental-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    margin-top: 10px;
}
/* ซ่อน section งานเช่า */
.rental-row.is-hidden {
    display: none !important;
}
.rental-box {
    flex: 1;
    padding: 14px 16px !important;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* กล่องระบุปีเอง */
.usage-custom {
    display: none;
    width: 120px;
}

.usage-custom input {
    padding: 6px 10px !important;
    height: 34px;
}

/* ----------------------------------------------------
   7-column section
---------------------------------------------------- */
.seven-col {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.seven-col .col {
    border: 1px solid #cfcfcf;
    padding: 6px 8px;
    border-radius: 6px;
    background: #fff;
}

.seven-col .col .section-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
	color: #890908;
}
#ref-used-label {
    font-size: 14px;
    font-style: italic;
    color: #6c757d; /* Bootstrap text-muted */
}

/* ===== Modal Footer Buttons ===== */
.modal-footer {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding-top: 22px;
    border-top: 1px solid #e5e5e5;
}

/* ปุ่มยืนยัน */
.modal-footer .btn-primary {
    background: #890908;      /* สีแดง MTR */
    border: none;
    padding: 12px 38px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    color: #fff;
}

.modal-footer .btn-primary:hover {
    background: #6f0606;
}

/* ปุ่มยกเลิก */
.modal-footer .btn-light {
    background: #dedede;
    border: none;
    padding: 12px 38px;
    font-size: 16px;
    border-radius: 6px;
    color: #333;
}

.modal-footer .btn-light:hover {
    background: #c9c9c9;
}
/* ----------------------------------------------------
   Responsive
---------------------------------------------------- */
@media (max-width: 992px) {
    .seven-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .seven-col {
        grid-template-columns: 1fr;
    }

    .rental-row {
        flex-direction: column;
    }

    .rental-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .usage-custom {
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team p {
  font-size: 18px;
}
.team .offer {
  font-size: 12px;
}
.team .member {
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0px 0px 12px 0px rgba(34, 34, 34, 0.07);
  padding: 30px 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.img-wrapper {
  display: flex;
  justify-content: center;
}
.img-wrapper img {
  max-width: 100%;
  transition: transform 0.3s ease;
}
.img-wrapper img:hover {
  transform: scale(1.03);
}

.team .member h4 {
  font-weight: 500;
  /*margin-bottom: 2px;*/
   padding: 10px 0px 0px 0px;
  font-size: 24px;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 20px;
}

.team .member a h4,
.team .member a span {
  color: #222222;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .member a:hover h4,
.team .member a:hover span {
  color: #890908;
}
.team .member p {
	
  padding-top: 10px;
  font-size: 16px;
  font-style: italic;
  color: #5e5e5e;
}

/*.team .member .social {
  margin-top: 15px;
}

.team .member .social a {
  color: #919191;
  transition: 0.3s;
}

.team .member .social a:hover {
  color: #890908;
}

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}*/
/* จัด layout ให้เป็น 2 คอลัมน์ */
.team .member .spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 15px;
  margin: 10px 0 15px;
}

/* default spec เดิม */
.team .member .spec {
  display: flex;
  align-items: flex-start;
  /*align-items: center;*/
  font-size: 14px;
}

/* ขยายเต็มแถว */
.team .member .spec.full {
  grid-column: 1 / 3;
}
.team .member span {
  font-size: 15px;
  font-weight: 500;
  text-align: left;
}
/* ไอคอน */
.team .member .spec img {
  width: 26px;
  height: 26px;
  margin-right: 6px;
}

.team .button-group {
  display: flex;
  flex-direction: row; /* เรียงแนวนอน */
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  flex-wrap: wrap; /* ให้ responsive ถ้าจอแคบ */
}

.team .button-group .btn {
  color: #890908;
  padding: 8px 10px;
  border-radius: 4px;
  border: 2px solid #890908;
  background: transparent;
  transition: 0.3s;
  font-size: 16px;
  white-space: nowrap;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}

.team .button-group .btn:hover {
  background: #890908;
  color: #fff;
}

@media (max-width: 480px) {
  .team .button-group {
    flex-direction: column;
    align-items: stretch;
  }

  .team .button-group .btn {
    width: 100%;
  }
  .team .member .spec-grid {
    grid-template-columns: 1fr; /* แสดงทีละแถว */
  }

  .team .member .spec.full {
    grid-column: auto;
  }
}

/* ────────────────────────────────
   Sidebar Filter (Updated Version)
───────────────────────────────── */
.filter-box {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.filter-box select {
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-size: 15px;
  color: #444;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-box select:focus {
  border-color: #890908;
  box-shadow: 0 0 0 2px rgba(137, 9, 8, 0.2);
  outline: none;
}

.filter-box label {
  font-weight: 500;
  margin-top: 15px;
  display: block;
}

.filter-box input[type="range"] {
  width: 100%;
  margin-bottom: 10px;
}

.filter-box span {
  display: inline-block;
  margin-bottom: 10px;
  color: #444;
}

/* ─── Power type buttons ─── */
.filter-box .power-btn {
  margin: 5px 5px 10px 0;
  padding: 6px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.2s ease-in-out;
}

.filter-box .power-btn.active {
  background: #890908;
  color: #fff;
  border-color: #890908;
}

/* ─── Action Buttons (Apply / Reset) ─── */
.filter-actions {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  align-items: stretch;
  white-space: nowrap; /* ป้องกันตกบรรทัด */
}

#applyFilter,
#resetFilter {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.3s, opacity 0.2s;
}

/* ปุ่ม “นำมาใช้” */
#applyFilter {
  background: #890908;
  color: #fff;
}

#applyFilter:hover {
  background: #a30f0f;
}

/* ปุ่ม “รีเซ็ต” */
#resetFilter {
  background: #e0e0e0;
  color: #333;
}

#resetFilter:hover {
  opacity: 0.85;
}

/* Responsive layout */
@media (max-width: 991px) {
  .filter-box {
    margin-bottom: 30px;
  }
}
.range-label {
  font-size: 14px;
  color: #333;
  margin-top: 5px;
  margin-bottom: 15px;
}
.range-label span {
  font-weight: bold;
  color: #890908;
}
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination-btn {
  padding: 8px 18px;
  font-size: 16px;
  background-color: #890908;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #aa0b0b;
}

.pagination-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  color: #666;
}

.pagination-info {
  font-size: 16px;
  color: #333;
}
.forklift-menu-wrapper {
  background: #f4f4f4;
  padding: 20px 50px;
  margin-bottom: 30px;
}

.forklift-menu {
  display: flex;
  flex-wrap: nowrap; /* ❗ ห้ามขึ้นบรรทัดใหม่ */
  overflow-x: auto;   /* 👈 เลื่อนแนวนอนได้บนมือถือ */
  gap: 20px;
  padding-bottom: 10px;
}

.forklift-menu::-webkit-scrollbar {
  height: 6px;
}
.forklift-menu::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

.menu-item {
  flex: 0 0 auto; /* ขนาดคงที่ ไม่ยืด/ไม่หด */
  width: 180px;
  text-align: center;
  text-decoration: none;
  color: #222;
  transition: transform 0.2s;
}

.menu-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.menu-item h4 {
  font-size: 18px;
  margin: 0;
}

.menu-item p {
  font-size: 14px;
  color: #555;
}

.menu-item:hover {
  transform: scale(1.05);
  color: #890908;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
	padding-top : 20px;
}
.contact p {
 
  font-size: 18px;
  
}
.contact .info {
  border-top: 3px solid #890908;
  border-bottom: 3px solid #890908;
  padding: 20px;
  background: #fff;
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .info .branch h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
	padding-left: 1rem;
    border-left: 0.57rem solid #af0100;
}


.contact .info i {
  font-size: 20px;
  color: #890908;
  float: left;
  width: 44px;
  height: 44px;
  background: #ebebeb;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 5px;
  color: #222222;
}

.contact .info p {
  padding: 0 0 10px 60px;
  /*margin-bottom: 20px;*/
  font-size: 18px;
  color: #555555;
}
.contact .info p a {
  color: #555555;
}
.contact .info p a:hover {  
  color: #890908;
}
.contact .info .social-links {
  padding-left: 60px;
}

.contact .info .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #333;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  margin-right: 10px;
}

.contact .info .social-links a:hover {
  background: #890908;
  color: #fff;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i, 
.contact .info .line:hover i,
.contact .info .map:hover i{
  background: #890908;
  color: #fff;
}
.contact .email-form {
  width: 100%;
  border-top: 3px solid #890908;
  border-bottom: 3px solid #890908;
  padding: 30px;
  background: #fff;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .email-form .form-group {
  padding-bottom: 8px;
}

.contact .email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .email-form .error-message br+br {
  margin-top: 25px;
}

.contact .email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .email-form input,
.contact .email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .email-form input:focus,
.contact .email-form textarea:focus {
  border-color: #890908;
}

.contact .email-form input {
  height: 44px;
}

.contact .email-form textarea {
  padding: 10px 12px;
}

.contact .email-form button[type=submit] {
  background: #890908;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .email-form button[type=submit]:hover {
  background: #d2201d;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #fbfbfb;
  min-height: 40px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 66px;
  }
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 500;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #3c3c3c;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #090909;
  color: #fff;
  font-size: 14px;
  /*text-align: center;*/
  padding: 30px 0;
}

#footer h4 {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  position: relative;
  /*font-family: "Poppins", sans-serif;*/
  padding: 0;
  margin: 0 0 15px 0;
}

#footer p {
  font-size: 18;
font-style: italic;
  padding: 0;
  margin: 0 0 40px 0;
}
#footer img {
  max-width: 50%;
}

#footer .social-links {
  margin: 0 0 40px 0;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #890908;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #fff;
  color: #890908;
  text-decoration: none;
}

#footer .copyright {
  margin: 0 0 5px 0;
   font-size: 14px;
}

#footer .credits {
  font-size: 14px;
}
/* Footer Headline */
#footer h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

#footer h3::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #890908;
  position: absolute;
  left: 0;
  bottom: 0;
}

/* Footer Links */
.footer-links ul,
.footer-branch ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li,
.footer-branch ul li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links ul li a:hover {
  color: #fff;
  padding-left: 5px;
}

/* Branch style */
.footer-branch strong {
  color: #fff;
  font-weight: 600;
}

.footer-branch li,
.footer-branch li a {
 color: #fff;
}
.footer-branch li a:hover {
 color: #890908;
}

/* Responsive spacing */
@media (max-width: 991px) {
  #footer .col-lg-3 {
    margin-bottom: 30px;
  }
}
/*--------------------------------------------------------------
# Hero2 (Same behavior as Hero)
--------------------------------------------------------------*/
#hero2 {
  width: 100%;
   height: 45vh;
  min-height: 360px;                /* ใกล้ hero เดิม */
  background-color: rgba(9,9,9,0.8);
  overflow: hidden;
  position: relative;
  margin-top: 0;                /* 🔴 สำคัญ */
  padding: 0;
}

/* background image */
#hero2 .hero2-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* overlay แบบ hero */
#hero2 .hero2-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 2;
}

/* container = carousel-container */
#hero2 .hero2-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: 0;
  left: 50px;
  right: 50px;
  z-index: 3;
}

/* text */
#hero2 .container {
  text-align: center;
  text-shadow: 1px 1px 2px #000;
}

#hero2 h2 {
  color: #fff;
  font-size: 40px;
  margin-bottom: 12px;
  font-weight: 600;
}

#hero2 p {
  margin: 0 auto 20px auto;
  color: #fff;
  font-size: 26px;
}

/* 🔴 ปุ่ม = hero เดิม */
#hero2 .btn-get-started {
  font-family: "Prompt", sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  transition: 0.5s;
  line-height: 1;
  color: #fff;
  background: #890908;
}

#hero2 .btn-get-started:hover {
  background: #d2201d;
}

/* responsive */
@media (max-width: 992px) {
  #hero2 {
     height: 50vh;
  min-height: 360px; 
  }

  #hero2 .hero2-container {
    top: 66px; /* เหมือน hero */
  }
}

@media (max-width: 768px) {
  #hero2 {
    height: 45vh;
    min-height: 300px;
  }

  #hero2 h2 {
    font-size: 26px;
  }

  #hero2 p {
    font-size: 20px;
  }
}
/* ===== PAIN-SECTION ===== */
.pain-section {
  padding: 40px 0;
  background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
}

/* ===== CARD ===== */
.service-card {
  background: #fff;
  padding: 40px;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 70px rgba(0,0,0,0.08);
}

/* ===== CARD TITLE ===== */
.service-card h5 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-left: 16px;
  border-left: 5px solid #af0100;
}

/* ===== LIST STYLE ===== */
.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-list li {
  padding: 6px 0;          /* ลดจาก 12 เหลือ 6 */
  font-size: 16px;
  line-height: 1.5;        /* คุมความสูงบรรทัด */
  position: relative;
  padding-left: 28px;
  color: #333;
}

.modern-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 3px;                /* ปรับตำแหน่งให้ตรงกลาง */
  color: #af0100;
  font-weight: bold;
  font-size: 14px;
}

.modern-list li span {
  font-size: 22px;
  font-weight: 700;
  color: #af0100;
}

/* ===== FAQ ===== */
.faq-card {
  box-shadow: 0 25px 70px rgba(0,0,0,0.05);
}

.faq {
  max-width: 850px;
  margin: auto;
}

.faq-item {
  background: #ffffff;
  margin-bottom: 10px;  /* ลดช่องว่างระหว่างกล่อง */
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  overflow: hidden;
  transition: 0.3s ease;  
}

.faq-item:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question .icon {
  font-size: 20px;
  transition: 0.3s ease;
  color: #af0100;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}

.faq-answer p {
  margin: 0;
  color: #555;
  padding: 12px 0;      /* ลดจาก 18px */
  line-height: 1.6;     /* จาก 1.8 เหลือ 1.6 */
  font-size: 14px;
}

/* Active */
.faq-item.active .faq-answer {
  max-height: 200px;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .service-card {
    padding: 30px;
  }

  .service-card h5 {
    font-size: 20px;
  }
}
/* ================= CTA2 SECTION ================= */
.cta2 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../img/cta-forklift-maintenance-service.jpg") fixed center center;
  background-size: cover;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.cta2 h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta2 p {
    font-size: 24px;
    opacity: 0.85;
    margin-bottom: 35px;
}

.cta2 .btn-primary.large {
    display: inline-block;
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 6px;
    background-color: #ff6a00;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.cta2 .btn-primary.large:hover {
    background-color: #e85d00;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
/* ================= PROCESS SECTION ================= */

.process {
    padding: 40px 0;
    background-color: #eaeaea;
}

/* Timeline Layout */
.timeline {
    position: relative;
    display: flex;
    align-items: center;   /* สำคัญมาก */
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* เส้นกลาง (ตัดกลาง icon พอดี) */
.timeline-line {
    position: absolute;
    top: 35px;              /* ครึ่งของ icon 70px */
    left: 5%;
    width: 90%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

/* Step */
.timeline-step {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 180px;
}

/* Icon */
.timeline-step .icon {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: 0.3s ease;
}

.timeline-step .icon i {
    font-size: 24px;
    color: #555;
}

/* Title */
.timeline-step h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

/* Description */
.timeline-step p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* Hover Effect */
.timeline-step:hover .icon {
    background: #ff6a00;
}

.timeline-step:hover .icon i {
    color: #fff;
}

/* Arrow */

/* ================= Responsive ================= */
@media (max-width: 992px) {

    .timeline {
        flex-direction: column;
        gap: 50px;
    }

    .timeline-line {
        display: none;
    }  
}
/* ================= forklift-parts-banner ================= */
.forklift-parts-banner{
    position: relative;
    background-image: linear-gradient(
        90deg,
        rgba(0,0,0,0.65) 0%,
        rgba(200,0,0,0.9) 55%,
        rgba(200,0,0,0.95) 100%
    ),
    url('../img/slide/mtr-forklift-attachment.jpg');
    
    background-size: cover;
    background-position: center;
    
    padding: 90px 0;
    color: #fff;
}

.forklift-parts-banner .container{
    max-width:1200px;
    margin:auto;
    padding:0 20px;
}

.banner-content{
    display:flex;
    justify-content:flex-end;
}

.banner-text{
    max-width:650px;
}

.banner-text h2{
    font-size:36px;
    font-weight:600;
    margin-bottom:15px;
}

.banner-text p{
    font-size:18px;
    margin-bottom:25px;
    opacity:0.95;
}

.btn-parts{
    display:inline-block;
    padding:14px 32px;
    background:#ff6a00;
    border-radius:8px;
    color:#fff;
    text-decoration:none;
    font-weight:600;
    font-size:16px;
    transition:0.3s;
    box-shadow:0 6px 15px rgba(0,0,0,0.2);
}

.btn-parts:hover{
    background:#e85d00;
    transform:translateY(-2px);
	color:#fff;
}
@media (max-width:768px){

.banner-content{
    justify-content:center;
    text-align:center;
}

.banner-text h2{
    font-size:28px;
}

.banner-text p{
    font-size:16px;
}

.forklift-parts-banner{
    padding:60px 0;
}

}