
    
    
                      
.hospital-card {
  background: #fff;
  border: 1px solid #d32f2f;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column; /* IMPORTANT */
  gap: 12px;
  margin-bottom: 15px;
}

/* TOP ROW = image + right info */
.hospital-card .top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* IMAGE */
.hospital-card .thumb {
  flex: 0 0 150px;    /* width of the image box */
  height: 100px;      /* increased height so it aligns with 2 meta rows */
  border-radius: 8px;
  overflow: hidden;
}

.hospital-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* INFO RIGHT SIDE */
.hospital-card .info h4 {
  margin: 0 0 6px 0;
  font-size: 16px;
  color: #d32f2f;
  font-weight: 700;
}

.hospital-card .rating {
  font-size: 13px;
  color: #d32f2f;
  font-weight: 600;
  margin-bottom: 6px;
}

.hospital-card .meta,
.hospital-card .meta2 {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #000066;
  margin-bottom: 4px;
}

/* FULL-WIDTH DESCRIPTION */
.hospital-card .desc {
  width: 100%;
  font-size: 14px;
  line-height: 1.45;
  color: #000066;
  margin: 0;
}

/* FULL-WIDTH BUTTON */
.hospital-card .btn-wrap {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.hospital-card .btn {
    display: inline-block;
    padding: 10px 16px;
    background: #d32f2f;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
}




    
    .doctor-profile-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.doctor-profile-card {
    flex: 1 1 48%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.doctor-profile-card:hover {
    transform: translateY(-5px);
}

.doctor-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.doctor-profile-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #AF3333;
}

.doctor-profile-card p {
    font-size: 14px;
    color: #000066;
    line-height: 1.6;
}

.consult-btn {
    display: inline-block;
    background-color: #000066;
    border: 2px solid #000066;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: background-color 0.3s, transform 0.2s;
}

.consult-btn:hover {
    transform: scale(1.05); /* subtle zoom effect */


 background-color: #000066; /* lighter blue on hover */
    color: #fff;
    
}

.highlight-link {
    text-align: center;
    margin-top: 20px;
}

.highlight-link a {
    color: #e74c3c;
    font-weight: 600;
    text-decoration: none;
}

.highlight-link a:hover {
    text-decoration: underline;
}


.viewmorebutoon {
    display: inline-block;
    color: #fff;
    background-color: #000066;
    border: 2px solid #000066;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    margin-top: 20px;
    transition: background-color 0.3s, color 0.3s;
 margin-bottom: 30px;
}

.viewmorebutoon:hover {
    background-color: #000066;
    color: #fff;
}
