.team {
    background-color:#eef4f7;
    padding: 0px 20px;
    }

   .team-boxed {
    color:#313437;
  }
  
  .rounded-circle {
    border: solid 20px #e8f6ff;
    box-shadow: 0 4px 8px rgb(191 191 191 / 20%), 0 6px 20px rgba(0, 0, 0, 0.19);
  }

  .team-boxed p {
    color:#7d8285;
  }
  
  .team-boxed h2 {
    font-weight: 600;
  }
  
  .team-boxed .intro {
    margin: 0 auto;
    padding: 50px 0px;
  }
  
  .team-boxed .intro p {
    font-size: 16px;
    margin-bottom:0;
  }
  
  .team-boxed .people {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-bottom: 50px;
    gap: 15px;
  }
  
  .team-boxed .item {
    text-align: center;
    width: 32%;
  }
  
  .team-boxed .item .box {
    text-align:center;
    padding:30px;
    background-color:#fff;
  }
  
  .team-boxed .item .name {
    text-transform: capitalize;
    font-size: 20px;
    font-weight: bold;
    margin-top: 28px;
    margin-bottom: 8px;
    color: #182c61;
  }
  
  .team-boxed .item .title {
    text-transform: capitalize;
    font-weight: bold;
    color: #8395a7;
    letter-spacing: 2px;
    font-size: 15px;
}
  
  .team-boxed .item .description {
    font-size:15px;
    margin-top:15px;
    margin-bottom:20px;
  }
  
  .team-boxed .item img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
  }
  

  .team-boxed .social {
    font-size: 18px;
    color: #a2a8ae;
    width: 100%;
    margin-top: 35px;
  }
  
  .team-boxed .social a {
    color:inherit;
    margin:0 10px;
    display:inline-block;
    opacity:0.7;
  }
  
  .team-boxed .social a:hover {
    opacity:1;
    color: #3F51B5;
}

.team-member-links a {
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
    color: #0073aa;
}

.team-member-links a:hover {
    text-decoration: underline;
}

.team-member-details-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.team-member-details-button:hover {
    background-color: #005f8d;
}

.view-team {
  padding-bottom: 50px;
}

a.view-team-btn {
  color: #ffffff;
  background-color: #8395a7;
  border: solid 2px #8395a7;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 5px;
}

a.view-team-btn:hover {
  color: #8395a7;
  background-color: #eef4f7;
  border: solid 2px #8395a7;
}

.team-archive {
    padding: 20px;
}

.page-title {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.team-member-archive {
    width: 30%;
    margin-bottom: 30px;
}

.team-member-image img {
    max-width: 100%;
    border-radius: 50%;
}

.team-member-info {
    text-align: center;
    margin-top: 15px;
}

.team-member-name {
    font-size: 24px;
    margin-bottom: 5px;
}

.team-member-title {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.team-member-details-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.team-member-details-button:hover {
    background-color: #005f8d;
}

.pagination {
    text-align: center;
    margin-top: 30px;
}

.pagination a {
    margin: 0 5px;
    padding: 8px 12px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.pagination a:hover {
    background-color: #005f8d;
}

@media only screen and (min-width: 993px) and (max-width: 1440px) {
  .team-boxed .item img {
    width: 200px;
    height: 200px;
    border-radius: 50%; /* Keeps the image circular */
  }
  .rounded-circle {
    border: solid 15px #E8F6FF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a drop shadow */
  }
}

/* Responsive adjustments */
@media only screen and (max-width: 993px) {
  .team-boxed .people {
      margin: 0 auto;
  }
  .team-boxed .item {
      text-align: center;
      width: 49%;
  }
}

@media only screen and (max-width: 600px) {
  .team-boxed .item {
    text-align: center;
    width: 100%;
  }
}