body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #f8f6f3;
  color: #3a2e25;
  padding-top: 120px;
}

.about-section {
  width: 100%;
  background-color: #fff; /* พื้นหลังสีขาว */
  padding: 100px 20px; /* เว้นระยะรอบๆ */
  text-align: center;
  color: #4b1f0d; /* น้ำตาลเข้มแบบโลโก้ */
  background-color: rgb(238, 228, 216);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-subtitle {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #3c1d0a;
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.about-subtitle::after {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background-color: #3c1d0a;
  margin: 5px auto 0;
}

.about-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 10px 0;
  color: #4b1f0d;
}

.about-text {
  font-size: 0.9rem;
  color: #3c1d0a;
  letter-spacing: 0.5px;
  line-height: 1.8;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .about-section {
    padding: 60px 15px;
  }

  .about-title {
    font-size: 1.6rem;
  }

  .about-text {
    font-size: 0.85rem;
  }
}
/* === Partner Section === */
.partner-section {
  padding: 80px 10%;
  text-align: center;
}

.partner-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #3a2e25;
}

/* === Partner Grid (5 images in a row) === */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
}

.partner-card {
  background: #fff;
  flex: 1 1 180px;
  max-width: 200px;
  min-width: 140px;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.partner-card img {
  width: 80%;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.partner-card:hover img {
  filter: grayscale(0%);
}

/* === Responsive === */
@media (max-width: 768px) {
  .partner-banner {
    height: 60vh;
  }

  .partner-banner-content h1 {
    font-size: 2rem;
  }

  .partner-banner-content p {
    font-size: 1rem;
  }

  .partner-grid {
    flex-direction: column;
    align-items: center;
  }

  .partner-card {
    width: 70%;
    max-width: none;
  }
}


/* === Details Section === */
.details-section {
  padding: 10px 10% 100px 10% ;
  background-color: #f8f6f3;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.detail-row.reverse {
  flex-direction: row-reverse;
  padding: 0 20px;
}

.detail-image {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

.detail-image img {
  width: 100%;
  max-width: 550px;
  height: 450px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.detail-content {
  flex: 1 1 45%;
}

.detail-content h2 {
  font-size: 2rem;
  color: #3a2e25;
  margin-bottom: 20px;
}

.detail-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #5a4638;
}

/* === Responsive === */
@media (max-width: 992px) {
  .detail-row,
  .detail-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .detail-image,
  .detail-content {
    flex: 1 1 100%;
  }

  .detail-image img {
    max-width: 400px;
  }
}

/* === Final CTA Section === */
.partner-cta {
  background-color: #590000; /* 🔧 ใส่ภาพพื้นหลังจริง */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 10%;
  color: #fff;
  text-align: center;
  position: relative;
}



.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #f2f2f2;
}

/* === CTA Buttons === */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  text-align: center;
}

.btn.primary {
  background-color: #fff;
  color: #3a2e25;
}

.btn.primary:hover {
  background-color: #e7e3de;
}

.btn.secondary {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn.secondary:hover {
  background-color: #fff;
  color: #3a2e25;
}

/* === Responsive === */
@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
  }
}
