#iframe {
  width: 100% !important;
  height: 350px;
  border: none;
  margin-bottom: -5px;
  margin-top: 40px;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #fff;
}

.nav-bar .nav-links {
  display: flex;
  align-items: center;
}

.nav-bar .nav-links li {
  margin: 0 5px;
  list-style: none;
}

.nav-links li a {
  position: relative;
  font-size: 17px;
  font-weight: bold;
  color: var(--text-color-black);
  text-decoration: none;
  padding: 10px;
}

body.dark .nav-links li a {
  color: var(--text-color-dark);
  font-weight: 400;
}

.nav-links li a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 4px;
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
  transform: translateX(-50%);
  background-image: linear-gradient(
    to right,
    rgba(13, 51, 95, 1),
    rgba(60, 105, 130, 1)
  );
  border-radius: 5px;
}

.nav-links li a.active::before {
  width: 65%;
  left: 15%;
  transform: none;
}

/* Desabilitar hover para link ativo */
.nav-links li a.active:hover::before {
  width: 65%;
  left: 15%;
  transform: none;
}

/* Efeito ao passar o mouse sobre o link */
.nav-links li:hover a::before {
  width: calc(100% - 20px);
  transform: translateX(-50%) scaleX(0.8);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100px;
  width: 100%;
  z-index: 100;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid var(--color-light);
  box-shadow: 0 0 5px var(--color-light);
}

@media (max-width: 790px) {
  .nav-bar .main-nav-links {
    flex-direction: column;
    padding-top: 30px;
  }

  .main-nav-links li a {
    display: block;
    margin-top: 20px;
  }
}

.logo {
  flex: 0 0 30%;
  max-width: 20%;
  cursor: pointer;
}

.dark-light i,
.searchToggle i {
  position: absolute;
  color: var(--text-color-black);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
}

nav .nav-bar .sidebarOpenContact {
  color: var(--text-color-black);
  font-size: 25px;
  padding: 5px;
  cursor: pointer;
  display: none;
}

@media screen and (max-width: 790px) {
  nav .nav-bar .sidebarOpenContact{
    display: block;
  }

  nav .nav-bar img.logo {
    width: 100%;
    max-width: 150px;
    height: auto;
    position: fixed;
    left: 50%;
    top: 4.5%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
}

.response {
  display: block;
}

.map {
  color: #125a94;
  margin-top: 40px;
}

#title-map {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 991px) {
  .response {
    display: none;
  }

  .map {
    display: none;
  }
}

.contact-container {
  position: relative;
  margin-top: 100px;
}

#img-atendente {
  height: 375px;
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 5px 5px rgb(176, 176, 176);
}

.contact-text {
  padding-left: 7px;
}

.center-image {
  display: flex;
  justify-content: center;
  margin-top: 110px;
  margin-bottom: 40px;
}

.row {
  margin-right: 0px;
}

.footer {
  margin-top: 0px;
}

.form-control {
  border: 2px solid #ccc;
  font-size: 18px;
  display: inline;
  height: 50px;
  padding-right: 40px;
}

.input-field {
  position: relative;
  width: 100%;
  border-radius: 7px;
  outline: none;
}

.input-field #input-tel {
  display: none;
  color: #e01818;
  position: absolute;
  font-size: 25px;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.input-field #input-email {
  display: none;
  color: #e01818;
  position: absolute;
  font-size: 25px;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.input-field #input-name {
  display: none;
  color: #e01818;
  position: absolute;
  font-size: 25px;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.input-field #input-msg {
  display: none;
  color: #e01818;
  position: absolute;
  font-size: 25px;
  right: 10px;
  top: 8%;
  transform: translateY(-50%);
  transition: top 0.001s ease, left 0.001s ease;
}

#count-words {
  color: #424a53;
  position: sticky;
  font-size: 15px;
  bottom: 1%;
  right: 15px;
  transition: top 0.001s ease, left 0.001s ease;
  z-index: 1;
  display: inline-block;
  margin: 0px;
}

#erro-msg {
  margin-top: 0px;
}

#msg {
  padding-bottom: 30px;
  resize: vertical;
  min-height: 100px;
  width: 100%;
}

.erro-text {
  color: #e01818;
  margin-top: 5px;
  font-size: 15px;
  display: none;
}

.form-group {
  width: 400px;
}

@media screen and (max-width: 1200px) {
  .form-group {
    max-width: 365px;
  }
}

@media screen and (max-width: 700px) {
  .form-group {
    max-width: 365px;
  }
}

@media screen and (max-width: 500px) {
  .form-group {
    max-width: 270px;
  }

  .button {
    width: 75%;
  }
}

.icon-contacts{
    font-size: 35px;
    text-align: center;
    color: #424A53;
}

.form-resize {
  display: grid;
  justify-content: center;
}

.form-control:focus {
  border-color: #125a94;
  box-shadow: 0 0 5px #125a94;
  outline: none;
}

label {
  color: #424a53;
  font-size: 20px;
}

#title-contact {
  text-align: center;
  color: #125a94;
}

.budget-text {
  font-size: 16px;
  text-align: center;
  color: #424a53;
  font-weight: 500;
}

.button {
  font-size: 16px;
}

.contacts {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.fa-map-location-dot {
  font-size: 35px;
  text-align: center;
  color: #424a53;
}

.address {
  padding-top: 15px;
  font-size: 18px;
  text-align: left;
  color: #424a53;
  font-weight: 500;
}

body.dark .address,
body.dark .budget-text,
body.dark #count-words,
body.dark label, 
body.dark .icon-contacts,
body.dark .sidebarOpenContact,
body.dark .dark-light i {
  color: #fff;
}

body.dark .form-control {
  color: #fff;
  background-color: #1e1e1e;
}

body.dark .footer {
  background-color: #1e1e1e;
}

body.dark .footer a,
body.dark .footer p {
  color: #e0e0e0;
}

nav.activeeee .menu {
  left: -0%;
}

nav.activeeee .nav-bar .navLogo a {
  opacity: 0;
  transition: all 0.3s ease;
}