/* Custom CSS for 4 social icons in team member cards */

/* Posicionamento inicial dos 4 ícones (escondidos) */
.team-item .team-thumb .team-social .styled-icons.icon-team-list li:nth-child(4) {
  opacity: 0;
  position: absolute;
  right: 55px;
  bottom: -30px;
  transition: all 200ms ease-in-out 0s;
}

@media (prefers-reduced-motion: reduce) {
  .team-item .team-thumb .team-social .styled-icons.icon-team-list li:nth-child(4) {
    transition: none;
  }
}

/* Reposicionar os 4 ícones no hover - distribuídos ao redor do círculo */
.team-item:hover .team-thumb .team-social .styled-icons.icon-team-list li:nth-child(1) {
  left: 5px !important;
  bottom: 10px !important;
}

.team-item:hover .team-thumb .team-social .styled-icons.icon-team-list li:nth-child(2) {
  left: 55px !important;
  right: auto !important;
  bottom: -25px !important;
}

.team-item:hover .team-thumb .team-social .styled-icons.icon-team-list li:nth-child(3) {
  right: 55px !important;
  left: auto !important;
  bottom: -25px !important;
}

.team-item:hover .team-thumb .team-social .styled-icons.icon-team-list li:nth-child(4) {
  position: absolute;
  right: 5px;
  bottom: 10px;
  opacity: 1;
  transition: all 400ms ease-in-out 0s;
}

@media (prefers-reduced-motion: reduce) {
  .team-item:hover .team-thumb .team-social .styled-icons.icon-team-list li:nth-child(4) {
    transition: none;
  }
}

/* Ajustes responsivos */
@media (max-width: 575.98px) {
  .team-item:hover .team-thumb .team-social .styled-icons.icon-team-list li:nth-child(1) {
    left: 15px !important;
    bottom: 5px !important;
  }
  
  .team-item:hover .team-thumb .team-social .styled-icons.icon-team-list li:nth-child(2) {
    left: 45px !important;
    bottom: -10px !important;
  }
  
  .team-item:hover .team-thumb .team-social .styled-icons.icon-team-list li:nth-child(3) {
    right: 45px !important;
    bottom: -10px !important;
  }
  
  .team-item:hover .team-thumb .team-social .styled-icons.icon-team-list li:nth-child(4) {
    right: 15px;
    bottom: 5px;
  }
  
  .contact-from {
      padding: 25px 15px 25px 15px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .team-item:hover .team-thumb .team-social .styled-icons.icon-team-list li:nth-child(1) {
    left: 60px !important;
    bottom: 0px !important;
  }
  
  .team-item:hover .team-thumb .team-social .styled-icons.icon-team-list li:nth-child(2) {
    left: 95px !important;
    bottom: -15px !important;
  }
  
  .team-item:hover .team-thumb .team-social .styled-icons.icon-team-list li:nth-child(3) {
    right: 95px !important;
    bottom: -15px !important;
  }
  
  .team-item:hover .team-thumb .team-social .styled-icons.icon-team-list li:nth-child(4) {
    right: 60px;
    bottom: 0px;
  }
}

.header-nav-wrapper .header-nav-container .custom-logo-link img{
    margin: 10px 0 !important;
  }

/* CONTACT FORM 7*/
form .wpcf7-form-control-wrap{display: block; width: 100%; position: relative;}
form .wpcf7-validation-errors{width: 100%; color: #fff; font-size: 0.7rem; border: solid 1px #ff0000; background: #ff0000; font-weight: 600;}
form .wpcf7-not-valid-tip{position: absolute !important; top: 0 !important; left: inherit !important; right: 0; width: auto !important; font-size: 0.7rem; font-weight: 600; background: #ff0000 !important; color: #fff;}
form.sent .wpcf7-response-output{width: 100%; color: #fff; font-size: 0.7rem; font-weight: 600; background: #398f14;}
form .wpcf7-mail-sent-ng{width: 100%; color: #fff; font-size: 0.7rem; font-weight: 600; background: #ff0000;}
form .wpcf7-response-output{width: 100%; color: #000; font-size: 0.7rem; font-weight: 600; background: #ffb900;}
form .use-floating-validation-tip .wpcf7-not-valid-tip {position: absolute; top: 0; left: inherit; width: auto; right: 0;}
/* END CONTACT FORM 7 */

@media(max-width: 991px){
    .google-map .call-for-estimate {
        right: -280px;
    }
}