section.image_content.find_a_doctor {
  background: linear-gradient(
      180deg,
      rgba(252, 252, 252, 0) 0%,
      rgb(26 26 26 / 20%) 50%,
      rgb(22 22 22) 100%
    ),
    url(../../../../src/pages/assets/img/doctors/Find-the-Right-Doctor-for-You-Backgournd.jpg)
      no-repeat center center / contain;
}

section.image_content.find_a_doctor .search-doctor {
  display: flex;
  gap: 20px;
}

section.image_content.find_a_doctor .content-wrapper {
  display: flex;
  justify-content: end;
  max-width: 850px;
  margin: auto;
  height: 668px;
  padding: 50px 0;
}

section.image_content.find_a_doctor .content-wrapper h1 {
  color: var(--ColorWhite);
  text-align: center;
  font-family: var(--Verdana);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

section.image_content.find_a_doctor .content-wrapper p {
  color: var(--ColorWhite);
  text-align: center;
  font-family: var(--Verdana);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

section.our_doctors h2,
section.specialization h2 {
  color: var(--ColorGreen);
  text-align: center;
  font-family: var(--Verdana);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 50px;
}

section.our_doctors .list div.items div:first-of-type:not(.icon) {
  display: flex;
  padding: 20px 30px;
  align-items: center;
  gap: 15px;
  align-self: stretch;
  border-radius: 15px;
  border: 1px solid #018750;
  background: var(--ColorWhite);
}

section.our_doctors .list div.items:hover div:first-of-type:not(.icon) {
  padding: 19px 29px;
  border: 2px solid #018750;
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.15);
}

section.our_doctors .list div.items div.icon {
  border-radius: 100px;
  background: #f8f5f0;
  display: flex;
  padding: 15px;
  transition: var(--transition3);
  -webkit-transition: var(--transition3);
  -moz-transition: var(--transition3);
  -ms-transition: var(--transition3);
  -o-transition: var(--transition3);
}

section.our_doctors .list div.items:hover div.icon {
  border-radius: 100px;
  background: #018750;
  display: flex;
  transition: var(--transition3);
  -webkit-transition: var(--transition3);
  -moz-transition: var(--transition3);
  -ms-transition: var(--transition3);
  -o-transition: var(--transition3);
}

section.our_doctors .list div.items:hover div.icon svg path {
  fill: #fff;
}

section.our_doctors .list .items {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
}

section.our_doctors .list .items div img {
  border-radius: 100px;
  border: 1px solid #018750;
  width: 50px;
}

section.our_doctors .list .items:hover div img {
  background: var(--ColorGreen);
  transition: var(--transition1);
}

section.our_doctors .list .items:hover div img svg path {
  fill: rgb(255, 255, 255);
  transition: var(--transition1);
}

section.our_doctors .list .items:last-of-type {
  margin-bottom: 0;
}

.speciality .icon svg {
  width: 50px;
  height: 50px;
  fill: #333;
  /* Default color */
  transition: fill 0.3s ease-in-out;
}

.speciality .icon svg:hover {
  fill: #0073e6;
  /* Change color on hover */
}

section.our_doctors .list {
  column-count: 3;
  column-gap: 20px;
}

section.our_doctors .list div a {
  color: #212121;
  font-family: var(--Verdana);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

section.our_doctors .list div span {
  color: #212121;
  font-family: var(--Verdana);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

section.our_doctors .list div span:first-of-type {
  color: #212121;
  font-family: var(--Verdana);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

section.our_doctors .list img {
  width: 50px;
  height: 50px;
}

@media (min-width: 1200px) {
  section.image_content.find_a_doctor {
    padding: 0;
  }
}

@media (max-width: 1440px) {
  section.our_doctors .list {
    column-count: 2;
    column-gap: 20px;
  }

  section.image_content.find_a_doctor .content-wrapper {
    height: 552px;
  }
}

@media (max-width: 1199px) {
  section.image_content.find_a_doctor .content-wrapper {
    height: 317px;
  }

  section.image_content.find_a_doctor {
    background: linear-gradient(
        180deg,
        rgba(252, 252, 252, 0) 0%,
        rgb(26 26 26 / 25%) 50%,
        rgb(22 22 22) 100%
      ),
      url(../../../../src/pages/assets/img/doctors/Find-the-Right-Doctor-for-You-Backgournd.jpg)
        no-repeat center center / contain;
  }
}

@media (max-width: 991px) {
  section.image_content.find_a_doctor {
    position: relative;
  }

  section.image_content.find_a_doctor .content-wrapper {
    height: auto !important;
    display: flex;
    position: relative;
    z-index: 2;
  }

  section.image_content.find_a_doctor .blur-overlay {
    width: 100%;
    height: 100%;
    background: #0000008a;
    position: absolute;
    backdrop-filter: blur(10px);
    top: 0;
    left: 0;
    z-index: 1;
  }

  section.image_content.find_a_doctor {
    background: linear-gradient(
        180deg,
        rgba(252, 252, 252, 0) 0%,
        rgb(26 26 26 / 25%) 50%,
        rgb(22 22 22) 100%
      ),
      url(../../../../src/pages/assets/img/doctors/Find-the-Right-Doctor-for-You-Backgournd.jpg)
        no-repeat center center / cover;
  }

  section.our_doctors .list {
    column-count: 1;
    column-gap: 20px;
    max-width: 80%;
    margin: auto;
  }
}

@media (max-width: 767px) {
  section.image_content.find_a_doctor .content-wrapper img {
    max-height: max-content;
  }

  section.image_content.find_a_doctor {
    background: linear-gradient(
        180deg,
        rgba(252, 252, 252, 0) 0%,
        rgb(26 26 26 / 25%) 50%,
        rgb(22 22 22) 100%
      ),
      url(../../../../src/pages/assets/img/doctors/Find-the-Right-Doctor-for-You-Backgournd.jpg)
        no-repeat top center / cover;
  }

  section.our_doctors .list {
    column-count: 1;
    column-gap: 20px;
    max-width: 100%;
    margin: auto;
  }

  section.our_doctors .list div.items div:first-of-type:not(.icon) {
    height: 120px;
  }
}

@media (max-width: 575px) {
  section.our_doctors .list div.items div:first-of-type:not(.icon) {
    height: revert;
  }

  section.our_doctors .list div.items div {
    padding: 10px;
  }

  form.gradient_border {
    justify-content: space-between;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  section.our_doctors .list div.items div:first-of-type:not(.icon) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
