.dept-page-style{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
}
.dept-title{
    background: #cba1a1cf;
    color: #000;
    padding: 8rem;
    font-size: 3rem;
    font-weight: 500;
    width: 100%;
}
.dept-subtitle{
    padding-top: 4rem;
    padding-bottom: 2rem;
    font-size: 2rem;
    letter-spacing: 0.2rem;
}
.dept-description{
    padding: 1rem;
    margin-bottom: 2rem;
}
.dept-description p{
    font-size: 1.5rem;
}
.services{
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}
.service-col{
    flex-basis: 25%;
    box-sizing: border-box;
}
.service-name{
    font-size: 1.5rem; 
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    display: block;
}
.services img{
    width: 80%;
    height: 80%;
    padding: 0;
    border-radius: 5px;
}
 .doctors{
    margin: 2rem;
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.card {
    /* max-width: 600px; */
    max-width: 60%;
    max-height: fit-content;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
  }
  .card img {
    max-width: 30%;
    height: auto;
    object-fit: cover;
    padding: 1rem;
    border-radius: 25px;
  }
  .card .content {
    padding: 20px;
    flex: 1;
    width: 100%;
    text-align: left;
  }
  .card h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #333;
  }
  .card h3{
    margin-top: 0;
    font-size: 1.2rem;
    color: #333;
    text-align: left;
  }
  .card a{
    font-size: 1rem;
    margin-bottom: 1rem;
    display: block;
  }
  .card p {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    color: #666;
  }
  .card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  .dept-map img{
    width: 50%;
    height: 50%;
  } 
  .dept-location{
    font-size: 3rem;
    padding: 1rem;
    margin: 1rem;
    word-wrap: nowrap;
  }
  @media (max-width: 1200px) {
    .services{
        flex-direction: column;
    }
    .card {
      flex-direction: column;
      max-width: fit-content;
    }
    .card img {
      max-width: 100%;
      flex-direction: column;
    }
    .card a{
      word-wrap: break-word;
    }


    .dept-location{
      font-size: 2rem;
      padding: 1rem;
      margin: 1rem;
      word-wrap: nowrap;
    }
  }
























@media (max-width:700px){
    .services{
        flex-direction: column;
    }
}