.section-leadership {
  background-color: #00677F;
}

.section-leadership-read-letter {
  font-size: 16px !important;
  font-weight: 700;
  color: #fff;
}

.single-team img {
  width: 100%;
}

.leadership-section-flex {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.section-leadership .section-flex {
  gap: 100px;
}

.leadership-content-box {
  padding: 20px 0;
}

.leadership-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 544px;
  width: 100%;
}

.leadership-content p {
  font: 400 25px/37px var(--font-helvetica-neue);
  letter-spacing: 10%;
  text-transform: uppercase;
  color: #fff;
  padding-top: 16px;

}

.leadership-content .coes-words {
  margin-block: 48px 32px;
  font: italic 400 25px/37px var(--font-helvetica-neue);
  text-transform: inherit;
}


.team-content {
  position: relative;
}

.arrow-icon {
  position: absolute;
  left: 16px;
  bottom: 10px;
  opacity: 0;
  pointer-events: auto;
  transition: left 0.6s ease, opacity 0.3s ease;
  display: block;
  z-index:10;
}

.arrow-icon img {
  height: 15px;
  width: 15px;
  display: block;
  pointer-events: auto;
}


/* Hover effect */
.team-content:hover .arrow-icon, .arrow-icon:hover {
  left: 90%;       /* move to right */
  opacity: 1;
  pointer-events: auto; 
  cursor: pointer;
}

.team-content:hover .arrow-icon img {
  pointer-events: auto;
}

.team-grid .single-team .team-content {
  height: 110px;
  transition: height 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}





@media screen and (max-width:768px) {
  .leadership-content {
    max-width: 100%;
  }
}


/* leadership team */


.leadership-title {
  font: 400 34px/48px var(--font-helvetica-neue);
  color: #262262;
  font-weight: 400;
}

.leadership-title strong {
  font-weight: 700;
}

.team-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 40px;
}

.team-grid .single-team {
  position: relative;
}

.read-more-weight a {
  font-weight: 700;
}

.read-more-weight {
  padding-top: 10px;
  padding-bottom: 20px;
}

.team-grid .team-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #00677F;
  padding: 16px 16px 16px;
  transition: transform 0.3s ease;
  min-height: 100px;
}

.team-grid .team-content .team-name {
  font: 700 16px/1.5 var(--font-helvetica-neue);
  color: #fff;
}

.team-grid .team-content .team-designation {
  font: 400 14px/22px var(--font-helvetica-neue);
  color: #fff;
}

.team-grid .single-team:hover .team-content {
  background-color: #e71316;
  transform: translateY(-5px);
  height: 130px;
}

.team-grid .team-content::after,
.rj-brand-grid>div::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 10px;
  background-image: url("site/css/Images/arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  transition: left 0.6s ease, opacity 0.3s ease;
  height: 15px;
  width: 15px;
  opacity: 0;
}

.team-grid .single-team:hover .team-content::after,
.rj-brand-grid>div:hover::after {
  left: calc(100% - 25px);
  opacity: 1;
}

/* -------------- */


.about-leadership .section-small-heading {
  font: 700 18px/22px var(--font-helvetica-neue);
  letter-spacing: 10%;
  text-transform: uppercase;
  color: #00677F;
  margin-block: 0 24px;
}

.about-leadership {
  margin-bottom: 80px;

}

.section-leadership-team {
  margin-bottom: 80px;

}

.about-leadership .section-small-heading {
  font: 700 18px/22px var(--font-helvetica-neue);
  letter-spacing: 10%;
  text-transform: uppercase;
  color: #00677F;
  margin-block: 0 24px;
}

.read-more-weight {
  padding-top: 10px;
  padding-bottom: 20px;
}

.read-more-btn-wrapper {
  display: flex;

  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  margin-top: 25px;
}

.read-more-btn-wrapper a {
  font: 500 16px/1 var(--font-helvetica-neue);
  letter-spacing: 4%;
  color: #4A4A4A;
  text-decoration: none;
}

.leadership-content-box-text {
  background-color: #262262;
  padding: 10px;
  color: #FFF;
  position: absolute;
  margin: 20px;
  bottom: -8px;
  border-radius: 8px;
}

.leadership-content {
  position: relative;
}

.leadership-content-box-text p:last-child {
  font: 400 18px/24px var(--font-helvetica-neue);
  padding-top: 5px;
}

.leadership-content-box-text p:first-child {
  font: 700 20px/24px var(--font-helvetica-neue);
}

@media (max-width: 900px) {

  .leadership-section-flex {
    flex-direction: column;
  }

  .leadership-content {
    max-width: 100%;
  }

  .leadership-content-box-text {
    background-color: #262262;
    padding: 10px;
    color: #FFF;
    position: absolute;
    margin: 20px;
    bottom: -8px;
    border-radius: 8px;
  }

  .leadership-content {
    position: relative;
  }

  .leadership-content-box {
    padding: 20px;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {

  .about-leadership .section-small-heading {
    font: 700 14px/22px var(--font-helvetica-neue);
  }

  .leadership-content p {
    font: 700 14px/24px var(--font-helvetica-neue);
  }



  .leadership-content .coes-words {
    margin: 20px 0;
    font: 700 20px/24px var(--font-helvetica-neue);
    font-style: italic;
  }

  .section-leadership-read-letter {
    font: 500 16px/24px var(--font-helvetica-neue);
    color: #FFF;
    text-transform: uppercase;
  }

  .section-leadership-team .leadership-title {
    font: 700 20px/30px var(--font-helvetica-neue);
    color: #262262;
  }

  .team-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }


  .section-leadership-team .read-more-btn-wrapper img {
    display: none;
  }

  .section-leadership-team .read-more-btn-wrapper a {
    text-transform: uppercase;
    color: #E71316;
  }
}

@media (max-width: 380px) {
  .team-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
}