.solutions__hero {
  position: relative;
  height: 80vh;
  background-image: url("../../public/images/solutions/solutions-hero-bg.png");
  background-size: cover;
  background-position: center;
}

.solutions__hero::before {
  content: "";
  position: absolute;
  top: 0%;
  left: 85%;
  width: 20%;
  height: 100%;
  background-image: url("../../public/images/decoration/hero-decoration.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.solutions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background-color: rgba(0, 109, 103, 0.85);
  z-index: 2;
}

.solutions__hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 15%;
  color: #fff;
}

.solutions__hero-text {
  max-width: 600px;
  position: relative;
}

.solutions__hero-text::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(121, 195, 102, 0.35) 0%,
    rgba(121, 195, 102, 0.3) 25%,
    rgba(121, 195, 102, 0.25) 35%,
    rgba(121, 195, 102, 0.2) 45%,
    transparent 60%
  );
  pointer-events: none;
  z-index: -1;
  filter: blur(10px);
}

.solutions__hero h1 {
  font-family: "Gilroy", sans-serif;
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.solutions__hero-subtitle {
  font-family: "Hattinant", sans-serif;
  font-size: 5rem;
  font-weight: 300;
  line-height: 1.4;
  position: relative;
  display: inline-block;
  padding: 0 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.solutions__hero-subtitle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 60%;
  background-color: rgba(065, 173, 073, 1);
  transform: translateY(-50%);
  z-index: -1;
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  animation: highlightIn 0.8s ease forwards 0.4s;
}

@keyframes highlightIn {
  to {
    opacity: 1;
    transform: translateY(-50%) scaleX(1);
  }
}

.solutions__hero-subtitle.visible::before {
  opacity: 1;
  transform: translateY(-50%) scaleX(1);
}

.consultoria-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.consultoria-title-wrapper {
  text-align: center;
  margin-bottom: 3rem;
}

.consultoria-title {
  font-family: "Gilroy", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.consultoria-title span {
  font-family: "Hattinant", sans-serif;
  font-size: 3rem;
  font-weight: 500;
  color: #000;
  line-height: 1;
  position: relative;
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0 0.5rem;
}

.consultoria-title span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 60%;
  background-color: #41ad49;
  transform: translateY(-50%);
  z-index: -1;
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  animation: highlightIn 0.8s ease forwards 0.4s;
}

.consultoria__solutions-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.solutions-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.solutions-image .decoration-dots {
  position: absolute;
  top: 60%;
  left: 80%;
  width: 350px;
  background-image: url("../../public/images/decoration/hero-decoration.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.solutions-text {
  padding-right: 2rem;
}

.solutions-text p {
  font-family: "Gilroy", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 1.5rem;
}

.solutions-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .about__solutions-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .solutions-text {
    padding-right: 0;
    text-align: center;
  }

  .solutions-image {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .projects__solutions-solutions-text p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .monitoring-title {
    font-size: 1.75rem;
  }

  .monitoring-title span {
    font-size: 2rem;
  }
}

.projects-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background-color: rgb(252, 175, 38);
}

.projects-title-wrapper {
  text-align: center;
  margin-bottom: 3rem;
}

.projects-title {
  font-family: "Gilroy", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.projects-title span {
  font-family: "Hattinant", sans-serif;
  font-size: 3rem;
  font-weight: 500;
  color: #000;
  line-height: 1;
  position: relative;
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0 0.5rem;
}

.projects-title span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 60%;
  background-color: #fff200;
  transform: translateY(-50%);
  z-index: -1;
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  animation: highlightIn 0.8s ease forwards 0.4s;
}

.projects__solutions-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.projects__solutions-solutions-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.projects__solutions-solutions-image .decoration-dots {
  position: absolute;
  top: 50%;
  left: -5%;
  width: 240px;
  height: 240px;
  background-image: url("../../public/images/decoration/ebook-decoration.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.projects__solutions-solutions-text {
  padding-right: 2rem;
}

.projects__solutions-solutions-text p {
  font-family: "Gilroy", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #000;
  margin-bottom: 1.5rem;
}

.projects__solutions-solutions-text p:last-child {
  margin-bottom: 0;
}

.projects__solutions-after-text {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem;
  display: flex;
  align-items: center;
}

.projects__solutions-after-text p {
  font-family: "Gilroy", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #000;
  margin-bottom: 1.5rem;
}

.projects__galery {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem 3rem 3rem;
}

.monitoring-section {
  padding: 4rem 0 6rem 0;
  max-width: 1400px;
  margin: 0 auto;
}

.monitoring-title-wrapper {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 3rem auto;
}

.monitoring-title {
  font-family: "Gilroy", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.monitoring-title span {
  font-family: "Hattinant", sans-serif;
  font-size: 4rem;
  font-weight: 500;
  color: #000;
  line-height: 1;
  position: relative;
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0 0.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.monitoring-title span.visible {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.monitoring-title span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 60%;
  background-color: #2ecc40;
  transform: translateY(-50%);
  z-index: -1;
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
}

.monitoring-title span.visible::before {
  animation: highlightIn 0.8s ease forwards 0.4s;
}

@keyframes highlightIn {
  from {
    opacity: 0;
    transform: translateY(-50%) scaleX(0);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scaleX(1);
  }
}

.monitoring-section {
  padding: 5rem 0;
  position: relative;
}

.monitoring__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-left: 15%;
}

.monitoring__content-left {
  position: relative;
  z-index: 2;
}

.monitoring__content-left .description {
  font-family: "Gilroy", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 2rem;
  max-width: 500px;
}

.monitoring__actions {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-direction: column;
}

.monitoring__actions .btn-know-more {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background-color: #ffd700;
  color: #333;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: "Gilroy", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.2);
}

.monitoring__actions .btn-know-more span {
  display: flex;
  background: #fff;
  width: 34px;
  height: 34px;
  padding: 0.5rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.monitoring__actions .btn-know-more span img {
  width: 18px;
  height: auto;
}

.monitoring__actions .btn-know-more:hover {
  background-color: #ffc700;
  transform: translateY(-2px);
}

.monitoring__content-right .decoration-dots {
  position: absolute;
  top: 50%;
  right: -10%;
  width: 320px;
  height: 320px;
  background-image: url("../../public/images/decoration/hero-decoration.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Improved responsive styles for monitoring section */
@media (max-width: 1200px) {
  .monitoring__content {
    padding-left: 5%;
    max-width: 1200px;
  }

  .monitoring__content-right .decoration-dots {
    right: -5%;
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 992px) {
  .monitoring-section {
    padding: 4rem 0;
  }

  .monitoring__content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .monitoring__content-left {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    order: 2; /* Move text below image on tablet */
  }

  .monitoring__content-left p {
    margin: 0 auto 2rem;
    max-width: 100%;
  }

  .monitoring__actions {
    align-items: center;
    flex-direction: row;
    justify-content: center;
    margin-top: 2rem;
  }

  .monitoring__content-right {
    max-width: 600px;
    margin: 0 auto;
    order: 1; /* Move image above text on tablet */
  }

  .monitoring__content-right .decoration-dots {
    display: none;
  }

  .monitoring-title {
    font-size: 2.5rem;
  }

  .monitoring-title span {
    font-size: 3rem;
    margin: 0.5rem 0 0;
  }

  .monitoring-title-wrapper {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .monitoring-section {
    padding: 3rem 0;
  }

  .monitoring-title-wrapper {
    max-width: 90%;
  }

  .monitoring-title {
    font-size: 2rem;
  }

  .monitoring-title span {
    font-size: 2.5rem;
    display: block;
  }

  .monitoring__content {
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .monitoring__content-left p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .monitoring__actions {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .monitoring__actions .btn-know-more {
    font-size: 1.1rem;
    padding: 0.4rem 0.4rem 0.4rem 1.2rem;
  }

  .monitoring__actions .btn-know-more span {
    width: 28px;
    height: 28px;
  }

  .monitoring__actions .btn-know-more span img {
    width: 14px;
  }

  .image-wrapper {
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .monitoring-section {
    padding: 2.5rem 0;
  }

  .monitoring-title {
    font-size: 1.75rem;
  }

  .monitoring-title span {
    font-size: 2rem;
  }

  .monitoring__content {
    padding: 0 1rem;
  }

  .monitoring__content-left {
    padding: 0;
  }

  .monitoring__actions .btn-know-more {
    width: 100%;
    justify-content: space-between;
    padding: 0.4rem 0.4rem 0.4rem 1rem;
    font-size: 1rem;
  }
}

/* Improved responsive styles for projects section */
@media (max-width: 1200px) {
  .projects__solutions-content {
    gap: 3rem;
    padding: 0 3rem;
  }

  .projects__solutions-solutions-image .decoration-dots {
    width: 180px;
    height: 180px;
    left: -3%;
  }

  .projects__galery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .projects-section {
    padding: 4rem 0;
  }

  .projects__solutions-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 2rem;
  }

  .projects__solutions-solutions-text {
    padding-right: 0;
    text-align: center;
    order: 2; /* Text below image */
  }

  .projects__solutions-solutions-image {
    max-width: 600px;
    margin: 0 auto;
    order: 1; /* Image above text */
  }

  .projects__solutions-solutions-image .decoration-dots {
    display: none;
  }

  .projects__solutions-after-text {
    padding: 2rem;
    text-align: center;
  }

  .projects__galery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 2rem 2rem;
  }

  .projects-title-wrapper {
    margin-bottom: 2rem;
  }

  .services-title span {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .projects-section {
    padding: 3rem 0;
  }

  .projects__solutions-content {
    padding: 0 1.5rem;
    gap: 2rem;
  }

  .projects__solutions-solutions-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .projects__solutions-after-text {
    padding: 1.5rem;
  }

  .projects__solutions-after-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .projects__galery {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
  }

  .services-title span {
    font-size: 2.5rem;
  }

  /* Modal adjustments for mobile */
  .modal-content {
    max-width: 95%;
  }

  .modal-close {
    font-size: 2rem;
    top: -2.5rem;
    right: 0;
  }
}

@media (max-width: 480px) {
  .projects-section {
    padding: 2.5rem 0;
  }

  .projects__solutions-content {
    padding: 0 1rem;
  }

  .projects__solutions-after-text {
    padding: 1.5rem 1rem;
  }

  .projects__galery {
    padding: 0 1rem 1.5rem;
  }

  .services-title span {
    font-size: 2rem;
  }

  /* Fix modal for very small screens */
  .modal {
    padding: 0.75rem;
  }

  .modal-close {
    top: -2rem;
    font-size: 1.75rem;
  }
}

/* Botão Ver Mais Cursos */
.cursos-ver-mais-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 20px;
  position: relative;
  z-index: 10;
}

.btn-ver-mais {
  padding: 12px 24px;
  background-color: #57ba47;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  z-index: 10;
}

.btn-ver-mais:hover {
  background-color: #489e3b;
}

/* Classe para cursos ocultos */
.curso-oculto {
  display: none !important;
}

/* Animação para os cards que aparecem */
.course-card {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.curso-oculto.mostrar {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}
