body {
  background-color: #065266;
  font-family: "Poppins", sans-serif;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
}

.menu_lista {
  display: flex;
  align-items: center;
  gap: 35px;
}

.menu_lista_item {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-size: 25px;
}

.menu_lista_item:hover {
  color: #2fa6a4;
}

.container {
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}

.container img {
  max-width: 100%;
}

.container + #perfil {
  border-top: 3px solid white;
}

.containerBio {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  gap: 30px;
  background-size: cover;
  background-image: url("./assets/BioBackground.png");
}

.containerBio img {
  width: 45%;
  margin-left: 20px;
  border-radius: 2rem;
}

.bioText p {
  max-width: 100%;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
}

.bioText h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 28px;
  color: #fff;
}

.porqueEscolher img {
  width: 100%;
  border-top: 3px solid white;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  margin-top: 2rem;
  padding: 0rem 8rem 4rem 8rem;
  background-color: #fff;
}

.card {
  margin-top: 2rem;
  padding: 25px;
  color: white;
  text-align: center;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  background-color: #065266;
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.05);
}

.containerCards h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  color: #fff;
  font-size: 28px;
}

.experience-section {
  padding: 0rem 8rem 4rem 8rem;
  text-align: center;
  border-radius: 10px;
  background-image: url("./assets/backgroundDepoimentos.png");
  background-size: cover;
  background-color: #f2f2f2;
}

.experience-section {
  grid-column: span 3;
}

.experience-section h3 {
  text-align: center;
  font-size: 30px;
  color: #fff;
}

.experience-section ul {
  padding: 0;
  list-style-type: none;
}

.containerSociais {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: auto;
}

.instagram-feed {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 30rem;
  gap: 2rem;
  text-align: center;
  background-image: url("./assets/BioBackground.png");
  background-size: cover;
}

.instagram-feed h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 0.6rem;
}

.instagram-feed iframe {
  width: 60rem;
  max-width: 100%; /* Ajustado para o iframe não ultrapassar a largura da sua div pai */
  height: 80rem;
}

.comentarios img {
  width: 100%;
}

.contato p {
  display: flex;
  margin-top: 2rem;
}

.mapa {
  margin-bottom: 3rem;
}

.mapa iframe {
  width: 100%;
}

.comentarios {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 27rem;
  padding-bottom: 20px;
  text-align: center;
  position: relative;
  background-image: url("./assets/backgroundDepoimentos.png");
  background-position: center;
  background-size: cover;
}

.comentarios h3 {
  margin: -1.5rem 0 1.2rem;
  font-size: 30px;
  color: #fff;
}

.carrossel-container {
  width: 80%;
  margin: 0 auto;
  overflow: hidden;
}

.carrossel {
  display: flex;
  transition: transform 0.5s ease;
}

.feedback {
  flex: 0 0 50%;
}

.feedback img {
  width: 100%;
  height: auto;
}

.anterior {
  left: 0;
}

.proximo {
  right: 0;
}

.comentarios .anterior,
.comentarios .proximo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

.containerContatos {
  display: flex;
  align-items: center;
}

.infoConsultorios {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 50%;
  margin-left: 3rem;
  color: #fff;
}

.infoConsultorios p,
h2,
h3 {
  text-align: start;
}

#iconPhone,
#iconLocation,
#iconClock {
  margin-right: 1rem;
}

.infoConsultorios p {
  margin-bottom: 2rem;
}

.formularioContato {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  margin-right: 3rem;
  border-radius: 10px;
}

.formularioContato h2 {
  font-size: 24px;
}

.form {
  height: 45rem;
  padding: 1.5rem;
  width: 40rem;
  margin-left: 6rem;
  margin-right: 6rem;
  background-color: #15172b;
  border-radius: 20px;
  box-sizing: border-box;
}

.title {
  color: #eee;
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 600;
  margin-top: 30px;
}

.subtitle {
  color: #eee;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
}

.input-container {
  height: 50px;
  position: relative;
  width: 100%;
}

.ic1 {
  margin-top: 40px;
}

.ic2 {
  margin-top: 30px;
}

.input {
  background-color: #303245;
  border-radius: 12px;
  border: 0;
  box-sizing: border-box;
  color: #eee;
  font-size: 18px;
  height: 100%;
  outline: 0;
  padding: 4px 20px 0;
  width: 100%;
}

.cut {
  background-color: #15172b;
  border-radius: 10px;
  height: 20px;
  left: 20px;
  position: absolute;
  top: -20px;
  transform: translateY(0);
  transition: transform 200ms;
  width: 7rem;
}

.cut-short {
  width: 3.4rem;
}

.input:focus ~ .cut,
.input:not(:placeholder-shown) ~ .cut {
  transform: translateY(8px);
}

.placeholder {
  color: #65657b;
  font-family: "Poppins", sans-serif;
  left: 20px;
  line-height: 14px;
  pointer-events: none;
  position: absolute;
  transform-origin: 0 50%;
  transition: transform 200ms, color 200ms;
  top: 20px;
}

.input:focus ~ .placeholder,
.input:not(:placeholder-shown) ~ .placeholder {
  transform: translateY(-30px) translateX(10px) scale(0.75);
}

.input:not(:placeholder-shown) ~ .placeholder {
  color: #808097;
}

.input:focus ~ .placeholder {
  color: #dc2f55;
}

.submit {
  background-color: #08d;
  border-radius: 12px;
  border: 0;
  box-sizing: border-box;
  color: #eee;
  cursor: pointer;
  font-size: 18px;
  height: 50px;
  margin-top: 38px;
  outline: 0;
  text-align: center;
  width: 100%;
}

.submit:active {
  background-color: #06b;
}

.button {
  background-color: #065266;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
}

.button:hover {
  background-color: #2fa6a4;
}

.social-buttons {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.newsletter-text .social-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  color: #fff;
  border-radius: 50%;
  margin: 0 3rem;
  line-height: 50px;
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.3s;
}

.social-buttons .social-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  color: #fff;
  border-radius: 50%;
  margin: 0 3rem;
  line-height: 50px;
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.3s;
}

.newsletter-text {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
  padding: 0 10rem 0 10rem;
}

.social-buttons .social-button:hover {
  transform: scale(1.1);
}

.social-buttons .facebook {
  background-color: #3b5998;
}

.social-buttons .youtube {
  background-color: #ff0000;
}
.social-buttons .instagram {
  background-color: #e1306c;
}
.newsletter-text .newsletter {
  margin: 1rem;
  background-color: #15172b;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  font-size: 24px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: transform 0.3s ease-in-out;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #15172b;
  height: 2rem;
}

.copyright h2 {
  text-align: center;
}

/* PAGINA 2 */

.containerExame {
  width: 100%;
  overflow: hidden;
}

.menuExame {
  color: #065266;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-size: 25px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

.menuListaExame {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  margin-left: auto;
  justify-content: center;
  height: 8rem
}

.menu_lista_item {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-size: 25px;
}

.logo {
  max-width: 26rem;
  height: auto;
  margin-right: auto;
}

.imagem {
  width: 100%;
}

.containerForm {
  padding: 1.1rem;
}

.text {
  text-align: center;
  margin-bottom: 10px;
  font-size: 28px;
  color: #fff;
}

.contact-form {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 5px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  background-color: transparent;
  transition: border-bottom 0.3s;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom: 1px solid #1683be;
  outline: none;
}

.button-wrapper {
  text-align: center;
}

button[type="submit"] {
  background-color: #1683be;
  color: white;
  padding: 1rem 6rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

button[type="submit"]:hover {
  background-color: #0f5f89;
}

@media (max-width: 768px) {
  #imagem1 {
    content: url("./assets/mobile1.png");
  }
  #imagem2 {
    content: url("./assets/mobile2.png");
  }
  #imagem3 {
    content: url("./assets/mobile3.png");
  }
  #imagem4 {
    content: url("./assets/mobile4.png");
  }
  #imagem6 {
    content: url("./assets/mobile6.png");
  }
  #imagem7 {
    content: url("./assets/mobile7.png");
  }

  .container img {
    content: url("./assets/bannerMobile.png");
  }

  .porqueEscolher img {
    content: url("./assets/porqueEscolherMobile.png");
  }

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 0rem 2rem 2rem 2rem;
  }

  .containerBio {
    flex-direction: column;
    padding: 1.5rem;
  }

  .containerBio img {
    width: 100%;
    margin-left: 0;
    margin-bottom: 1rem;
  }

  .containerSociais,
  .formularioContato {
    width: 100%;
    margin: 0;
  }

  .instagram-feed iframe {
    width: 80%;
  }

  .formularioContato {
    margin-bottom: 2rem;
  }

  .form {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .mapa iframe {
    height: 300px;
  }

  .form {
    margin: 3rem;
  }

  .menu_lista {
    gap: 3rem;
  }
}

/* Corrigindo o Media Query para 576px */
@media (max-width: 576px) {
  .instagram-feed {
    gap: 2rem; /* Adicionado gap para espaçamento entre os elementos */
  }

  .instagram-feed iframe {
    max-width: 100%; /* Ajustado para o iframe não ultrapassar a largura da sua div pai */
    height: auto; /* Ajustado para a altura do iframe se adaptar automaticamente */
  }

  .feedback {
    flex: 0 0 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
  }

  .comentarios .anterior,
  .comentarios .proximo {
    transform: translateY(-40%);
  }

  .carrossel-container {
    overflow: hidden;
  }

  .carrossel {
    display: flex;
    scroll-behavior: smooth;
  }

  .grid-container {
    display: flex;
    flex-direction: column;
  }

  .card {
    display: flex;
    justify-content: center;
    padding: 1.5rem 5rem 1.5rem 5rem;
  }

  .experience-section {
    padding: 2rem;
  }

  .containerContatos {
    flex-direction: column;
  }
  .menu_lista {
    gap: 1rem;
    flex-direction: column;
  }
}

@media (max-width: 425px) {
  .instagram-feed {
    gap: 2rem;
  }

  .instagram-feed iframe {
    max-width: 100%;
    height: auto;
  }

  .feedback {
    flex: 0 0 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
  }

  .comentarios .anterior,
  .comentarios .proximo {
    transform: translateY(-40%);
  }

  .carrossel-container {
    overflow: hidden;
  }

  .carrossel {
    display: flex;
    scroll-behavior: smooth;
  }

  .whatsapp-button {
    right: 10px;
    bottom: 10px;
  }
  .grid-container {
    display: flex;
    flex-direction: column;
  }

  .card {
    display: flex;
    justify-content: center;
    padding: 25px 80px 25px 80px;
  }

  .experience-section {
    padding: 2rem;
  }

  .containerContatos {
    flex-direction: column;
  }
}
