/* Staffing Section Container */
.certificate-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  background-color: #fff;
}

/* Section Header */
.certificate-header h1 {
  font-size: 3rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

/* Featured Image */
.staffing-image {
  text-align: center;
  margin-bottom: 40px;
}

.staffing-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Staffing Section Layout */
.certificate-section {
  padding: 0;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  position: relative;
  gap: 5%; /* Spacing between left and right columns */
  background-color: #fff;
}

/* Red Triangle */
.red-triangle {
   position: absolute;
  top: 50px;
  left: 4%; 
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 50px 50px 0; 
  border-color: transparent #FF0000 transparent transparent; 
  transform: rotate(90deg);
}

/* Left Column */
.certificate-left {
   width: 40%;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    left: 6rem;
}

.certificate-left h2 {
  font-size: 2.3rem;
  font-weight: 400;
  color: #000000;
margin-top: 8rem;
}

/* Right Column */
.certificate-right {
  width: 55%;
  color: #141414;
  font-size: 1.05rem;
  line-height: 1.6;

}

.certificate-right p {
  margin-bottom: 1rem;
}
/* For tablets and smaller laptops media responsive  */
@media (max-width: 992px) {
  .certificate-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    gap: 0;
  }

  .certificate-left {
    width: 100%;
    left: 0;
    justify-content: flex-start;
  }

  .certificate-left h2 {
    font-size: 2rem;
    text-align: left;
    margin-top: 2rem;
  }

  .certificate-right {
    width: 100%;
    font-size: 1rem;
    line-height: 1.7;
  }

  .red-triangle {
    top: 0;
    left: 0;
    border-width: 0 40px 40px 0;
  }

  /* button  */
  .contact-btn {
    display: block;
    margin: 2rem auto 0;
  }
}

/* For small mobile  mobile devices */
@media (max-width: 600px) {
  .certificate-section {
    flex-direction: column;
    padding: 0;
    margin: 0;
    gap: 0;
  }

  .certificate-left {
    width: 100%;
    left: 0;
    text-align: left;
  }

  .certificate-left h2 {
    font-size: 1.8rem;
    text-align: left;
    margin-top: 1.5rem;
    margin-bottom: 0;
  }

  .certificate-right {
    width: 100%;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .red-triangle {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 0;
    border-width: 0 35px 35px 0;
  }

  /* Button at bottom on mobile */
  .contact-btn {
    display: block;
    width: 90%;
    max-width: 300px;
    margin: 2rem auto 0;
    text-align: center;
  }
}
