@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Poppins", sans-serif !important;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
  }

/* barra de navegação */
 .navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 30px;
    background-color: #ffffff;
    color: #0B4E9A;
    border-bottom: 6px solid #0b4e9a;
  }

  .navbar-left{
    display: flex;
  }

  .navbar-center{
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  
  .navbar-center h1 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 800;
  }
  .navbar-center p {
    color: #333333;
    margin: 0;
    font-size: 20px;
  }
  
  .navbar-right .contact-link {
    color: #0B4E9A;
    text-decoration: none;
    font-size: 1em;
  }
  
  .navbar-right .contact-link:hover {
    text-decoration: underline;
  }

  .navbar img{
    width: 17rem;
    height: auto;
  }

  .navbar-right p{
    font-size: 1.3rem;
    margin: 4px;
  }

  .fone{
    font-size: 1.4rem;
    text-align: center;
  }

/* Barra lateral */
.sidebar {
    width: 250px;
    background-color: #2c3e50; /* Cor de fundo mais sóbria */
    color: #fff;
    position: fixed;
    height: 100vh; /* Garante que a barra ocupe toda a altura */
    top: 0;
    left: 0;
    padding: 40px 20px;
    font-size: 1rem;
    z-index: 10; /* Garante que a barra lateral fique sobre o conteúdo */
}

.sidebar .logo img {
    width: 100%;
    margin-bottom: 20px;
}

.sidebar .menu {
    list-style-type: none;
    padding: 0;
}

.sidebar .menu li {
    margin: 20px 0;
}

.sidebar .menu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.sidebar .menu li a:hover {
    background-color: #34495e; /* Hover mais suave */
}

  .form-container {
    max-width: 700px;
    margin: 40px auto;
    background: white;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}
h2 {
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}
.btn-primary, .btn-success, .btn-danger {
    border-radius: 10px;
    font-weight: 600;
}
.btn-primary:hover {
    background-color: #0056d2;
}
.especialidade-option {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.especialidade-option select {
    flex: 1;
}

.redirect-section {
    background-color: #c4c4c4;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 100%;
}

.redirect-section h4 {
    color: #333;
    font-weight: 600;
}

.redirect-section p {
    color: #000000;
    font-size: 1rem;
}

.redirect-section .btn {
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
}


  footer {
    background-color: #064081;
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: #ffffff;
  }

  @media (max-width: 1000px) {
    .navbar {
      flex-direction: column;
      padding: 10px 10px !important;
  }

  .navbar img {
    width: 20rem;
    height: auto;
}

  .navbar-center h1 {
      margin: 6px;
      font-size: 12px;
  }

  .navbar-center p {
    display: none; 
}
  
  .navbar-right{
      display: none; 
  }
  
  section {
      padding: 30px 30px;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: space-around;
      text-align: center;
      gap: 0rem;
      flex-direction: column;
  }
  
  section img {
      max-width: 17rem;
      height: auto;
      margin-bottom: 10px;
  }
  
  footer {
      background-color: #064081;
      text-align: center;
      padding: 30px;
      font-size: 15px;
      color: #ffffff;
  }
}
  