.team-overview {
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-overview .hero-slide {
  transition: opacity 1s ease, visibility 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-overview .container {
  position: relative;
  z-index: 2;
}

.team-overview .section-header {
  text-align: center;
  margin-bottom: 2rem;
  color: #fff;
}

.team-overview .section-header h1 {
  max-width: 100%;
  margin: 0px;
}

.team-overview .section-header h4 {
  max-width: 100%;
  margin: 0px;
  font-size: 24px;
}

.team-overview .overview-content {
  position: relative;
  z-index: 2;
}

.team-overview .overview-text {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
}

.team-overview .overview-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #222222;
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 1200px) {
  .team-overview {
    min-height: 650px;
  }
}

@media screen and (max-width: 920px) {
  .team-overview {
    min-height: 700px;
  }

  .team-overview .overview-text {
    padding: 2rem;
  }
}

@media screen and (max-width: 600px) {
  .team-overview {
    min-height: 700px;
  }

  .team-overview .overview-text {
    padding: 1.5rem;
  }

  .team-overview .overview-text p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media screen and (max-width: 520px) {
  .team-overview {
    min-height: 800px;
  }
}

@media screen and (max-width: 450px) {
  .team-overview {
    width: 100%;
    min-height: 850px;
  }

  .team-overview .overview-text p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

.leadership-overview {
  position: relative;
  top: var(--relative-top);
  padding: 5rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #000;
}

.leadership-overview .leadership-content h3 {
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.leadership-overview .leadership-description>p {
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.leadership-overview .leadership-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.leadership-overview .highlight-item {
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--primary-color-2);
  transition: all 0.3s ease;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.leadership-overview .highlight-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color-2);
}

.leadership-overview .highlight-item p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.95;
}

.leadership-overview .highlight-item:hover {
  transform: translateY(-5px);
  background: var(--primary-color-2);
}

.leadership-overview .highlight-item:hover p,
.leadership-overview .highlight-item:hover i {
  color: white;
}

@media screen and (max-width: 720px) {
  .leadership-overview .leadership-highlights {
    grid-template-columns: repeat(1, 1fr);
  }
}

.team-members {
  position: relative;
  top: var(--relative-top);
  padding: 4rem;
  margin: 0px;
  max-width: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.team-members .connecting-line {
  position: absolute;
  left: 50%;
  top: 80px;
  width: 4px;
  height: calc(100% - 160px);
  background: linear-gradient(to bottom, #4ecdc4, #f093fb, #fcb69f, #a8edea);
  transform: translateX(-50%);
  z-index: -1;
}

.team-members .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.team-members .section-header h3 {
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.team-members .step {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideIn 0.8s ease-out forwards;
}

.team-members .step:nth-child(even) {
  flex-direction: row-reverse;
  transform: translateX(50px);
}

.team-members .step:nth-child(1) {
  animation-delay: 0.2s;
}

.team-members .step:nth-child(2) {
  animation-delay: 0.4s;
}

.team-members .step:nth-child(3) {
  animation-delay: 0.6s;
}

.team-members .step:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.team-members .step-content {
  flex: 1;
  padding: 30px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-members .step-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-members .step-1 .step-content {
  background: linear-gradient(135deg,
      var(--primary-color-2-hover) 0%,
      var(--primary-color-2) 100%);
}

.team-members .step-2 .step-content {
  background: linear-gradient(135deg, #e15354 0%, #c94f54 100%);
}

.team-members .step-3 .step-content {
  background: linear-gradient(135deg,
      var(--primary-color-2-hover) 0%,
      var(--primary-color-2) 100%);
}

.team-members .step-4 .step-content {
  background: linear-gradient(135deg, #e15354 0%, #c94f54 100%);
}

.team-members .step-content .step-title {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.team-members .step-content p {
  margin-bottom: 15px;
  color: #fff;
}

.team-members .step-description {
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 20px;
}

.team-members .step-description {
  padding: 3px;
}

.team-members .step-description li {
  padding: 2px;
  color: #fff;
}

.team-members .expert-info {
  background: rgba(255, 255, 255, 0.8);
  padding: 15px;
  border-radius: 10px;
  border-left: 4px solid #2c3e50;
}

.team-members .expert-name {
  font-weight: bold;
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 5px;
}

.team-members .expert-designation {
  color: #121212;
  font-size: 14px;
}

.team-members .step-number {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  color: white;
  margin: 0 30px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.team-members .step-number svg{
  height: 80px;
  width: 80px;
}

.team-members .step-1 .step-number {
  background: linear-gradient(135deg, #e15354 0%, #c94f54 100%);
}

.team-members .step-2 .step-number {
  background: linear-gradient(135deg,
      var(--primary-color-2-hover) 0%,
      var(--primary-color-2) 100%);
}

.team-members .step-3 .step-number {
  background: linear-gradient(135deg, #e15354 0%, #c94f54 100%);
}

.team-members .step-4 .step-number {
  background: linear-gradient(135deg,
      var(--primary-color-2-hover) 0%,
      var(--primary-color-2) 100%);
}

@media (max-width: 768px) {
  .team-members .step {
    flex-direction: column !important;
    text-align: center;
    margin-bottom: 30px;
  }

  .team-members .step:nth-child(even) {
    flex-direction: column !important;
  }

  .team-members .step-content {
    margin: 20px 0;
    padding: 20px;
  }

  .team-members .step-number {
    margin: 0 0 20px 0;
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .team-members .step-title {
    font-size: 20px;
  }

  .team-members .step-description {
    font-size: 14px;
  }

  .team-members .connecting-line {
    display: none;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .team-members .step-content {
    padding: 25px;
  }

  .team-members .step-number {
    width: 70px;
    height: 70px;
    font-size: 28px;
    margin: 0 20px;
  }
}

.team-members .step-content::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.team-members .step-content:hover::before {
  opacity: 1;
}

.team-members .step-number {
  animation: float 3s ease-in-out infinite;
}

.team-members .step:nth-child(2) .step-number {
  animation-delay: 0.5s;
}

.team-members .step:nth-child(3) .step-number {
  animation-delay: 1s;
}

.team-members .step:nth-child(4) .step-number {
  animation-delay: 1.5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media screen and (max-width: 400px) {
  .team-members {
    padding: 2rem;
  }

  .team-members .section-header {
    margin-bottom: 0;
  }
}

.footer {
  position: relative;
  top: var(--relative-top);
}
