
.author-box {
  display: flex; 
  justify-content: space-between; 
  align-items: flex-start; 
  padding: 5%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

}

.author-text {
  flex: 2; 
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.author-text p {
  margin-bottom: 18px;
  text-align: justify;
  line-height: 2.2rem;
}
.leader h1{
  text-align: center;
}

.author-pic {
  flex: 1; 
  text-align: center;
}

.author-pic img {
  width: 200px; 
  height: auto; 
  border-radius: 15px;
  object-fit: cover; 
  margin-bottom: 15px;
}

.author-pic p {
  margin: 5px 0;
  font-size: 14px;
  font-weight: bold;
  color: #000;
}

.author-pic p:nth-child(5) {
  font-style: italic;
  font-weight: normal;
  color: #666;
  margin-top: 10px;
}
@media screen and (max-width: 500px) {
  .author-box {
    flex-direction: column; 
    gap: 20px; 
  }

  .author-pic img {
    width: 100%; 
    max-width: 300px; 
    margin: 0 auto; 
  }
  .author-pic{
      margin-left: 16%;
  }

  .author-text {
    text-align: center;
  }
}



.partner {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  gap: 40px;
}

.our-pat p {
  font-size: 6vw; /* Scales based on viewport width */
  color: rgb(245, 107, 107);
  font-weight: 600;
  margin-top: 40px;
  text-align: center;
}
.our-pat{
  margin-top: 10%;
}

.p-text {
  text-align: center;
  font-size: 1.5em;
  color: #333;
  padding: 20px;
}

.p-text span {
  color: #151414;
  font-weight: bold;
  white-space: nowrap; /* Keeps text on one line */
}

.p-text a {
  text-decoration: none;
  color: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .our-pat p {
      font-size: 8vw; /* Increases size for smaller screens */
  }
  .p-text {
      font-size: 1.2em;
  }
}

@media (max-width: 576px) {
  .our-pat p {
      font-size: 10vw;
  }
  .p-text {
      font-size: 1em;
  }
  .Leadershipimage {
  margin-top: 15% !important;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
}

@media (max-width: 400px) {
  .our-pat p {
      font-size: 12vw;
      margin-top: 20px;
  }
  .p-text {
      font-size: 0.9em;
  }
}

.Leadershipimage {
  margin-top: 7%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
