@media (max-width: 1200px) {
  .hero_area_sobre {
    min-height: 130vh;
    background-color: #b5caee;
    background-image: url(../images/img-banner-sobre-mobile.png);
    background-size: cover;
    background-position: top;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .hero_area_sobre::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background-image: url(../images/gradient-sobre.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: bottom;
    z-index: 1;
  }
  .sobre-banner-bottom-content {
    min-height: 80vh;
    display: block !important;
    background-color: #2c2a2a !important;
    padding: 40px 15px;
    width: 100%;
    position: relative;
    z-index: 2;
    margin-left: 0px !important;
  }
  .container-sobre {
    padding: 0 30px;
  }

  .text-container {
    margin-top: -14rem !important;
  }

  .servicos-card-description {
    text-align: justify !important;
  }

  .paragraphy-sobre {
    text-align: justify !important;
  }

  .paragraphy-sobre-banner-slide {
    text-align: justify !important;
  }

  .sobre-banner-content {
    flex-direction: column;
    padding: 0 30px;
    width: 100% !important;
  }

  .container-sobre {
    margin-left: 0px !important;
    margin-top: 0px !important;
  }

  .selo-container {
    margin-left: 0 !important;
    margin-top: -2rem;
  }

  .container-sobre-missao {
    flex-direction: column;
    padding: 0 30px;
  }
}

@media (max-width: 992px) {
  .slider_section-hero-sobre {
    padding: 50px 0 50px;
    margin-top: 0px !important;
  }

  .detail-box h1 {
    font-size: 48px !important;
  }

  .sobre-missao-section .row {
    flex-direction: column;
  }

  .servicos-card-container {
    margin-bottom: 40px;
  }

  .container-sobre-missao .col-lg-4 {
    margin-top: 20px;
    justify-content: center;
  }

  .container-sobre-missao .col-lg-4 img {
    width: 100%;
    height: auto;
    max-width: 370px;
  }
}

@media (max-width: 768px) {
  .slider_section-hero-sobre {
    padding: 30px 0 40px;
  }

  .detail-box {
    text-align: center !important;
  }

  .detail-box h1 {
    font-size: 38px !important;
    margin-bottom: 30px !important;
  }

  .paragraphy-sobre {
    font-size: 16px;
  }

  .paragraphy-sobre-banner-slide {
    font-size: 16px;
  }

  .servicos-card-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .servicos-card-text-content {
    margin-left: 0;
    margin-top: 20px;
  }

  .servicos-card-title {
    text-align: center;
  }

  .sobre-card-subtitle {
    text-align: center;
  }

  .carousel-inner img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 576px) {
  .slider_section-hero-sobre {
    padding: 20px 0 30px;
  }

  .detail-box h1 {
    font-size: 32px !important;
    margin-bottom: 20px !important;
  }

  .sobre-banner-bottom-content {
    padding: 30px 0;
  }

  .sobre-missao-section {
    padding: 40px 0;
  }

  .servicos-card-icon-circle {
    width: 80px;
    height: 80px;
  }

  .servicos-card-icon-img {
    width: 40px;
    height: 40px;
  }

  .container-sobre-missao {
    margin-bottom: 50px !important;
  }

  .carousel-indicators li {
    width: 10px;
    height: 10px;
    margin: 0 5px;
  }
}

/* Fix for animation on mobile */
@media (max-width: 768px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

.container-sobre-missao {
  display: flex;
  flex-direction: row;
  margin-bottom: 100px;
  padding: 0 15px;
}

.missao-valores-container {
  display: flex;
  flex-direction: column;
  width: 66.66%;
  padding-right: 30px;
}

.imagem-sobre-container {
  display: flex;
  justify-content: center;
  width: 33.33%;
}

.imagem-sobre {
  width: 370px;
  height: auto;
  max-width: 100%;
}

.servicos-card-container {
  display: flex;
  margin-bottom: 40px;
}

.servicos-card-text-content {
  margin-left: 20px;
}

.servicos-card-description {
  margin-top: 15px;
}

.sobre-card-subtitle {
  margin-top: 20px;
}

@media (max-width: 992px) {
  .container-sobre-missao {
    flex-direction: column;
    margin-left: 0px !important;
    margin-top: 0px !important;
  }

  .missao-valores-container {
    width: 100%;
    padding-right: 0;
  }

  .imagem-sobre-container {
    width: 100%;
  }

  .imagem-sobre {
    width: 100%;
    max-width: 370px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .servicos-card-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .servicos-card-text-content {
    margin-left: 0;
    margin-top: 20px;
  }

  .servicos-card-description {
    margin-top: 15px !important;
  }

  .sobre-card-subtitle {
    margin-top: 20px !important;
  }
}
