

article.services__card {
  box-shadow: 2px 5px 8px #71717147;
  margin: 0px 15px;
  padding-block: 2rem;
}
.services__container.container.grid {
  margin-bottom: 8rem;
  display: flex;
}
h2.section__title {
  font-size: 35px;
  font-weight: 500;
  color: #00868d;
  padding-bottom: 2rem;
}
img.service-icon {
  max-width: 45%;
}
section.services.section {
   padding-bottom: 4rem;
   background-image: none;
}


/*=============== THEME ===============*/
.nav__actions {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

section#shadow-host-companion {
        display: none;
}
.section {
  padding-block: 5rem 1rem;
}
.section__title {
  font-size: var(--h1-font-size);
  text-align: center;
  margin-bottom: 2rem;
}

.main {
  overflow: hidden;
}

/*=============== BUTTON ===============*/
button.service-button1 {
  padding: 10px 35px;
  border: 1px solid #008489;
  box-shadow: 2px 2px 5px #0000001a;
  color: #008489;
  border-radius: 6px;
  background: none;
}

.button.service-button1:hover {
  background-color: var(--first-color-alt);
  box-shadow: 0 8px 24px hsla(var(--hue), 90%, 30%, 0.3);
}

/*=============== SERVICES ===============*/
.services__container {
  row-gap: 2rem;
}

.services__card {
  background-color: var(--container-color);
  border-radius: 0.75rem;
  padding: 3.5rem 1.5rem;
  box-shadow: 0 12px 24px var(--shadow-color);
  text-align: center;
  transition: background-color 0.4s;
}

.services__icon {
  display: inline-block;
  font-size: 3rem;
  color: var(--first-color);
  margin-bottom: 1.5rem;
}

.services__title {
  margin-bottom: 1rem;
  font-size: 22px;
  font-weight: 500;
  color: #008489;
}

.services__description {
  margin-bottom: 2rem;
  font-size: 14px;
}

.services__button {
  cursor: pointer;
}

.services__modal {
  position: fixed;
  inset: 0;
  background-color: hsla(var(--hue), 90%, 30%, 0.3);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); /* For Safari */
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  z-index: var(--z-modal);
  transition: opacity 0.4s, visibility 0.4s;
}

.services__modal-content {
  max-width: 420px;
  position: fixed;
  background-color: var(--container-color);
  border-radius: 0.75rem;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 24px;
  padding: 3.5rem 1.5rem;
  border-bottom: 6px solid var(--first-color);
  overflow: auto;
}

.services__modal-content::-webkit-scrollbar {
  width: 0.6rem;
}

.services__modal-content::-webkit-scrollbar-thumb {
  background-color: var(--text-color-light);
}

.services__modal-title {
  font-size: var(--h2-font-size);
  margin-bottom: 2.5rem;
}

.services__modal-list {
  margin-left: 1rem;
}

.services__modal-item {
  text-align: initial;
  list-style: outside;
}

.services__modal-item::marker {
  color: var(--first-color);
}

.services__modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--first-color);
  cursor: pointer;
}

/* Active modal */
.active-modal {
  opacity: 1;
  visibility: visible;
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .container {
    margin-inline: 1rem;
  }
  .services__modal {
    padding-inline: 0.5rem;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .services__container {
    grid-template-columns: 320px;
    justify-content: center;
  }
  .services__modal-content {
    width: 400px;
  }
}

@media screen and (min-width: 768px) {
  .services__container {
    grid-template-columns: repeat(2, 320px);
  }
  
}

@media screen and (max-width: 768px) {
  
  .services__container.container.grid {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
}
}

/* For large devices */
@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }
  .section {
    padding-block: 7rem 2rem;
  }
  .section__title {
    margin-bottom: 3.5rem;
  }
  .services__container {
    grid-template-columns: repeat(3, 345px);
  }
  .services__card {
    padding-block: 4.5rem;
  }
  .services__modal-content {
    max-height: 480px;
    padding: 5.5rem 2rem;
  }
  .services__modal-close {
    font-size: 2rem;
  }
}











/* ------------ why choose us -- */

.y-us-section {
  padding: 82px 0 82px;
  background-image: url(../img/diagnostic_lab.png);
  background-size: cover;
  background-position: center;
  position: relative;
}
.y-us-head {
  text-align: center;
  margin: 0 0 91px;
}
.y-us-title h2 {
  color: #ffffff;
  font-size: 34px;
  letter-spacing: 0;
  line-height: 32px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.y-us-title > p {
  color: #ffffff;
  line-height: 22px;
  font-weight: 400;
  font-size: 12px;
  font-family: auto;
  padding-top: 2rem;
}
.y-us-title-border {
  background: #008489 none repeat scroll 0 0;
  border-radius: 2px;
  display: inline-block;
  height: 3px;
  position: relative;
  width: 50px;
}
.service-3 .service-box {
  margin-bottom: 18px;
}
.service-3 .service-box .iconset {
  float: left;
  text-align: center;
  width: 25%;
}
.service-3 .service-box .iconset i {
  color: #000;
  font-size: 44px;
}
.service-3 .service-box .y-us-content {
  float: left;
  width: 75%;
}
service-3 .service-box .y-us-content h4 {
  color: #3a3a3a;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 22px;
  margin: 14px 0 12px;
  text-transform: uppercase;
}
.service-3 .service-box .y-us-content p {
  color: #d0d0d0;
  font-size: 12px;
  font-weight: 500;
  line-height: 24px;
}

.icon {
  color : #f4b841;
  padding:0px;
  font-size:40px;
  border: 1px solid #fdb801;
  border-radius: 100px;
  color: #fdb801;
  font-size: 28px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  width: 70px;
}

.y-us-section {
  padding: 82px 0 82px;
  background-image: url(../img/diagnostic_lab.png);
  background-size: cover;
  background-position: center;
  position: relative;
}
img.srvc-hero-img {
  max-width: 100%;
}

h4.why-chs-us-hdng {
  color: #fff;
}
img.why-cs-us11 {
  max-width: 85%;
  margin-right: 2rem;
}
.why-choose-banner {
  display: flex;
  justify-content: center;
}
