.btnContato{
    padding: 12px 35px;
    background-color: #3e9b67;
    color: #ffffff;
    margin-top: 15px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-size: 16px;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
.btnContato:hover{
    background: #2e7b4e;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(62, 155, 103, 0.3);
  }

.btnContato:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btnContato:hover:before {
    width: 100%;
}

.btnContato i {
    margin-right: 8px;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

#titulo-pagina{
    color: #0000cc;
    font-family: arial;
    font-weight: bold;
    margin-top: -25px;
    margin-bottom: 40px;
}

.bg-primary {
    background-color: #104E8B!important;
    background-image: linear-gradient(135deg, #104E8B 0%, #1A6EAF 100%);
    position: relative;
    overflow: hidden;
}

.btn-dark:hover, .btn-dark:focus, .btn-dark:active, .btn-primary:hover {
    color: #fff;
    background-color: #004085;
    border-color: #004085;
}
.btn-primary {
    color: #155724;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    font-weight: bold;
}

.text-primary {
  color: #104E8B!important;
}

.card {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
}

/* On mouse-over, add a deeper shadow */
.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

/* Add some padding inside the card container */

.portfolio{
    background-color: #104E8B;    
}

#portfolio img{
    height: 200px;
    width: auto;
    padding: 10px
}
.titulo{
    color: #363636;
    font-weight: bold;
}

.img_logo{
    width:150px; 
    height: 65px; 
    border-radius: 5px;
    margin-right: 75px;
  }
  
  .num_interOcultar{
    display:none;
  }
  
  #nav_Menu{
    padding-top: 0px;
    padding-bottom: 0px;
    background-color:#3e9b67;
  }
  
  #navbarNav{
    margin-left:  7%;
    margin-right: 5%;
  }
  
  @media only screen and (max-width: 991px) {
    .num_inter_mostra{
      display: none;
    }
    
    .num_interOcultar{
      display: block;
    }
        
    #navbarNav{
      margin-left:  0%;
      margin-right: 0%;
    }
  }

/* Solução para o espaço em branco na página de contato */
html, body {
  height: 100%;
  margin: 0;
}

#contact {
  min-height: calc(100vh - 100px); /* Altura da tela menos altura do cabeçalho */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

/* Elementos de forma decorativos (blobs) */
.shape-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  opacity: 0.4;
}

.shape-blob-1 {
  width: 500px;
  height: 500px;
  background: #0e3968;
  top: -150px;
  right: -100px;
  animation: blob-move 15s infinite alternate;
}

.shape-blob-2 {
  width: 300px;
  height: 300px;
  background: #3e9b67;
  bottom: 50px;
  left: -50px;
  animation: blob-move 20s infinite alternate-reverse;
}

.shape-blob-3 {
  width: 350px;
  height: 350px;
  background: #1c7bc9;
  bottom: 250px;
  right: 150px;
  animation: blob-move-slow 25s infinite alternate;
}

@keyframes blob-move {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 50px) scale(1.1); }
}

@keyframes blob-move-slow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 30px) scale(1.1); }
}

.contato-container {
  position: relative;
  z-index: 2;
}

/* Melhorias no título principal */
.section-header {
  margin-bottom: 50px;
}

.display-4 {
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.85);
}

/* Divisor personalizado com ícone */
.divider-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.divider-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 300px;
}

.divider-left, .divider-right {
  height: 3px;
  flex: 1;
  background-color: rgba(255, 255, 255, 0.2);
}

.divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #3e9b67;
  margin: 0 15px;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Melhorias no formulário de contato */
.form-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  padding: 40px;
  color: #333;
  margin-bottom: 30px;
  transition: all 0.4s ease;
  transform: translateY(0);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.form-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3e9b67 0%, #104E8B 100%);
  z-index: 2;
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.contact-title {
  color: #3e9b67;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.contact-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

/* Campos de formulário com novo estilo de rótulos */
.floating-label {
  position: relative;
  margin-bottom: 25px; /* Aumentado para dar mais espaço */
}

.floating-label label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #3e9b67;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.input-group {
  display: flex;
  flex-wrap: nowrap;
}

.input-group-text {
  background-color: #f8f9fa;
  border-color: #e9ecef;
  color: #3e9b67;
  border-radius: 8px 0 0 8px;
  width: 45px;
  justify-content: center;
  transition: all 0.3s ease;
}

.form-control {
  border: 1px solid #e9ecef;
  border-radius: 0 8px 8px 0;
  padding: 12px 15px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: none;
  z-index: 1;
  background-color: #fff; /* Garante que o fundo seja branco */
}

.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(62, 155, 103, 0.15);
  border-color: #3e9b67;
}

.form-control:focus ~ .input-group-prepend .input-group-text,
.input-group:focus-within .input-group-text {
  border-color: #3e9b67;
  color: #2e7b4e;
}

.form-control::placeholder {
  color: #adb5bd;
  opacity: 0.7;
}

.message-area {
  resize: none;
  min-height: 150px;
}

/* Card de informações de contato */
.contact-info-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 35px;
  color: #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.info-header {
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 20px;
}

.info-header h3 {
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.info-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.contact-methods {
  margin-bottom: 0px;
  flex: 1;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.icon-box {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-method:hover .icon-box {
  background-color: #3e9b67;
  transform: translateY(-3px);
}

.contact-details h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #fff;
}

.contact-details p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3px;
  font-size: 15px;
}

/* Redes sociais */
.social-media {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

.social-media h5 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #3e9b67;
  transform: translateY(-3px);
  color: #fff;
}

/* Responsividade */
@media (max-width: 991px) {
  .contact-info-card {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  #contact {
    padding: 60px 0;
  }
  
  .form-card, .contact-info-card {
    padding: 30px;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
  
  .divider-wrapper {
    max-width: 250px;
  }
  
  .contact-method {
    margin-bottom: 20px;
  }
}

/* Para telas muito pequenas (smartphones) */
@media only screen and (max-width: 576px) {
  #contact {
    padding: 40px 0;
  }
  
  .form-card, .contact-info-card {
    padding: 25px;
    border-radius: 10px;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .btnContato {
    width: 100%;
    margin-top: 10px;
  }
  
  .icon-box {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* Para telas muito grandes, garantimos uma altura mínima do formulário */
@media only screen and (min-height: 900px) {
  .form-group textarea {
    min-height: 275px;
  }
  
  /* Ajustando o tamanho do formulário em telas muito grandes */
  .form-card {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}