   /*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* Employee Card Styling */
#team {
  background: var(--Light-blue, #f5f8ff);
  padding: 96px;
}

#team h2 {
  color: var(--Blue, #1e3c72);
  font-size: 80px;
  font-weight: 700;
  line-height: 96px; /* 120% */
  text-transform: uppercase;
}

#team .section-description {
  width: 352px;
  color: var(--Blue, #1e3c72);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px; /* 155.556% */
}

#team .card {
  height: 100%;
}

.employee-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: pointer;
  height: 100% !important;
  border-radius: 20px !important;
}

.employee-card .card-body {
  padding: 0;
  position: relative;
  height: 100%;
  border-radius: 20px !important;
}

/* Employee Image */
.employee-card .employee-image {
  width: 100%;
  /* height: 100% !important; */
  display: block;
  height: 452px !important;
  object-fit: cover !important;
  object-position: center;
}

/* Plus Icon positioned in front of the image */
.employee-card .icon {
  position: absolute;
  left: 18%;
  bottom: 31%;
  width: 40px;
  height: 40px;
  z-index: 5;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.employee-card:hover .icon {
  left: 18%;
  bottom: 31%;
}

/* Overlay for the employee details */
.employee-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--Blue, #1e3c72);
  color: #fff;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  -o-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border-radius: 20px !important;
}

/* Plus and Minus Icon styling */
.toggle-icon {
  cursor: pointer;
  z-index: 3;
  position: relative;
}

.employee-card.show-overlay .overlay {
  opacity: 1;
  visibility: visible;
  border-radius: 20px !important;
  display: block;
}

/* Title and name styling */
.employee-card .name-section {
  text-align: left;
}

.employee-card .title {
  color: var(--White, #fff);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 3.2px;
  text-transform: uppercase;
}

.employee-card .employee-name {
  color: var(--White, #fff);
  font-size: 36px;
  font-weight: 600;
  line-height: 40px;
  text-transform: uppercase;
  margin-top: 16px;
}

/* Icon Positioning */
.employee-card .icon {
  position: absolute;
  bottom: 23%;
  left: 11%;
}

.employee-card:hover .icon {
  bottom: 23%;
  left: 11%;
}

/* Employee paragraph styling */
.employee-card .employee-paragraph {
  position: absolute;
  top: 68%;
  left: 31%;
  width: 65%;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--White, #fff);
}

/* Hover effects for desktop only */
@media (min-width: 768px) {
  .employee-card:hover .overlay {
    opacity: 1;
    visibility: visible;
  }
}

/* Responsive Design */

/* Adjust for larger screens */
@media screen and (max-width: 1400px) {
  .employee-card .employee-paragraph {
    top: 50%;
  }

  .employee-card .icon {
    bottom: 17%;
    left: 8%;
  }

  .employee-card:hover .icon {
    bottom: 17%;
    left: 8%;
  }

  /* Employee paragraph styling */
  .employee-card .employee-paragraph {
    top: 61%;
    left: 31%;
    width: 65%;
  }
}

/* Adjustments for medium screens */
@media screen and (max-width: 1200px) {
  #team {
    padding: 80px 0px 80px;
  }

  .employee-card .employee-name {
    font-size: 21px;
  }

  #team h2 {
    font-size: 50px;
    line-height: 130%;
  }

  #team .section-description {
    width: 100%;
    font-size: 16px;
  }

  .employee-card .icon {
    bottom: 33%;
    left: 6%;
  }

  .employee-card:hover .icon {
    bottom: 33%;
    left: 6%;
  }

  /* Employee paragraph styling */
  .employee-card .employee-paragraph {
    top: 55%;
    left: 26%;
    width: 65%;
    font-size: 14px;
  }
}

/* Adjustments for small screens */
@media screen and (max-width: 992px) {
  .employee-card .title {
    font-size: 14px;
  }

  .employee-card .employee-name {
    font-size: 28px;
  }

  .employee-card .employee-paragraph {
    left: 25%;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
  }
}

/* Mobile screens */
@media screen and (max-width: 767px) {
  .employee-card .icon {
    bottom: 33%;
    left: 14%;
  }

  .employee-card:hover .icon {
    bottom: 33%;
    left: 14%;
  }

  /* Employee paragraph styling */
  .employee-card .employee-paragraph {
    top: 61%;
    left: 31%;
    width: 65%;
    font-size: 14px;
  }




  .employee-card .employee-image {
    width: 100%;
    /* height: 100% !important; */
    display: block;
    height: 389px !important;
    object-fit: cover !important;
    object-position: center;
  }





}

/* Very small mobile screens */
@media screen and (max-width: 576px) {
  .employee-card .icon {
    bottom: 26% !important;
    left: 6%;
  }

  .employee-card:hover .icon {
    bottom: 20% !important;
    left: 7%;
  }

  /* Employee paragraph styling */
  .employee-card .employee-paragraph {
    top: 55% !important;
    left: 27%;
    width: 65%;
    font-size: 16px;
  }
}

/* Extra small screens */
@media screen and (max-width: 365px) {
  .employee-card .icon {
    bottom: 27%;
    left: 5%;
  }

  .employee-card:hover .icon {
    bottom: 27%;
    left: 5%;
  }

  .employee-card .employee-paragraph {
    top: 61%;
  }
}