html {
    scroll-behavior: smooth;
}
.container {
    @media (min-width: 1200px) {
        width: 1200px;
    }
}
h1 {
    font-size: 65px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    @media (max-width: 992px) {
        font-size: 48px;
    }
}
h2 {
    font-size: 46px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 2rem;
    @media (max-width: 992px) {
        font-size: 32px;
    }
}
p {
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    @media (max-width: 992px) {
      font-size: 16px;
  }
    
}

.nav-link {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  @media (max-width: 992px) {
    padding: 0;
  }
}
.navbar-brand img{
  @media (max-width: 992px) {
    max-height: 70px;
    width: auto;
}
}
.social-buttons {
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  @media (max-width: 992px) {
    padding: 0;
    margin: 20px 0 10px 0;
  }
}
.navbar-collapse {
  @media (max-width: 992px) {
    margin-top: 20px;
  }
}
.social-btn {
  background-color: #2e5d32;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 50%;
  padding: 6px 10px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background-color: #333;
  text-decoration: none;
}

.banner {
    background-image: url(../img/banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 15rem 0;
    h1 {
      color: #fff;
    }
    p {
      color: #fff;
      @media (max-width: 992px) {
        font-size: 14px;
        text-align: justify;
      }
    }
    .btn {
        border-radius: 15px;
        border: 2px solid #fff;
        padding: 10px 30px;
        text-transform: uppercase;
        font-size: 12px;
        margin: 0 auto;
        display: block;
    }
    a {
      text-decoration: none !important;
    }

    @media (max-width: 992px) {
      padding: 10rem 0;
  }
}

.servicos {
    padding: 5rem 0;
    h2 {
        color: #496A3D;
    }
    .card {
        border: none;
        .card-title {
            font-size: 14px;
        }
    }
}
.modal-text {
    padding: 20px;
    border: 1px solid #ededed;
    border-radius: 1rem;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    text-align: justify;
}

.sobre {
    background-image: url(../img/banner-sobre.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 5rem 0;
    p {
      text-align: justify;
    }
}

.trabalhe-conosco {
    background-color: #474946;
    padding: 5rem 0;
}
.localizacao {
  margin: 0 !important;
  padding: 0 !important;
    iframe {
        width: 100%;
        display: block;
  margin: 0;
  padding: 0;
  border: 0;
    }
}
footer {
    background-image: url(../img/bgfooter.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 5rem 0;
    p {
        font-size: 16px;
        margin: 25px 0;
    }
    a {
      text-decoration: none !important;
      color: #fff;
    }
}

.carousel-section {
    background: #f7f9fa;
    padding: 40px 0;
    overflow: hidden;
  }
  
  .carousel-row {
    white-space: nowrap;
    overflow: hidden;
  }
  
  .carousel-track {
    display: flex;
    min-width: 200%;
    animation: scroll-left 45s linear infinite;
    align-items: center;
    @media (max-width: 992px) {
        animation: scroll-left 5s linear infinite;
    }
  }
  
  .row-reverse .carousel-track {
    animation: scroll-right 45s linear infinite;
    @media (max-width: 992px) {
        animation: scroll-left 5s linear infinite;
    }
  }
  
  .carousel-track img {
    width: 120px;
    margin: 0 20px;
    vertical-align: middle;
    opacity: 0.8;
    filter: grayscale(100%);
    transition: transform 0.3s, filter 0.3s, opacity 0.3s;
    flex-shrink: 0;
  }
  
  .carousel-track img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
    opacity: 1;
  }
  
  .carousel-row .carousel-track:hover {
    animation-play-state: paused;
  }
  
  @keyframes scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  
  @keyframes scroll-right {
    100%   { transform: translateX(0); }
    0% { transform: translateX(-50%); }
  }
  
  @media (min-width: 992px) {
  .hover-card {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background-color: #f5f5f5;
    margin-top: 1.5rem;
  }
  
  .img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-35%); 
    transition: transform 0.3s ease;
    z-index: 0;
  }
  
  .hover-card:hover .img-container {
    transform: translateY(0);
  }
  
  .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .hover-card:hover .img-overlay {
    opacity: 1;
  }
  
  .card-body {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: self-end;
    justify-content: center;
    padding: 1rem;
    color: #000;
    font-weight: bold;
    text-align: center;
    transition: color 0.3s ease;
  }
  
  .hover-card:hover .card-body {
    color: #fff;
  }
}