/** banner section **/

.banner-section {
  padding: 5% 5% 0 5%;
}

.banner-ctn {
  height: 50vh;
  display: grid;
  border-radius: 2vw;
  overflow: hidden;
  grid-template-columns: repeat(2, 1fr);
}

.banner-ctn .txt {
  padding: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--soft_blue);
}

.banner-ctn .txt h1 {
  font-size: 3vw;
  color: white;
}

.banner-ctn .img {
  background-image: url("../media/jpg/cardiology.jpg");
  background-position: center;
  background-size: cover;
}

@media (max-width: 996px) {
  .banner-section {
    padding: 5% 5% 10% 5%;
  }

  .banner-ctn .txt h1 {
    font-size: 7vw;
  }

  .banner-ctn {
    grid-template-columns: 100%;
    height: 30vh;
    grid-template-rows: 40% 1fr;
  }

  .banner-ctn .img {
    background-position: center bottom 70%;
  }
}

/** secondo section **/
.second-section {
  padding: 5% 10%;
}

.second-section .second-ctn p {
  text-align: justify;
}

/** servicesList-section **/

.servicesList-section {
  display: flex;
  padding: 5% 10% 10% 10%;
  flex-direction: column;
  gap: 4vw;
  background-color: #e3e3e3;
  align-items: center;
}

.servicesList-section .title h2 {
  color: var(--deep_blue);
}

.grid-ctn {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3vw;
}

.grid-ctn .number {
  display: flex;
  width: 3vw;
  height: 3vw;
  background-color: var(--deep_blue);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
}

.grid-ctn .number span {
  color: white;
  font-size: 2vw;
  font-weight: 600;
}

.grid-ctn h2 {
  color: var(--deep_blue);
  font-size: 2vw;
}

.grid-ctn .first-column {
  display: flex;
  flex-direction: column;
  gap: 2vw;
}

.grid-ctn .first-column .value-ctn {
  display: grid;
  gap: 1vw;
  grid-template-columns: 10% 1fr;
}

.grid-ctn .value-ctn {
  cursor: pointer;
}

.grid-ctn .value-ctn .number {
  transition: all 0.4s;
}

.grid-ctn .value-ctn:hover .number span {
  color: var(--deep_blue);
}

.grid-ctn .value-ctn:hover .number {
  background: white;
}

.grid-ctn .first-column .value-ctn .txt {
  display: flex;
  flex-direction: column;
  gap: 0.5vw;
}

.grid-ctn .second-column {
  display: flex;
  flex-direction: column;
  gap: 2vw;
}

.grid-ctn .second-column .value-ctn .txt {
  display: flex;
  flex-direction: column;
  gap: 0.5vw;
}

.grid-ctn .second-column .value-ctn {
  display: grid;
  gap: 1vw;
  grid-template-columns: 10% 1fr;
}

.servicesList-section .last-txt p {
  font-size: 1.5vw;
  text-align: center;
}

@media (max-width: 996px) {
  .servicesList-section {
    padding: 10%;
    gap: 7vw;
  }

  .servicesList-section .title h2 {
    text-align: center;
  }

  .grid-ctn {
    grid-template-columns: 100%;
  }

  .grid-ctn h2 {
    font-size: 4vw;
  }

  .grid-ctn .first-column {
    gap: 4vw;
  }

  .grid-ctn .second-column {
    gap: 4vw;
  }

  .grid-ctn .first-column .value-ctn {
    grid-template-columns: 20% 1fr;
  }

  .grid-ctn .number span {
    font-size: 4vw;
  }

  .grid-ctn .number {
    width: 7vw;
    height: 7vw;
  }

  .grid-ctn .second-column .value-ctn {
    grid-template-columns: 20% 1fr;
  }

  .servicesList-section .last-txt p {
    font-size: 3vw;
  }
}

/** benefits-section **/

.benefits-section {
  padding: 0 10% 0 10%;
}

.benefits-ctn {
  display: flex;
  flex-direction: column;
  gap: 2vw;
}

.benefits-ctn .img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.benefits-ctn .img img {
  transform: translateY(-5vw);
  width: 50vw;
  border-radius: 2vw;
}

@media (max-width: 996px) {
  .benefits-ctn .img img {
    width: 80vw;
  }
}

/** list-ctn **/
.list-section {
  padding: 5% 10% 5% 0;
}

.list-ctn {
  padding: 0 10% 5% 0;
  display: grid;
  gap: 7vw;
  align-items: center;
  grid-template-columns: repeat(2, 1fr);
}

.list-ctn .benefits {
  padding: 20%;
  display: flex;
  flex-direction: column;
  gap: 1vw;
  border-radius: 0 0 10vw 0;
  background-color: var(--deep_blue);
}

.list-ctn .benefits h2 {
  color: white;
}

.list-ctn .benefits p {
  color: white;
  text-align: left;
}

.list-ctn .list ul {
  display: flex;
  flex-direction: column;
  gap: 3vw;
  position: relative;
}

.list-ctn .list ul::before {
  content: "";
  left: -8.5%;
  width: 0.4vw;
  height: 100%;
  position: absolute;
  background-color: var(--deep_blue);
}

.list-ctn .list ul h2 {
  font-size: 2vw;
  color: var(--deep_blue);
}

.list-ctn .list ul li {
  display: flex;
  flex-direction: column;
  gap: 0.5vw;
  position: relative;
  transition: all 0.4s ease;
}

.list-ctn .list ul li:hover::before {
  transform: scale(1.1);
  background-color: var(--soft_blue);
}

.list-ctn .list ul li::before {
  content: "";
  position: absolute;
  transition: all 0.4s ease;
  width: 1.5vw;
  height: 1.5vw;
  background-color: var(--deep_blue);
  left: -10%;
  top: 0;
  border-radius: 50%;
}

.list-section .last-text-ctn {
  padding: 0 0 0 10%;
}

.list-section .last-text-ctn p {
  text-align: center;
}

@media (max-width: 996px) {
  .list-ctn {
    padding: 0 0% 10% 0;
    grid-template-columns: 100%;
  }

  .list-ctn .list {
    padding: 0 0 0 10%;
    grid-template-columns: 100%;
  }

  .list-ctn .list ul {
    gap: 6vw;
  }

  .list-ctn .list ul li {
    gap: 2vw;
  }

  .list-ctn .list ul::before {
    display: none;
  }

  .list-ctn .list ul li::before {
    display: none;
  }

  .list-ctn .list ul h2 {
    font-size: 4vw;
  }

  .list-ctn .slick-track {
    overflow: visible;
  }
}

/** request appointment section **/

.request-appointment {
}

.request-appointment .request-ctn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.request-appointment .request-ctn img {
  position: absolute;
  left: -30%;
  bottom: -20%;
  transform: scale(1.4);
}

.request-appointment .content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 50vw;
  transform: translateX(4vw);
  height: 30vw;
  border-radius: 3vw;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
  background-color: var(--soft_blue);
}

.request-appointment .content .txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2vw;
  width: 100%;
  height: 100%;
}

.request-appointment .content .img {
  position: relative;
}

.request-appointment .content .txt h2 {
  color: white;
}

.request-appointment .content .txt a {
  background-color: var(--soft_blue);
  display: flex;
  width: 60%;
  justify-content: center;
  align-items: center;
  color: white;
  border-radius: 1.5vw;
  font-weight: 600;
  padding: 0.5vw 0.7vw;
  border: 0.2vw solid white;
}

.request-appointment .content .txt a:hover {
  background-color: white;
  transform: translateY(-0.2vw);
  color: var(--soft_blue);
  font-weight: 600;
  border: 0.2vw solid white;
}

@media (max-width: 996px) {
  .request-appointment {
    padding: 30% 10% 10% 10%;
  }

  .request-appointment .content {
    width: 100%;
    transform: translate(0);
    height: 100%;
    align-items: center;
    justify-items: center;
    grid-template-columns: 100%;
  }

  .request-appointment .request-ctn img {
    width: 40vw;
    transform: scale(1.5);
    transform-origin: bottom;
    position: relative;
    bottom: 0;
    left: 0;
  }

  .request-appointment .content .txt {
    padding: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .request-appointment .content .txt a {
    width: 80%;
    padding: 3vw 8vw;
    font-size: 3.5vw;
  }
}

/** insurance section **/

.insurances-section {
  padding: 5%;
}

.insurances-ctn .title h2 {
  text-align: center;
  color: var(--deep_blue);
  margin-bottom: 3vw;
}

.insurance-item {
  padding: 2vw;
}

.insurances-ctn .slick-track {
  overflow: visible;
}

@media (max-width: 996px) {
  .insurances-section {
    padding: 10%;
  }
}
