/* ========= INTER ========= */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/inter-v19-latin-regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/inter-v19-latin-600.woff2') format('woff2');
  font-display: swap;
}

/* ========= NOTO SANS THAI ========= */
@font-face {
  font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/noto-sans-thai-v28-latin_thai-regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/noto-sans-thai-v28-latin_thai-600.woff2') format('woff2');
  font-display: swap;
}

/* ========== RESET & BASE ========== */
body, h1, h2, h3, p, ul, li, a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  font-size: 19px;
}

body {
  font-family: 'Inter', 'Noto Sans Thai', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.8;
  background-color: #fdfdfb;
  color: #333;
  font-size: 1rem;
  font-weight: 400;
}

h1, h2, h3 {
  color: #2e7d32;
  font-weight: 600;
}

section {
  max-width: 1200px;
  margin: auto;
  padding: 1.2rem 1rem;
}

.section-heading {
  font-size: 1.9rem;
  color: #2e7d32;
  margin-bottom: 1.3rem;
  margin-top: 1.3rem;
  text-align: center;
  
}

.section-subtitle {
  font-size: 1.25rem;
  color: #2e7d32; /* ???????????????????? */
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  font-weight: 500;
  background: linear-gradient(to right, #e8f5e9, #f1f8e9);
  padding: 1rem 1.5rem;
  border-left: 5px solid #cddc39;
  border-radius: 8px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ========== Top Bar ========== */

.top-bar {
  background-color:green; /* เขียวเข้ม */
  color: white;
  padding: 0.1rem 0.4rem;
  position:sticky ;
  top: 0;
  z-index: 9999;
  text-align: center;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.top-bar-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.top-bar-text {
  font-weight: 450;
  font-size: 0.95rem;
}

.top-bar-socials a {
  color: #ffffff;
  margin-left: 1rem;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.top-bar-socials a:hover {
  color: #ffd700;
}

.desktop-only {
  display: inline;
}

.mobile-only {
  display: none;
}

/* ========== NAVBAR ========== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #B0FFA4;
  padding: 18px 30px;
  border-bottom: 5px solid #F8EA28; /* ?????????? */
}

.navbar.menu-open .menu-toggle {
  display: none;
}

.logo {
  padding-left: 1px;   /* ?????????????? */
  padding-top: 7px;       /* ????????????????????? */
}

.logo img {
  display: block;
  height: auto;
  max-height: 59px;      /* ??????????????????? */
}


.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.menu-toggle {
  font-size: 31px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  margin-right: 1rem;
  display: none;
  position: absolute;
  top: 6px;
  right: 0px;
  z-index: 1000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.nav-links a {
  text-decoration: none;
  color: #006600;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 7px 9px;
  display: inline-block;
}

.nav-links a:hover {
  color: #fdd835;
}

.lang-switch {
  font-size: 0.9rem;
  margin-left: 10px;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.lang-switch a {
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 8px; /* ??????????????????????????? */
  text-decoration: none;
  color: #006600; /* ???????????????? */
  font-weight: 600;
}

.lang-switch img.flag {
  height: 24px;
  width: auto;
  display: inline-block;
}

.menu-close {
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1001;
}

/* ========== HERO ========== */

.hero {
  background-color:  #FFFFFF;
  text-align: center;
  padding: 1.8rem 1rem;
}

.hero h1 {
  font-size: 2.1rem;
  padding: 0rem 1.3rem;
  margin-bottom: 1.1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding: 0rem 0.7rem;
}

/* ========== clients ========== */

section.clients {
  padding: 3rem 1rem;
  background-color: #B0FFA4;
  text-align: center;
  border-top: 1px solid #F8EA28;
  border-bottom: 1px solid #F8EA28;
}

.clients h2 {
  font-size: 2rem;
  color: #2e7d32; /* สีเขียว KEPT */
  margin-bottom: 2rem;
  font-weight: bold;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 0;
  list-style: none;
}

.client-logos li {
  flex: 0 1 120px;
}

.client-logos img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: transform 0.2s ease, opacity 0.2s ease;
  filter: grayscale(40%);
}

.client-logos img:hover {
  transform: scale(1.1);
  opacity: 1;
  filter: grayscale(0%);
}

/* ========== Global Box Sizing ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ========== Container (fixed-width) ========== */
.container {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

/* Responsive max-widths ตามจอแต่ละขนาด */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* ========== Container-Fluid (เต็มจอเสมอ) ========== */
.container-fluid {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

/* ========== BUTTONS ========== */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1.05rem;
  border-radius: 6px;
  text-decoration: none;
  margin: 0.5rem;
  font-weight: bold;
  cursor: pointer;
}

.btn-primary {
  background-color: #FDD93A;
  color: #06470F;
}

.btn-secondary {
  background-color: #c8e6c9;
  color: #2e7d32;
}

/* ========== SERVICES ========== */
.services {
  background: #e3f9ca;
  text-align: center;
}

.services {
  width: 100%;
  max-width: 1440px;  /* ขยายจาก 1320 → 1440 */
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.services h2 {
    font-size: 1.7rem;
    color: #2e7d32;
	text-align: center
  }

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.services-clean {
 background: #e3f9ca;
  text-align: center;
  max-width: 1220px;     /* เพิ่ม */
  margin: 0 auto;        /* เพิ่ม */
  padding: 2rem 1.5rem;  /* เพิ่มหรือปรับให้เหมาะ */
  border-radius: 12px;   /* (ไม่บังคับ) เพื่อให้ขอบมนดูสวยเหมือนกัน */
}
.services-grid h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2e7d32;
  }

  .service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* จาก 280px → 300px */
  gap: 2rem 2.5rem; /* แถว / คอลัมน์ */
}

  .service-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease;
  }

  .service-card:hover {
    transform: translateY(-8px);
  }

  .service-card img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
  }

  .service-card h3 {
    font-size: 1.25rem;
    color: #d81b60;
    margin-bottom: 1rem;
  }

  .service-card p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
  }

.service-box {
  background: white;
  border-radius: 10px;
  padding: 1rem;
  max-width: 380px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: left;
  transition: transform 0.2s ease;
  min-height: 460px;
	
}

.service-box:hover {
  transform: translateY(-8px);
}

.service-box img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.service-box h3 {
  color: #2e7d32;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-box p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.service-box a {
  color: #3366cc;
  font-weight: bold;
  text-decoration: none;
}

.service-layouts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* จาก 280px → 300px */
  gap: 2rem;
}

.service-slider {
  transition: opacity 0.5s ease-in-out;
}

.service-slider {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.layout-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s ease;
}

.layout-card:hover {
  transform: translateY(-8px);
}

.layout-card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.layout-card h3 {
  color: #c2185b;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.layout-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}



.blog-latest {
  background-color: #fff;
  padding: 2rem 1.5rem;
  text-align: center;
}

.blog-latest h2 {
  font-size: 1.5rem;
  color: #2e7d32;
  margin-bottom: 1.5rem;
}

.blog-list {
  list-style-type: disc;
  padding-left: 1.25rem;
  max-width: 1010px;
  margin: 0 auto 2rem auto;
  text-align: left;
}

.blog-list li {
  margin-bottom: 1.1rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.blog-list a {
  color: #1a237e;
  text-decoration:inherit;
  font-weight: 500;
}

.blog-list a:hover {
  color: #fdd835;
  text-decoration: none;
}

.cta-box {
  background-color: #fffde7;
  padding: 2rem 1rem;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.cta-box h3 {
  color: #2e7d32;
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
}

.cta-box .btn-primary {
  background-color: #fdd835;
  color: #333;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  display: inline-block;
  text-decoration: none;
}

.cta-box .btn-primary:hover {
  background-color: #ffeb3b;
}

/*------ img slide-------*/

.image-slide-hover {
  position: relative;
  width: 100%;
  height: 100%px;
  overflow: hidden;
  border-radius: 10px;
}

.slider {
  display: flex;
  width: 100%; /* 4 รูป = 400% */
  height: 200px;
  animation: slide 18s infinite; /* เปลี่ยนทุก 3 วินาที */
}

.slider img {
  width: 100%;
  height: 100%;
   object-fit: cover;
  min-width: 100%;
  min-height: 100%;
}
  
@keyframes slide {
  0%   { transform: translateX(0%); }
  16.66% { transform: translateX(0%); }

  20%   { transform: translateX(-100%); }
  33.32% { transform: translateX(-100%); }

  36.66% { transform: translateX(-200%); }
  49.98% { transform: translateX(-200%); }

  53.32% { transform: translateX(-300%); }
  66.64% { transform: translateX(-300%); }

  69.98% { transform: translateX(-400%); }
  83.3%  { transform: translateX(-400%); }

  86.64% { transform: translateX(-500%); }
  100%   { transform: translateX(-500%); }
}
/* ========== WHY US SECTION ========== */
.why-us {
  background-color: #f1f8e9;
  padding: 2.5rem 1rem;
  margin-top: 1.5rem;
  border-radius: 10px;
}

.why-us {
  width: 100%;
  max-width: 1440px;  /* ขยายจาก 1320 → 1440 */
  box-sizing: border-box;
}

.why-us h2 {
  font-size: 1.75rem;
  color: #2e7d32;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.why-us ul {
  list-style: none;
  padding-bottom: 2rem;
  padding-top: 1rem;
  margin: 0 auto;
  max-width: 990px;
  display: grid;
  /* ให้ยืดหยุ่นและไม่ล้นจอเล็ก: ใช้ auto-fit + กันล้นด้วย min(100%, 500px) */
   grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));

   /* ช่องว่างระหว่างการ์ด: แถว 1rem, คอลัมน์ 2rem */
  gap: 1.25rem 2rem;
 
  
}

.why-us li {
  display: grid;
  align-items:center;
  gap: 0.25rem;          /* ระยะไอคอน ↔ ข้อความ ภายในใบเดียวกัน */
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  position: relative;
  padding-left: 3rem;
}

.why-us li::before {
  content: '✅';
  color: #43a047;
  font-size: 1rem;
  position: absolute;
  left: .7rem;
  top: 0.1rem;
}

/* ===== Gallery Common ===== */
.wrap-1440 { max-width: 1440px; margin: 0 auto; padding: 0 20px; }
.section-title { font-size: clamp(22px, 2.2vw, 32px); font-weight: 800; }
.section-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.section-more { text-decoration:none; font-weight:600; }
.section-more:hover { color:#facc15; text-decoration:underline; }


.gallery-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid.preview { grid-template-columns: repeat(3, 1fr); }


@media (max-width: 1024px){ .gallery-grid, .gallery-grid.preview { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .gallery-grid, .gallery-grid.preview { grid-template-columns: 1fr; } }


.gallery-card { background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 8px 24px rgba(0,0,0,.06); display:flex; flex-direction:column; }
.gallery-card .card-link { color:inherit; text-decoration:none; display:flex; flex-direction:column; height:100%; }
.card-media { aspect-ratio: 16/10; overflow:hidden; background:#F1F5F9; }
.card-media img { width:100%; height:100%; object-fit:cover; display:block; }
.card-media img { object-fit:cover; object-position:center; }
.card-body { padding:14px 16px 16px; }
.card-title { font-size: clamp(16px, 1.6vw, 20px); line-height:1.3; margin:0 0 6px; font-weight:700; }
.card-excerpt { color:#475569; font-size:14px; margin:0 0 8px; }
.card-meta { color:#64748B; font-size:12px; display:flex; align-items:center; gap:8px; }
.card-meta .dot { opacity:.6; }

 @media (max-width:640px){
 .card-body { padding:16px 14px; }
}


/* Single page */
.gallery-single .single-head { margin-bottom:16px; }
.gallery-single .lead { color:#475569; font-size:18px; }
.single-gallery-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; margin: 18px 0; }
.single-gallery-grid .g-item { background:#F1F5F9; border-radius:12px; overflow:hidden; }
.single-gallery-grid img { width:100%; height:100%; object-fit:cover; display:block; aspect-ratio: 16/10; }
@media (max-width: 1024px){ .single-gallery-grid { grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 640px){ .single-gallery-grid { grid-template-columns: 1fr;} }

/* เฉพาะหน้า Home */
.home-gallery-preview .section-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.home-gallery-preview .section-more { text-decoration:none; font-weight:600; }

/* หากหน้า Home ไม่ได้โหลด gallery.css ให้คอนเฟิร์มว่ามีกริดและการ์ด */

@media (max-width:1024px){ .gallery-grid.preview { grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .gallery-grid.preview { grid-template-columns:1fr; } }

.card-title { font-size: clamp(16px, 1.6vw, 20px); line-height:1.3; margin:0 0 6px; font-weight:700; }
.card-meta { color:#64748B; font-size:12px; display:flex; align-items:center; gap:8px; }
.card-meta .date { white-space:nowrap; }

/* ========== TRUST / REVIEW / FAQ ========== */
.trust-badges {
  background-color: #e8f5e9;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
  margin-top: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.testimonials {
  background-color: #f1f8e9;
  text-align: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.testimonials blockquote {
  background: #fff3e0;
  border-left: 5px solid #fdd835;
  margin: 1rem auto;
  padding: 1rem;
  max-width: 800px;
  font-style: italic;
}

/* กล่องรวม FAQ */
.faq{
  background:#f9fbe7;
  border-radius:12px;
  padding:2.5rem 2rem;
  margin:1.15rem auto;
  max-width:1440px;
}

/* หัวข้อใหญ่ */
.faq h2{
  text-align:center;
  color:#2e7d32;
  font-size:1.85rem;
  font-weight:700;
  margin-bottom:1.5rem;
  line-height:1.3;
}

/* กริดการ์ดคำถาม */
.faq-list{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-content: center; /* จัดให้อยู่ตรงกลาง */
  gap: 1.5rem 2.5rem;
}

/* การ์ดคำถามแต่ละข้อ */
.faq-item{
  position:relative;
  background:#fff;
  border-radius:12px;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
  overflow:hidden;
  transition:box-shadow .2s ease, transform .2s ease;
}

/* แถบซ้าย accent (เน้นขณะ hover/เปิด) */
.faq-item::before{
  content:'';
  position:absolute;
  inset:0 0 0 0;               /* กินเต็มการ์ด */
  border-left:4px solid transparent;
  border-radius:12px;
  transition:border-color .2s ease;
}

/* hover นุ่ม ๆ */
.faq-item:hover{
  box-shadow:0 8px 18px rgba(0,0,0,.08);
  transform:translateY(-2px);
}
.faq-item:hover::before{ border-color:#66bb6a; }

/* แถบซ้ายติดเมื่อ "เปิด" (ใช้ :has รองรับ Chrome/Edge/Safari/iOS) */
.faq-item:has(.faq-toggle[aria-expanded="true"])::before{
  border-color:#66bb6a;
}

/* ปุ่มคำถาม */
.faq-toggle{
  width:100%;
  text-align:left;
  background:#fff;
  border:0;
  padding:1rem 3rem 1rem 1rem;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:.75rem;
  position:relative;

  /* ทำให้ข้อความคำถามเด่นขึ้น */
  font-size:1.05rem;
  font-weight:650;
  color:#167304;
  letter-spacing:.1px;
}

/* วงกลมรองไอคอนลูกศร */
.faq-toggle::after{
  content:'';
  position:absolute;
  right:.6rem;
  width:28px; height:28px;
  border-radius:999px;
  background:#e8f5e9;
  z-index:0;
}

/* โฟกัสด้วยคีย์บอร์ด (a11y) */
.faq-toggle:focus-visible{
  outline:3px solid #a5d6a7;
  outline-offset:2px;
  border-radius:8px;
}

/* ลูกศร */
.faq-toggle .chev{
  position:absolute;
  right:1rem;
  width:10px; height:10px;
  border-right:2px solid #2e7d32;
  border-bottom:2px solid #2e7d32;
  transform:rotate(-45deg);
  transition:transform .2s ease, border-color .2s ease;
}

/* หมุนลูกศรเมื่อเปิด */
.faq-toggle[aria-expanded="true"] .chev{
  transform:rotate(45deg);
  border-color:#1b5e20;
}

/* แผงคำตอบ */
.faq-panel{
  background:#fcfff7;
  border-top:1px solid #e6f2df;
}

/* ซ่อนด้วย hidden (ควบคุมโดย JS) */
.faq-panel[hidden]{ display:none; }


/* เนื้อหาคำตอบ */
.faq-panel-inner{
  padding:1rem 1.25rem;
  color:#333;
  line-height:1.7;
  font-size:.98rem;
}

/* ไฮไลท์คีย์เวิร์ดในคำถาม/คำตอบด้วย <mark> */
.faq-toggle mark,
.faq-panel mark{
  background:#fff59d;
  color:#2e7d32;
  padding:.05em .25em;
  border-radius:.25em;
}

/* (ตัวเลือก) ถ้าครอบข้อความคำถามด้วย <span class="q">…</span> */
.faq-toggle .q{
  font-weight:700;
  color:#184e1b;
  text-wrap:balance; /* เกลี่ยบรรทัด (เบราว์เซอร์ที่รองรับ) */
}

.highlight-box {
  background: #fff8dc;
  border-left: 5px solid #fdd835;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 1rem;
}

.reviews {
  background-color: #f9fbe7;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  max-width: 990px;
  margin: 2rem auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.reviews h2 {
  color: #2e7d32;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.reviews blockquote {
  background: #fffde7;
  border-left: 5px solid #fdd835;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.8;
  color: #444;
  max-width: 800px;
  margin: 0 auto 1rem auto;
  border-radius: 6px;
}

.reviews a {
  display: inline-block;
  text-align: center;
  margin: 1rem auto 0;
  text-decoration: none;
  font-weight: bold;
  color: #3366cc;
  font-size: 1rem;
  display: block;
  text-align: center;
}

.review-wide-wrapper {
  width: 100%;
  max-width: 1440px;   /* ใหญ่กว่าค่า container ทั่วไป */
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.reviews a:hover {
  color: #2e7d32;
  text-decoration: underline;
}
/* ========== FOOTER ========== */
footer {
  background-color: #F7E77D;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #1F5121;
}
.footer-fixed-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #2e7d32; /* สีเขียวแบรนด์ KEPT */
  z-index: 9999;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
}

.footer-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px; /* ระยะห่างระหว่างไอคอน */
}

.footer-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.footer-icons img:hover {
  transform: scale(1.1); /* เพิ่ม animation เบาๆ เมื่อ hover */
}
.social-icon-groups {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 10px 0;  /* ปรับความสูงแถบ + เว้นระยะบนล่างให้ไอคอนไม่ชิด */
}

.social-headers img {
  width: 35px;
  height: 35px;
  display: block;
}
/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    section {
      padding: 2rem 1.5rem;
    }
  }

@media (max-width: 768px) {
	
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: inline;
  }
  .top-bar-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

	.top-bar-wrapper {
    text-align: center;
  }
	
  .top-bar-text {
    white-space: normal;
  }

  .top-bar-socials {
    display: flex;
    gap: 0.75rem;
  }
	
	.service-grid {
    flex-direction: column;
    align-items: center;
  }

  .section-heading {
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
	font-size: 1.5rem;
  }
	
   .navbar {
    flex-direction: column;
    align-items: stretch;
	position: relative;
  }

   .navbar.menu-open .menu-toggle {
    display: none;
  }
	
   .navbar.menu-open .menu-close {
    display: block;
  }
	
 .menu-header {
    position: relative;
    z-index: 10;
    background-color: #e0f2cb;
    padding: 10px 20px;
  }	
	
  .menu-toggle {
    display: block;
  }
	
	.menu-close {
    display: none;
  }

  .nav-links {
    margin-top: 0;
    padding-top: 10px;
	display: none;
    flex-direction: column;
  
    width: 100%;
    padding: 12px 10px;
  }

  .nav-links.active {
    display: flex;
  }

	.nav-links li a {
    text-align: center;
  }
	
  .hero h1 {
    font-size: 1.6rem;
	padding: 0rem 0.2rem;
  }

  .hero p, .btn-primary, .btn-secondary {
    font-size: 1rem;
	padding: 0rem 0rem;
  }

  .lang-switch.desktop-only {
    display: none;
  }

  .lang-switch.mobile-only {
    text-align: center;
    padding-top: 10px;
  }

  .desktop-only { display: none; 
  }
  .mobile-only { display: block; text-align: center; margin-top: 5px; 
  }
  .nav-links { flex-direction: column; align-items: flex-start; 
  }
  .lang-switch.mobile-only a { font-size: 0.95rem; display: flex; align-items: center; 
  }
  
  .reviews {
    padding: 1.5rem 1rem;
  }

  .reviews blockquote {
    font-size: 0.95rem;
  }

  .why-us {
    padding: 2rem 2rem;
	
  }

  .why-us h2 {
    font-size: 1.5rem;
  }

  .why-us ul {
    grid-template-columns: 1fr;
  }
  /* Responsive refinements */

   .faq{ padding:2rem .75rem; }
  .faq h2{ font-size:1.65rem; }
  .faq-list{ gap:.75rem 1rem; }
}	
	



@media (max-width: 600px) {
  .blog-latest h2 {
    font-size: 1.3rem;
  }

  .btn-primary {
    display:flex;
    width: fit-content;
    margin: 2.5rem auto;
    padding: 0.65rem 1.8rem;
    font-size: 1rem;
  }

  .btn-primary:active,
  .btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(253, 216, 53, 0.4);
  }	
	
  .cta-box h3 {
    font-size: 1.1rem;
  }

  .blog-list {
    font-size: 0.95rem;
  }

  .cta-box .btn-primary {
    width: 100%;
    display: block;
    font-size: 1rem;
  }
	
 .services-grid h2 {
      font-size: 1.5rem;
    }
	
    .service-card h3 {
      font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
  section {
    padding: 1.5rem 1.25rem;
  }
	.faq-toggle{
    font-size:1.02rem;
    padding:.9rem 2.75rem .9rem 1rem;
  }
  .faq-toggle::after{ width:26px; height:26px; }
}

@media (min-width: 1300px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

