.sectino-6{
    background: #FCFCE9;
}

.view-all-btn {
  background-color: black;
  color: white;
  padding: 10px 30px;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

 .view-all-btn {
  position: relative;
  display: inline-block;
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  border-radius: 50px;
  padding: 14px 40px;
  font-family: 'Outfit', sans-serif;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  overflow: hidden;
  transition: background 0.3s ease, padding-right 0.3s ease;
}

.view-all-btn::after {
  content: "↗";
  position: absolute;
  right: 25px;
  top: 48%;
  transform: translateY(-10%) scale(0);
  color: black;
  font-size: 25px;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.view-all-btn:hover {
  background: #DFE121;
  padding-right: 60px; /* make space for arrow */
}

.view-all-btn:hover::after {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}


/* team */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600&display=swap');

.team-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
      margin-bottom: 30px;
    }

    .team-member {
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      text-align: center;
      width: 180px;
    }

    .team-member img {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      object-fit: cover;
    }

    .member-name {
      margin-top: 10px;
      font-size: 20px;
      font-weight: 600;
      color: black;
    }

    .member-role {
      font-size: 16px;
      color: black;
    }

    .message-box {
      background-color: #F5F6BA;
      color: black;
      border-radius: 10px;
      padding: 20px;
      max-width: 90%;
      margin: auto;
      position: relative;
      display: none;
    }

    .message-box {
      margin-top: 20px;
    }

.message-box.left-raj::before { left: 40px; }
    .message-box.left-jainam::before { left: 250px; }
    .message-box.left-nandini::before { left: 450px; }
    .message-box.left-Hrishikesh::before { left: 650px; }
    .message-box.left-Sumrit::before { left: 850px; }
    .message-box.left-Prashant::before { left: 1050px; }
    .message-box::before {
      content: "";
      position: absolute;
      top: -20px;
      bottom: -20px; /* Place it below the message box */
      left: 40px;     /* Adjust this value to align under the selected person */
      width: 0;
      height: 0;
      border-left: 30px solid transparent;
      border-right: 30px solid transparent;
      border-bottom: 30px solid #F5F6BA; /* Arrow pointing upward */
    }
    
/* ...and so on */


/* 
    .message-box::before {
      content: "";
      position: absolute;
      top: 20px;
      left: -20px;
      width: 0;
      height: 0;
      border-top: 10px solid transparent;
      border-bottom: 10px solid transparent;
      border-right: 20px solid #F5F6BA;
    } */

    .message-box.active {
      display: block;
    }

    @media (max-width: 768px) {
      .team-member {
        width: 80%;
      }

      .message-box::before {
        top: -20px;
        left: 30px;
        border-right: 10px solid transparent;
        border-left: 10px solid transparent;
        border-bottom: 20px solid #F5F6BA;
        border-top: none;
      }
    }

    /* Hide default message-boxes on mobile */
@media (max-width: 576px) {
  .message-box {
    display: none !important;
  }

  .team-container {
    align-items: center;
    flex-direction: column;
    gap: 30px;
  }

  .mobile-message-box {
    background-color: #F5F6BA;
    color: black;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    position: relative;
  }

  .mobile-message-box::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 120px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid #F5F6BA;
  }
}

/* Hide mobile-message-box on larger screens */
@media (min-width: 577px) {
  .mobile-message-box {
    display: none;
  }
}
