.feature-section {
    position: relative;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
  }
  
  .overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    width: 100%;
  }
  
  .icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  
  .icon {
    font-size: 3rem;
  }
  
/* section2  */



  
  .testimonial-card {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    min-height: 550px; /* Ensure equal height */
    overflow: hidden;
  }
  
  .card-header {
    position: relative;
    display: inline-block;
  }
  .card-content
  {
    padding-left: 26px;
  }
  
  .profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    margin-left: -20px; /* Overlapping effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* this adds the shadow */
  }
  
  .testimonial-text {
    font-style: italic;
    margin: 15px 0;
  }
  
  .testimonial-name {
    font-weight: bold;
  }
  
  .testimonial-role {
    color: blue;
    font-size: 14px;
  }
  
  .rating {
    margin-top: 10px;
    color: gold;
  }
  

  .triangle-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 60px solid #E20935; /* Adjust color */
    border-top: 60px solid #E20935;
    border-right: 60px solid transparent;
    border-bottom: 60px solid transparent;
    z-index: 1;
  }
  
  .number-text
  {
    color: #fff;
  }
  .icon-box
  {
    border: 1px solid #fff;
    padding-left: 12px;
    position: relative;
  overflow: hidden;
  
  transition: background 0.4s ease-in-out;
  padding: 20px;
  text-align: center;
  z-index: 1;
    transition: background 0.4s ease-in-out;
  }
  .icon-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #E20935; /* Change this to your desired hover color */
    transition: left 0.7s ease-in-out;
    z-index: -1; /* Ensures background stays behind text */
  }
  
  .icon-box:hover::before {
    left: 0;
  }
  
  .icon-box h2,
  .icon-box p {
    position: relative;
    z-index: 2; /* Ensures text stays above the background */
    color: #fff; /* Change text color if needed */
  }




  /* success 4 */
  /* Card Container */
.career-card {
  position: relative;
  background: #fff;
  border: 2px solid #E20935;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-height: 255px;
}

/* Career Title (Outside Card) */
.career-title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%); /* Keeps it perfectly centered */
  background: #fff;
  color: #000000;
  font-weight: bold;
  padding: 5px 20px;
  border-radius: 15px;
  border: 2px solid #E20935;
  white-space: nowrap; /* Prevents breaking on small screens */
  font-size: 1rem;
}

/* Profile Image */
.profile-img1 {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.card-content1
{
  padding-top: 30px;
  justify-content: space-between;
}

/* Name & Logo Alignment */
.name-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
}

.name {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0;
}

.company-logo {
  /* width: 50px; */
  height: auto;
  margin-top: 5px;
}

/* Career Path (From -> To) */
.career-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0;
  font-size: 0.9rem;
  font-weight: bold;
  color: #E20935;
}

.dotted-line {
  flex-grow: 1;
  border-bottom: 2px dotted #E20935;
  text-align: center;
  position: relative;
}

.arrow {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
}

/* Career From-To Text */
.career-text {
  font-size: 0.9rem;
  color: #333;
}

.career-text strong {
  font-weight: bold;
  color: #000000;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .card-content1 {
    flex-direction: column;
    text-align: center;
  }

  .name-logo {
    margin-left: 0;
    margin-top: 10px;
  }
}
@media (max-width: 768px) {
  .career-title {
    font-size: 0.9rem;
    padding: 4px 15px;
  }
}
