@import "../style.css";
@import "../index.css";
@import "../css/about-us.css";

/* doctors page */
.doctors {
  background: rgb(248, 249, 251);
  padding: 30px 0px;
}

.doctors-header {
  font-size: 27px;
  line-height: 1.5;
  font-weight: 400;
  color: rgb(7, 9, 10);
  padding-bottom: 50px;
  text-align: center;
}

.doctors-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  gap: 30px;
}

.doctors-detail-wrapper{display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;}

.doctors hr {
  margin: 30px 0px;
  border-top: 1px solid #eee;
}

.doctors-detail > img {
  border-radius: 50%;
  max-height: 175px;
}

.doctors-name {
  line-height: 2.25;
  color: rgb(7, 9, 10);
  font-weight: 500;
  font-size: 17px;
}

.doctor-history,
.doctors-quote {
  display: flex;
}

.doctors svg {
  width: 21px;
  height: 21px;
  fill: #ec3c3c;
}

.doctor-history svg,
.doctors-quote svg {
  margin-right: 10px;
}

.doctor-history > h5 {
  margin-bottom: 20px;
  font-weight: 400;
  color: rgb(31, 38, 45);
}

.doctors-quote h5 {
  font-weight: bold;
  margin-bottom: 7px;
}

.doctors-quote p {
  color: rgb(97, 104, 113);
}

/* medical leadership */
.medical-wrapper {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 1072px;
}

.medical-wrapper > h2 {
  color: rgb(31, 38, 45);
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
}

.medical-wrapper > p {
  color: rgb(97, 104, 113);
  line-height: 1.75em;
  font-weight: 400;
  margin-bottom: 20px;
  text-align: center;
}

.medical-lead {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: rgb(0 0 0 / 7%) 0px 0px 12px;
  overflow: hidden;
  margin: 60px auto;
}

.medical-lead-wrapper {
  height: 100%;
  position: relative;
  flex: 1 1 0%;
  padding: 24px;
}

.medical-lead-header {
  margin-bottom: 20px;
  text-align: center;
}

.medical-lead-header > h3 {
  font-weight: 700;
  margin-bottom: 13px;
}

.medical-lead-detail {
  display: block;
}

.medical-lead-detail > img {
  object-fit: cover;
  max-width: 100%;
  height: auto;
  width: 234px;
}

.medical-lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.lead-biography {
  margin-top: 20px;
}

.lead-biography > h6,
.lead-experience > h6,
.lead-education > h6 {
  color: rgb(97, 104, 113);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 12px;
}

.lead-biography > p {
  margin: 0px;
  color: rgb(97, 104, 113);
  line-height: 1.75em;
  font-weight: 400;
  font-size: 14px;
}

.lead-biography > p:not(:last-child) {
  margin-bottom: 48px;
}

.lead-list-wrapper:not(:last-child) {
  margin-bottom: 24px;
}

.lead-list-wrapper > li {
  display: flex;
  flex-direction: row;
  font-size: 14px;
  break-inside: avoid;
  margin-bottom: 8px;
  color: #3e3e3e;
}

.lead-list-wrapper > li span {
  margin-right: 15px;
}

.lead-list-wrapper svg {
  width: 18px;
  height: 18px;
  fill: #ec3c3c;
}

.board-member {
  width: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  padding: 20px;
}

.board-wrapper picture {
  max-width: 60px;
  margin: 10px;
}

.board-wrapper img {
  object-fit: cover;
  max-width: 100%;
  height: auto;
}

.board-details > div:first-of-type {
  color: rgb(31, 111, 229);
}

.board-details > div {
  color: rgb(0, 0, 0);
  line-height: 1.75em;
  font-weight: 500;
  font-size: 13px;
}

/* doctors timing */
.doctors-time {
  background: rgb(248, 249, 251);
  padding-top: 60px;
  padding-bottom: 60px;
}

.timing-wrapper {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 1296px;
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
}

.timing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 54px;
  position: relative;
}

.timing-details {
  display: flex;
  flex-direction: column;
  -webkit-box-pack: justify;
  justify-content: space-between;
}

.timing-details h3 {
  color: rgb(31, 38, 45);
  font-weight: 700;
  margin-bottom: 13px;
}

.timing-details p {
  color: rgb(97, 104, 113);
  line-height: 1.75em;
  font-weight: 400;
  margin-bottom: 48px;
}

.timing-graph-wrapper {
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
}

.timing-graph-grid {
  display: grid;
  grid-template-columns: 110px 110px;
  gap: 10px 30px;
  max-width: 250px;
  text-align: center;
}

.forward-time {
  background-color: rgb(31, 111, 229);
  border-radius: 5px;
  width: 100%;
  align-self: end;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.timing-graph-grid img {
  width: 100px;
  height: 20px;
}

.forward-time > p {
  color: rgb(255, 255, 255);
}

.td {
  color: rgb(150, 158, 168);
  line-height: 1.75em;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.td-time {
  background-color: rgb(150, 158, 168);
  border-radius: 5px;
  width: 100%;
  align-self: end;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: center;
  justify-content: center;
  text-align: center;
}

.td-time > h3,
.forward-time > h3 {
  color: rgb(255, 255, 255);
  font-weight: 700;
}

.td-time > p,
.forward-time > p {
  color: rgb(255, 255, 255);
}

/* care-team */
.care-team {
  padding-bottom: 60px;
  position: relative;
  max-width: 1440px;
  margin: 0px auto;
}

.care-team-header {
  text-align: center;
  margin: 60px auto;
  float: none;
  max-width: 930px;
}

.care-team-header > h2 {
  color: rgb(0, 74, 137);
  margin-bottom: 12px;
}

.care-team-header > span {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.75;
  color: rgb(7, 9, 10);
}

.care-team-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.care-team-column {
  display: flex;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  text-align: center;
}

.care-team-column img {
  margin-bottom: 20px;
  width: 100%;
}

.care-team-column h5 {
  line-height: 1.5;
  font-weight: 400;
  color: rgb(7, 9, 10);
  margin-bottom: 5px;
}

.care-team-column span {
  display: block;
  font-weight: 300;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 2.25;
  color: rgb(97, 104, 113);
}

.care-team-text {
  padding: 0px 15px;
}

@media (min-width: 768px) {

  .doctors-detail-wrapper{display: flex;
    flex-direction: row;}

  .care-team-column:first-of-type {
    padding: 0px 7px 0px 0px;
  }

  .care-team-column:nth-child(2) {
    padding-left: 4px;
    padding-right: 4px;
  }

  .care-team-column:last-of-type {
    padding: 0px 0px 0px 7px;
  }

  .doctors {
    padding: 60px 0px;
  }

  .doctors-time {
    padding-top: 84px;
  }

  .doctors-wrapper {
    margin: 0px auto;
    width: fit-content;
    max-width: 90%;
  }

  .doctors-detail > img {
    margin-right: 50px;
  }

  .medical-lead-header {
    margin-bottom: 30px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
  }

  .medical-lead-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .lead-biography {
    max-width: 320px;
    margin: 0px 32px;
  }

  .medical-lead-detail {
    display: flex;
    align-items: flex-start;
  }

  .board-wrapper {
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    justify-content: center;
  }

  .board-member {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .board-wrapper picture {
    max-width: 130px;
  }

  .timing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 54px;
  }

  .timing-border {
    position: absolute;
    left: 50%;
    top: 0px;
    height: 100%;
    border: 1px solid rgb(150, 158, 168);
  }
}

@media (min-width: 1024px) {
  .medical-lead-wrapper {
    padding: 32px;
  }

  .medical-lead-grid {
    gap: 32px;
  }

  .lead-list-wrapper:not(:last-child) {
    margin-bottom: 32px;
  }

  .timing-grid {
    gap: 62px;
  }

  .timing-wrapper {
    padding-left: 32px;
    padding-right: 32px;
  }

  .care-team-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .doctors-detail {
    display: flex;
    flex-direction: row;
    gap: 0;
  }
}

@media (min-width: 1216px) {
  .medical-lead-wrapper {
    padding: 48px;
  }

  .lead-list-wrapper:not(:last-child) {
    margin-bottom: 48px;
  }

  .timing-grid {
    gap: 78px;
  }

  .timing-wrapper {
    padding-left: 48px;
    padding-right: 48px;
  }

  .doctors-time {
    padding-bottom: 96px;
  }
}

@media (max-width: 992px) {
  .care-team-column:first-of-type,
  .care-team-column:nth-child(2),
  .care-team-column:last-of-type {
    padding: 0px 15px;
    margin-bottom: 50px;
  }
}
