.portfolio-section {
  padding: 120px 0 90px;
}

.page-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3.5rem;
}

.page-header h1 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.page-header .tagline {
  font-size: 1.1rem;
  font-style: italic;
  color: #93c5fd;
  margin-bottom: 1.2rem;
}

.page-header p {
  color: #cbd5e1;
  line-height: 1.8;
}

.page-header-portfolio{
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(5, 8, 20, 0.45), rgba(5, 8, 20, 0.65)),
    url("assets/icons/experience-bg-desktop.png");
  background-size: 150% auto;
  background-position: center 55%;
  background-repeat: no-repeat;
  border-radius: 24px;
  padding: 3rem 2rem;
}

.page-header-portfolio > *{
  position: relative;
  z-index: 1;
}

.portfolio-title {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.industry-item{
  position: relative;
  overflow: hidden;
  padding: 22px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  isolation: isolate;
  background-color: #020b22;
  min-height: 88px;
  border: 1px solid rgba(255,255,255,0.08);
}

.industry-item::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index:0;
}

.industry-item::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(0,16,45,0.72), rgba(0,16,45,0.48)),
    linear-gradient(270deg, rgba(2,11,34,0.75) 0%, rgba(2,11,34,0) 28%);
  z-index:1;
}

.industry-item span{
  position:relative;
  z-index:2;
  color: #e5e7eb;
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 22px;
}

/* ✓ สีส้ม */
.industry-item span::before{
  content:"✓";
  position:absolute;
  left:0;
  top:2px;

  color:#ff7a00;
  font-weight:700;
  font-size:0.95rem;

  text-shadow:
  0 0 6px rgba(255,122,0,.35);
}
.oil::after { background-image:url("assets/industry/oil-BG.png"); }
.auto::after { background-image:url("assets/industry/auto-BG.png"); }
.PC::after { background-image:url("assets/industry/PC-BG.png"); }
.electronic::after { background-image:url("assets/industry/electronic-BG.png"); }
.construction::after { background-image:url("assets/industry/construc-BG.png"); }
.farm::after { background-image:url("assets/industry/farm-BG.png"); }
.communication::after { background-image:url("assets/industry/comunication-BG.png"); }
.logistics::after { background-image:url("assets/industry/logistics-BG.png"); }
.miner::after { background-image:url("assets/industry/miner-BG.png"); }
.insurance::after { background-image:url("assets/industry/insurance-BG.png"); }
.funding::after { background-image:url("assets/industry/funding-BG.png"); }
.food::after { background-image:url("assets/industry/food-BG.png"); }
.hospital::after { background-image:url("assets/industry/hospital-BG.png"); }
.accounting::after { background-image:url("assets/industry/accounting-BG.png"); }
.QC::after { background-image:url("assets/industry/Qc-BG.png"); }
.embasy::after { background-image:url("assets/industry/embasy-BG.png"); }
.other::after { background-image:url("assets/industry/Other-BG.png"); }

.testimonials-section {
  margin-top: 5rem;
}

.testimonial-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.testimonial-badge {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.testimonial-header h2 {
  font-size: 2.1rem;
  margin-bottom: 0.8rem;
}

.testimonial-header p {
  color: #cbd5e1;
  font-size: 1.02rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.testimonial-card {
  background: linear-gradient(180deg, #111c3a, #0b1220);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.stars {
  color: #ff7a00;
  letter-spacing: 4px;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  margin: 0;
  color: #f3f4f6;
  line-height: 1.9;
  font-size: 1rem;
  flex: 1;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex: 0 0 56px;
}

.person-info h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  color: #fff;
}

.person-info p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.7;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px){
  .page-header-portfolio{
    background-image:
      linear-gradient(rgba(5, 8, 20, 0.2), rgba(5, 8, 20, 0.35)),
      url("assets/icons/experience-bg-mobile.png");
    background-size: 160% auto;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 280px;
  }
}

@media (max-width: 600px) {
  .portfolio-section {
    padding: 80px 1rem;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 1.9rem;
  }

  .testimonial-header h2 {
    font-size: 1.7rem;
  }

  .testimonial-card {
    padding: 1.35rem;
  }
}
.badge-outline{
  display:inline-block;
  padding:6px 16px;
  border-radius:999px;

  background:#0b1220;
  border:1.5px solid #ff7a00;

  color:#ff7a00;
  font-size:0.85rem;
  font-weight:500;

  margin-bottom:14px;

  box-shadow:
  0 0 0 1px rgba(255,122,0,0.15),
  0 0 12px rgba(255,122,0,0.15),
  inset 0 0 12px rgba(255,122,0,0.08);

  letter-spacing:.2px;
}
