
.background-container {
  background-image: url('./img/fondo-pacientes.png');
  background-size: cover; 
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px 0;
}




.patient-search-section {
    padding: 50px 20px;

    text-align: center;
}

.patient-search-section h2 {
    font-size: 64px;
    color: #043381;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 64px;
}

.patient-search-section p {
    font-size: 16px;
    color: #414141;
    font-weight: 400;
 
    max-width: 500px;
    margin: 0 auto;
    

}



.search-container {
    background-color: #F5F9FF;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.search-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    margin-bottom: 20px;
  }
  
  .step {
    text-align: center;
    position: relative;
    flex: 1;
  }
  
  .step .circle {
    width: 24px;
    height: 24px;
    background-color: #8B8B8B;
    border-radius: 50%;
    margin: 0 auto 8px;
  }
  
  .step p {
    font-size: 14px;
    color: #8B8B8B;
    margin: 0;
  }
  
  .step.active .circle
  {
    background-color: #043381;
  }

  .step.active p {

    color: #043381; 
  }
  
  .line {
    height: 1px;
    background-color: #043381;
    flex-grow: 1;
    margin: 0 10px;
    margin-bottom: 20px;
  }
  .step:not(.active) .line {
    background-color: #D9D9D9;
  }




  .payment-options {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-bottom: 20px;
    width: 50%; 
    margin: 0 auto;
}

.payment-options label {
    font-size: 1rem;
    color: #8B8B8B;
    display: flex;
    align-items: center;
    gap: 10px; 
    cursor: pointer;
}

.payment-options input[type="radio"] {
    width: 24px;
    height: 24px;
    appearance: none;
    background-color: #fff;
    border: 2px solid #043381;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.payment-options input[type="radio"]:checked {
    background-color: #043381;
    border-color: #043381;
    background-image: url('./icons/icon-check.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.payment-options input[type="radio"]:checked + label {
    color: #043381; 
}

.social-plan {
    display: none;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    width: 50%; 
    margin: 0 auto;
    margin-top: 30px;
}

.social-plan select {
    width: 100%;
    padding: 10px;
    border: none;
    color: #8B8B8B;
    font-size: 1rem; appearance: none;
    background-image: url('./icons/arrow-form.svg');
    background-repeat: no-repeat;
    background-position: right 15px center; 
    background-size: 15px; 
  }

.next-button {
    padding: 5px 40px;
    background-color: #F5F9FF;
    color: #043381;
    border: 1px solid #043381;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.next-button:hover {
    background-color: #043381;
    color: #ffffff;
}


input[name="payment"][value="social"]:checked ~ #socialPlan {
    display: flex;
}


@media screen and (max-width: 1024px) {
  .patient-search-section {
      padding: 30px 15px;
  }

  .patient-search-section h2 {
      font-size: 48px;
      line-height: 48px;
      margin-bottom: 20px;
  }

  .patient-search-section p {
      font-size: 14px;
      margin-bottom: 20px;
  }

  .search-container {
      padding: 20px;
      border-radius: 10px;
  }

  .search-steps {
      
      padding: 10px 0;
      margin-bottom: 15px;
  }

  .step {
      margin-bottom: 10px;
  }

  .step .circle {
      width: 20px;
      height: 20px;
  }

  .step p {
      font-size: 12px;
  }

  .line {
      height: 1px;
      margin: 10px 0;
      margin-bottom: 60px;
  }

  .payment-options {

      gap: 20px;
      margin-bottom: 20px;
      width: 100%; 
      margin: 0 auto;
  }

  .social-plan {
      width: 100%; 
      margin-top: 20px;
  }

  .next-button {
      padding: 10px 30px;
      font-size: 1rem;
      margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .patient-search-section h2 {
      font-size: 36px;
      line-height: 36px;
  }

  .search-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    margin-bottom: 20px;
    flex-wrap: nowrap;
  }

  .step {
      margin-bottom: 5px;
  }

  .step .circle {
      width: 20px;
      height: 20px;
  }

  .step p {
      font-size: 10px;
      white-space: nowrap;

     
  }

  .payment-options {
      gap: 15px;
   
  }

  .social-plan select {
      font-size: 0.9rem;
      padding: 8px;
  }

  .next-button {
      padding: 8px 25px;
      font-size: 0.9rem;
  }

  .payment-options input[type="radio"] {
    width: 24px;
    height: 20px;

}



}


/* SECOND SECTION */



.how-it-works-section {
  padding: 50px 20px;

  text-align: center;
}

.how-it-works-section h2 {
  font-size: 64px;
  color: #043381;
  margin-bottom: 40px;
  font-weight: 800;
}

.how-it-works-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  align-items: center;
  background-color: #F5F9FF;
  border-radius: 20px;
  padding: 20px;
  position: relative;
  width: 610px;
  height: 76px;
}

.step-item::before {
  content: "";
  position: absolute;
  width: 2px;
  height: calc(100% + 20px); 
  background-color: #16E0BD;
  left: 40px;
  top: 100%;
  transform: translateY(-50%); 
  z-index: 1;
}

.step-item:last-child::before {
  display: none; /* Elimina la línea para el último paso */
}

.step-number {
  width: 40px;
  height: 40px;
  border: 2px solid #16E0BD;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #414141;
  font-weight: 400;
  margin-right: 20px;
  background-color: #ffffff;
  z-index: 1;
  box-sizing: border-box;
  flex-shrink: 0; 
}

.step-content h3 {
  font-size: 24px;
  color: #414141;
  margin: 0;
 
  font-weight: 600;
  text-align: left;
}

.step-content p {
  font-size: 14px;
  color: #414141;
  margin: 1px 0 0;
  font-weight: 400;
}

.image-container {
  margin-left: 20px;
}

.image-container img {
  max-width: 100%;
  height: auto;
}


@media screen and (max-width: 768px) {

  .how-it-works-section h2{
    font-size: 36px;
  }



  .how-it-works-container {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
 
  }

  .steps-container {
    gap: 20px;
    width: 100%;
    margin-bottom: 30px;
  }

  .step-item {
    display: flex;
    align-items: center;
    background-color: #F5F9FF;
    border-radius: 20px;
    padding: 15px;
    position: relative;
    width: 100%;
    height: auto;
  }

  .step-item::before {
    display: none; 
  }

  .step-number {
 
    font-size: 14px;
  }
  .step-content h3 {
    font-size: 18px; 
  }

  .step-content p {
    font-size: 12px; 
   
    text-align: left;
    line-height: 1
    ;
  }
  .image-container{
    max-width: 50%;
  }
}

/* TESTIMONIAL SECTION */


.testimonials-section {
  padding: 50px 20px;
  background-color: #F5F9FF;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 64px;
  color: #043381;
  margin-bottom: 40px;
  font-weight: 800;
}

.testimonials-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 350px;
  max-width: 100%;
  height: 340px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.testimonial-card:hover {
  transform: translateY(-10px); /* Mover la tarjeta hacia arriba */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Aumentar la sombra para dar efecto de profundidad */
}

.testimonial-profile {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.profile-picture {
  width: 80px; /* Aumenté el tamaño a 80px */
  height: 80px;
  background-color: #414141;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-right: 15px;
}

.profile-info {
  text-align: left;
}

.profile-name {
  font-size: 14px;
  color: #414141;
  font-weight: 400;
  margin-bottom: 0;
}

.profile-area {
  font-size: 14px;
  color: #414141;
  font-weight: 800;
  margin-bottom: 0
  ;
}

.testimonial-content p {
  font-size: 14px;
  color: #414141;
  font-style: italic;
  text-align: left;
  margin-top: 40px;
  margin-bottom: 10px;
}


@media screen and (max-width: 768px){


  .testimonials-section h2{
    font-size: 36px;
  }

}



/* fourth section */


.benefits-section {
  padding: 50px 20px;
  background-color: #ffffff;
  text-align: center;
}

.benefits-section h2 {
  font-size: 46px;
  color: #043381;
  margin-bottom: 40px;
  font-weight: 800;
}

.benefits-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 40px;

}

.benefit-card {
  background-color: #F5F9FF;
  border-radius: 20px;
  width: 295px;
  height: 275px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.benefit-card h3 {
  font-size: 20px;
  color: #414141;
  margin-bottom: 10px;
  font-weight: 400;
}

.benefit-card p {
  font-size: 14px;
  color: #414141;
  font-weight: 400;
}

.professional-section {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

}

.professional-section h3 {
  font-size: 36px;
  color: #414141;
  font-weight: 500;
}

.cta-button {
  padding: 5px 30px;
  background-color: #043381;
  color: #ffffff;
  border-radius: 25px;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #D9D9D9;
  color: #021c60;
}

@media screen and (max-width: 768px)
{

  .benefits-section h2 {
    font-size: 32px;
    line-height: 1;
  }

  .professional-section h3 {
    font-size: 18px;
  }

  .cta-button {
    padding: 5px 10px;
    font-size: 14px;
  }
}