.section-hero {
  height: 70vh;
  background-image: url('../images/banner_institucional.jpg');
  background-size: cover;
  background-position: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.2);
}

.section1-title {
    bottom: 40px; 
    left: 11rem; 
    text-align: left; 
    position: absolute;
    color: #f5f5f5;
}

.btn-header h1{
    margin-right: 11rem;
}
/* Barra informativa abaixo da imagem */
.barra-informativa {
  background-color: #8f959b;
  font-size: 0.95rem;
  padding: 16px 0;
}

.links {
  color: #f5f5f5; 
  font-family: 'Questrial', sans-serif;
  font-weight: 500;
  text-decoration: none;
  margin: 0 24px;
  position: relative;
  padding-bottom: 4px;
}

.links:hover {
  color: #f5f5f5;
  text-decoration: none;
}

.links.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 0;
  margin: auto;
  width: 120%;
  height: 2px;
  background-color: #c73626;
  border-radius: 1px;
  transform: translateX(-50%);
}

#section2 {
  color: #475259;
}

#section2 p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.partners-carousel {
  padding: 40px 51px;
  position: relative;
}

.partner-card {
  background: white;
  border-radius: 0 30px 0 0;
  border: solid 1px #999B9D;
  padding: 24px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
}

.partner-card img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.partner-card img:hover {
  filter: none;
}

.partners-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.partners-carousel .owl-nav button.owl-prev,
.partners-carousel .owl-nav button.owl-next {
  background-color: #5a5e62 !important;
  color: white !important;
  font-size: 0 !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: none !important;
  pointer-events: all;
  transition: background-color 0.2s;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 !important;
  margin: 0 !important;
}

.partners-carousel .owl-nav button.owl-prev:hover,
.partners-carousel .owl-nav button.owl-next:hover {
  background-color: #c73626 !important;
}

.partners-carousel .owl-nav button span {
  font-size: 24px !important;
  line-height: 1 !important;
  color: white !important;
  display: block !important;
}

/* Hide default Owl text */
.partners-carousel .owl-nav button.owl-prev span:before {
  content: '‹' !important;
  font-size: 32px !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.partners-carousel .owl-nav button.owl-next span:before {
  content: '›' !important;
  font-size: 32px !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 768px) {
    .links {
        margin: 0 10px;
        font-size: 0.9rem;
    }
    
    .section-hero {
        height: 50vh;
    }
    
    .partners-carousel {
        padding: 20px 10px;
    }
} 

@media screen and (min-width: 769px) { 
    
}