/* ===== ABOUT PAGE STYLES ===== */

/* TPM Policy Section */
.tpm-policy {
  padding: 60px 20px;
  background: #0a1628;
  text-align: center;
}

.tpm-policy-inner {
  max-width: 800px;
  margin: 0 auto;
}

.tpm-policy h2 {
  /* font-size: 2rem; */
  font-weight: 700;
  color: #fff;
  margin: 0 0 40px;
  padding: 0;
}

.policy-pills {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.policy-row {
  display: grid;
  gap: 16px;
  width: 100%;
}

/* First row: 2 equal columns */
.policy-row:nth-child(1) {
  grid-template-columns: repeat(2, 1fr);
}

/* Second row: 3 equal columns */
.policy-row:nth-child(2) {
  grid-template-columns: repeat(3, 1fr);
}

/* Third row: 1 full width column */
.policy-row:nth-child(3) {
  grid-template-columns: 1fr;
}

.policy-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  color: #000;
  padding: 20px 24px;
  border-radius: 50px;
  /* font-size: 1rem; */
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0;
  /* height: 64px; */
  text-align: center;
  white-space: nowrap;
}

.policy-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.policy-pill svg {
  flex-shrink: 0;
  color: #0a1628;
  width: 20px;
  height: 20px;
}

.policy-pill-wide {
  padding: 20px 40px;
  white-space: normal;
}

/* About Intro Section */
.about-intro {
  padding: 60px 0 30px;
}

.about-intro p {
  color: #000000 !important;
  font-size: 1.8rem !important;
}

.intro-box {
  background: #F0F0F0;
  border-radius: 20px;
  padding: 50px;
  margin-bottom: 40px;
}

.intro-box-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.intro-box-text h2 {
  /* font-size: 2.5rem; */
  font-weight: 700;
  color: #000;
  margin: 0 0 24px;
  padding: 0;
}

.intro-box-text p {
  font-size: 1.8rem;
  line-height: 1.8;
  text-align: justify;
}  color: #333;
  margin-bottom: 16px;
}

.intro-box-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 100%;
}

.intro-box-image {
  padding-top: 65px;
}

.intro-box-bottom {
  font-size: 1.8rem;
  line-height: 1.8;
  color: #333;
  margin-top: 16px;
  text-align: justify;
}

/* Certifications Section */
.certifications {
  padding: 44px 0;
  text-align: center;
}

.cert-subtitle {
  font-size: 1.8rem;
  color: black;
  max-width: 650px;
  margin: 20px auto 40px;
  line-height: 1.6;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.cert-card {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 140px;
}

.cert-card:hover {
  transform: translateY(-2px);
}

.cert-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
}

.cert-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-card-arrow {
  color: #999;
}

.cert-card-name {
  font-size: 1.8rem;
  font-weight: 600;
  color: black;
  margin-top: 20px;
  line-height: 1.4;
}

.cert-cta {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* Our History Section */
.our-history {
  padding: 40px 0;
  background: #f5f5f5;
  text-align: center;
}

.history-text {
  font-size: 1.8rem;
  line-height: 1.8;
  color: black;
  max-width: 750px;
  margin: 0 auto 30px;
}

.history-cta {
  display: flex;
  justify-content: center;
}

/* Inside Our Company Section */
.inside-company {
  padding: 44px 0;
  text-align: center;
}

.inside-subtitle {
  font-size: 1.8rem;
  color: #000;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.inside-subtitle .text-light-gray {
  color: #999;
  font-weight: normal;
}

.inside-subtitle strong {
  color: #000;
  font-weight: 400;
}

.inside-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  text-align: left;
}

.inside-card {
  border-radius: 24px;
  overflow: hidden;
  background: #f5f5f5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inside-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.inside-card-image {
  border-radius: 24px;
  overflow: hidden;
  margin: 0;
}

.inside-card-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

.inside-card-body {
  padding: 28px;
  background: #f5f5f5;
}

.inside-card-label {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.inside-card-body h3 {
  /* font-size: 1.5rem;
  font-weight: 700; */
  color: #000;
  margin: 0 0 12px;
}

.inside-card-body p {
  font-size: 1.8rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Container */
.ly_container .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive Styles */
.section-title {
  /* font-size: 2.5rem;
  font-weight: 700; */
  color: #000;
  margin-bottom: 20px;
  text-align: center;
  padding: 0;
}

/* Container */
.ly_container .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive Styles */
@media (max-width: 960px) {
  .intro-box {
    padding: 40px;
  }
  

  .intro-box-image{
    padding-top: 0;
  }

  .intro-box-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .intro-box-text {
    display: contents;
  }

  .intro-box-text h2 {
    order: 1;
  }

  .intro-box-image {
    order: 2;
  }

  .intro-box-text p {
    order: 3;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tpm-policy{
    padding: 60px;
  }

  .cert-grid {
    padding: 0 60px;
  }
  
}

@media (max-width: 768px) {
  .intro-box {
    padding: 30px;
  }

  .intro-box-text h2 {
    font-size: 2rem;
  }

  .policy-pill{
    font-size: 1.8rem;
  }

  .history-text {
    padding: 0 30px;
  }

  .page-banner {
    height: 30vh;
  }

  .about-intro {
    padding: 20px 10px;
  }

}

@media (max-width: 450px){

  .policy-row:nth-child(1) {
    grid-template-columns: repeat(1, 1fr);
  }
  .policy-row:nth-child(2) {
    grid-template-columns: repeat(1, 1fr);
  }

  .policy-row:nth-child(3) {
    grid-template-columns: 1fr;
  }

  .tpm-policy {
    padding: 30px;
  }

  .policy-pill {
    font-size: 1.6rem;
  }

  .cert-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .inside-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .inside-company{
    padding: 20px;
  }

}
