
.card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Montserrat', sans-serif !important;
    /* font-family: 'Open Sans', sans-serif !important; */
  }
  .card::before {
    content: "";
    position: absolute;
    /* height: 40%; */
    min-height: 90px !important;
    width: 100%;
    /* background: #7d2ae8; */
    background: linear-gradient(15deg, #B900EF 0%, #2C94EA 100%);
    border-radius: 20px 20px 0 0;
  }
  .card .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    position: relative;
    z-index: 100;
  }

  .name-profession .profession {
    display: block;
    width: 100%; /* Karti genişliyinə uyğun */
    white-space: nowrap; /* Mətnin bir sətirlik olmasını təmin edir */
    overflow: hidden; /* Daşan mətni gizlədir */
    text-overflow: ellipsis; /* Daşan mətnin yerinə üç nöqtə qoyur */
  }
  

  section .card .image {
    height: 140px;
    width: 140px;
    border-radius: 50%;
    padding: 3px;
    /* background: #7d2ae8; */
    background: linear-gradient(15deg, #B900EF 0%, #2C94EA 100%);;
  }
  section .card .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
  }
  .card .media-icons {
    position: absolute;
    top: 10px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .card .media-icons i {
    color: #fff;
    opacity: 0.6;
    margin-top: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .card .media-icons i:hover {
    opacity: 1;
  }
  .card .name-profession {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    color: ;
  }
  .name-profession .name {
    font-size: 20px;
    font-weight: 600;
  }
  .name-profession .profession {
    font-size: 15px;
    font-weight: 500;
  }
  /* .card .rating {
    display: flex;
    align-items: center;
    margin-top: 18px;
  }
  .card .rating i {
    font-size: 18px;
    margin: 0 2px;
    color: #7d2ae8;
  } */
  .card .button {
    width: 100%;
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
  }
  .card .button a {
    background: linear-gradient(15deg, #B900EF 0%, #2C94EA 100%);
    outline: none;
    border: none;
    color: #fff;
    padding: 8px 22px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .card .button a:hover{
    
    background: linear-gradient(15deg, #2C94EA 0%, #B900EF 100%);
  }
 