* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* --------------- AREA HEADER --------------- */
.header {
  width: 100%;
  background-color: #145a2f;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar img {
  height: 45px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.navbar img:hover {
  transform: scale(1.05);
}

.menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.menu a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.menu a:hover {
  color: #ffd700;
  transform: translateY(-2px);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
  z-index: 10;
}

.dropdown-content a {
  color: #145a2f;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #3c6e4f;
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.login {
  display: flex;
  align-items: center;
  gap: 16px;
}

.login a {
  text-decoration: none;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.login a:first-child {
  border: 1px solid #ffffff;
  color: #ffffff;
}

.login a:first-child:hover {
  background-color: #ffffff;
  color: #145a2f;
}

.login a:last-child {
  background-color: #ffffff;
  color: #145a2f;
  border: 1px solid transparent;
}

.login a:last-child:hover {
  background-color: #ffd700;
  color: #145a2f;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle img {
  width: 30px;
  height: 30px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background-color: #145a2f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  transition: left 0.4s ease;
  z-index: 999;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu a {
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: #ffd700;
}

.mobile-menu .login-mobile {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.mobile-menu .login-mobile a {
  text-decoration: none;
  font-weight: 500;
  padding: 10px 25px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.mobile-menu .login-mobile a:first-child {
  border: 1px solid #ffd700;
  color: #ffffff;
}

.mobile-menu .login-mobile a:first-child:hover {
  background-color: #ffd700;
  color: #145a2f;
}

.mobile-menu .login-mobile a:last-child {
  background-color: #ffffff;
  color: #145a2f;
  border: 1px solid transparent;
}

.mobile-menu .login-mobile a:last-child:hover {
  background-color: #ffd700;
  color: #145a2f;
}

.mobile-menu .close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  cursor: pointer;
}

.mobile-menu .close-btn img {
  width: 28px;
}

/* --------------- RESPONSIVIDADE --------------- */
@media (max-width: 900px) {
  .menu,
  .login {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* --------------- AREA SLIDER --------------- */
.slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.4);
  padding: 30px 50px;
  border-radius: 12px;
  max-width: 700px;
}

.slide-info h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.slide-info p {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.slide-info .btn {
  display: inline-block;
  background-color: #145a2f;
  color: #fff;
  padding: 10px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.slide-info .btn:hover {
  background-color: #ffd700;
  color: #145a2f;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background-color: #ffd700;
  transform: translateY(-50%) scale(1.1);
}

.slider-btn::before,
.slider-btn::after,
.arrow::before,
.arrow::after {
  content: none !important;
}

.arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.arrow-left {
  border-right: 12px solid #145a2f;
}

.arrow-right {
  border-left: 12px solid #145a2f;
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 15;
  background: rgba(0, 0, 0, 0.3); /* leve fundo para destaque */
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}

.dots span {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dots span.active {
  background-color: #ffd700;
  width: 14px;
  height: 14px;
  outline: 2px solid #ffd700;
  outline-offset: 2px; 
}

/* --------------- RESPONSIVIDADE --------------- */
@media (max-width: 768px) {
  .slider {
    height: 60vh;
  }

  .slide-info {
    padding: 20px;
    max-width: 90%;
  }

  .slide-info h2 {
    font-size: 22px;
  }

  .slide-info p {
    font-size: 14px;
  }

  .slider .arrow {
    font-size: 30px;
  }
}

/* --------------- AREA DE CARDS-INFO --------------- */
.producao {
  text-align: center;
  padding: 60px 0;
}

.producao h2 {
  font-size: 36px;
  color: #145a2f;
  margin-bottom: 50px;
  font-weight: 700;
}

.producao-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; 
}

.producao-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producao-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.producao-img {
  position: relative;
  overflow: hidden;
}

.producao-img img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.producao-img h3 {
  position: absolute;
  bottom: 10px;
  left: 15px;
  right: 15px;
  background: rgba(20, 90, 47, 0.85);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.producao-card ul {
  margin: 15px 20px;
  padding-left: 20px;
}

.producao-card li {
  margin-bottom: 8px;
  line-height: 1.5;
  color: #333;
}

.producao-card a {
  display: inline-block;
  margin: 0 20px 20px;
  color: #145a2f;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.producao-card a:hover {
  color: #ffd700;
}

/* --------------- RESPONSIVIDADE --------------- */
@media (max-width: 1024px) {
  .producao-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
  }
}

@media (max-width: 700px) {
  .producao-container {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

/*-------------- AREA DE INFO-CONTATO---------------*/
.contact-section {
  background-color: #e8e3de;
  padding: 60px 0;
}

.contact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.contact-text {
  flex: 1;
  text-align: left;
}

.contact-text h2 {
  font-size: 40px;
  color: #000;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-text p {
  font-size: 17px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
}

.contact-btn {
  display: inline-block;
  background-color: #145a2f;
  color: #fff;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #ffd700;
  color: #000000;
}

.contact-video {
  flex: 1;
  display: flex;
  justify-content: center;
}

.contact-video video {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* --------------- RESPONSIVIDADE --------------- */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-text {
    text-align: center;
  }

  .contact-video video {
    max-width: 100%;
  }
}

/*-------------- AREA DE MISSAO---------------*/
.info-cards {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.info-section-title {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 32px;
  color: #145a2f;
  font-weight: 700;
  margin-bottom: 50px;
}

.info-card {
  background: #fff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.info-card::before,
.info-card::after {
  content: "";
  position: absolute;
  top: 0;
  width: 10px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(20, 90, 47, 0.2), rgba(20, 90, 47, 0));
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.info-card::before {
  left: 0;
}

.info-card::after {
  right: 0;
  transform: rotateY(180deg);
}

.info-card:hover {
  background-color: #ffd700;
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.info-card:hover::before,
.info-card:hover::after {
  opacity: 1;
  background: linear-gradient(to bottom, rgba(20, 90, 47, 0.4), rgba(20, 90, 47, 0));
}

.info-bloco {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.info-numero {
  font-size: 65px;
  font-weight: 900;
  color: #145a2f;
  line-height: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}

.info-titulo {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin: 5px 0;
  transition: color 0.3s ease;
}

.info-texto {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

.info-card:hover .info-numero {
  color: #145a2f;
  transform: scale(1.05);
}

.info-card:hover .info-titulo,
.info-card:hover .info-texto {
  color: #000;
}

/* --------------- RESPONSIVIDADE --------------- */
@media (max-width: 992px) {
  .info-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-numero {
    font-size: 55px;
  }
}

@media (max-width: 700px) {
  .info-cards {
    grid-template-columns: 1fr;
  }

  .info-numero {
    font-size: 50px;
  }

  .info-titulo {
    font-size: 20px;
  }

  .info-texto {
    font-size: 14px;
  }
}

/*------------------- AREA DE PARCEIROS ---------------- */
.parceiros {
  background-color: #fafafa;
  padding: 60px 0;
  text-align: center;
}

.parceiros h2 {
  font-size: 36px;
  color: #145a2f;
  margin-bottom: 40px;
  font-weight: 700;
}

.parceiros-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.parceiros-container {
  display: flex;
  align-items: center;
  gap: 80px;
  animation: scroll-parceiros 25s linear infinite;
}

.parceiro img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: none;
}

.parceiro img:hover {
  transform: scale(1.1);
}

@keyframes scroll-parceiros {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/*------------------- AREA DE RODAPE ---------------- */
.footer {
  background-color: #e8f6ec;
  padding: 60px 0 0 0;
  font-family: "Poppins", sans-serif;
  color: #111;
  border-radius: 20px 20px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-about {
  flex: 1 1 320px;
  min-width: 250px;
}

.footer-logo {
  width: 180px;
  margin-bottom: 15px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.6;
  color: #222;
}

.footer-links {
  flex: 1 1 220px;
  min-width: 180px;
}

.footer-links h3 {
  color: #145a2f;
    font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #111;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #145a2f;
}

.footer-newsletter {
  flex: 1 1 320px;
  min-width: 250px;
}

.footer-newsletter h3 {
  color: #145a2f;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
}

.footer-newsletter p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #222;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

.newsletter-form input:focus {
  border-color: #145a2f;
}

.newsletter-form button {
  background-color: #145a2f;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #ffd700;
  color: #000000;
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid #145a2f;
  background-color: #145a2f;
  padding: 20px 10px;
  text-align: center;
  font-size: 14px;
  color: #ffffff;
}

.footer-bottom a {
  color: #ffd700;
  text-decoration: none;
}

.footer-bottom a:hover {
    color: #87e6ad;
}

/* --------------- RESPONSIVIDADE --------------- */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-newsletter {
    width: 100%;
  }

  .newsletter-form button {
    width: 100%;
  }

  .footer-bottom {
    text-align: center;
  }
}

/* --------------- ÁREA DE PESQUISA ---------------*/
.footer-search {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ffffff15, #ffffff25);
  border: 1px solid rgba(20, 90, 47, 0.6);
  border-radius: 14px;
  padding: 8px 14px;
  margin-top: 20px;
  max-width: 340px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(20, 90, 47, 0.25),
              inset 0 0 12px rgba(255, 215, 0, 0.15);
  transition: all 0.4s ease;
}

.footer-search:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3),
              0 0 40px rgba(20, 90, 47, 0.3);
}

.footer-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: #0c3015;
  font-family: "Poppins", sans-serif;
  background: transparent;
  letter-spacing: 0.5px;
  padding: 6px;
}

.footer-search input::placeholder {
  color: #145a2f;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.footer-search input:focus::placeholder {
  opacity: 0.3;
  transform: translateX(5px);
}

.footer-search button {
  background: linear-gradient(135deg, #145a2f, #1b7a3f);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(20, 90, 47, 0.5);
}

.footer-search button:hover {
  background: linear-gradient(135deg, #ffd700, #ffe56b);
  color: #000;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6),
              0 0 25px rgba(255, 215, 0, 0.4);
  transform: rotate(5deg) scale(1.1);
}

#footer-search-results {
  display: none;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 90, 47, 0.4);
  border-radius: 12px;
  margin-top: 12px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  max-height: 240px;
  overflow-y: auto;
  position: relative;
  z-index: 50;
  animation: glowIn 0.5s ease forwards;
}

#footer-search-results.show {
  display: block;
}

#footer-search-results div {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  font-weight: 500;
  border-radius: 6px;
}

#footer-search-results div:hover {
  background-color: #e8f6ec;
  transform: translateX(4px);
  box-shadow: 0 0 8px rgba(20, 90, 47, 0.2);
}

@keyframes glowIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes inputGlow {
  0% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(20, 90, 47, 0.5);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  }
}

.footer-search input:focus {
  animation: inputGlow 1.5s infinite alternate;
}

@media (max-width: 900px) {
  .footer-search {
    width: 100%;
    max-width: none;
  }
  .footer-search button {
    padding: 10px;
  }
}

/* --------------- AREA POPUP --------------- */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 400px;
  background-color: #ffffff;
  color: #333;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 20px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  z-index: 9999;
  animation: slideUp 0.5s ease forwards;
}

.cookie-popup p {
  margin: 0 0 15px 0;
}

.cookie-popup a {
  color: #145a2f;
  text-decoration: none;
  font-weight: 600;
}

.cookie-popup a:hover {
  text-decoration: underline;
}

.cookie-popup button {
  background-color: #145a2f;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  float: right;
  transition: all 0.3s ease;
}

.cookie-popup button:hover {
  background-color: #ffd700;
  color: #000;
  transform: scale(1.05);
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .cookie-popup {
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
  }

  .cookie-popup button {
    float: none;
    width: 100%;
  }
}

/* -------------- BOTÃO BACK TO TOP -------------- */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #3c6e4f;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 999;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: fadeUp 0.4s ease forwards;
}

@keyframes fadeUp {
  from {
    transform: translateY(15px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.back-to-top:hover {
  background-color: #ffd700;
  color: #000000;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

.back-to-top:active {
  background-color: #ffd700;
  color: #000000;
  transform: scale(0.9);
}

.back-to-top i {
  transition: transform 0.5s ease, color 0.5s ease;
}

.back-to-top.show i {
  animation: arrowAppear 0.6s ease;
}

@keyframes arrowAppear {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------- AREA DE CHATBOX --------------- */
:root {
  --primary-color: #145a2f;
  --text-color: #ffffff;
  --secondary-color: #ffd700;
  --text-color: #000000;
}

.chatbox-button {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  z-index: 1000;
}
.chatbox-button:hover {
  background-color: var(--secondary-color);
  color: #000;
  transform: scale(1.1);
}

.chatbox {
  position: fixed;
  bottom: 90px;
  left: 25px;
  width: 340px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 999;
}
.chatbox.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.chatbox-header {
  background-color: var(--primary-color);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-radius: 10px 10px 0 0;
}

.chatbox-header-left,
.chatbox-header-center,
.chatbox-header-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbox-header-left {
  flex: 1;
  justify-content: flex-start;
}
.chatbox-header-center {
  flex: 1;
  justify-content: center;
}
.chatbox-header-right {
  flex: 1;
  justify-content: flex-end;
}

.chatbox-home,
.chatbox-search {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}
.chatbox-home:hover,
.chatbox-search:hover {
  transform: scale(1.1);
}

.chatbox-logo {
  height: 38px;
  width: auto;
}

.chatbox-body {
  padding: 16px;
  background-color: #fff;
  overflow-y: auto;
  max-height: 460px;
}

.chatbox-welcome-title {
  font-size: 1.8rem;
  text-align: left; 
  color: #2d5138;
  font-weight: 800;
  margin: 30px 0 25px;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chatbox-start {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
  margin: 0 auto 25px;
  width: 100%;
}
.chatbox-start:hover {
  background-color: #ffd700;
  color: #000000;
  transform: scale(1.0);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  max-height: 360px;
  overflow-y: auto;
}
.bot-message {
  align-self: flex-start;
  background: #f0f4f8;
  color: #333;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  max-width: 80%;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.user-message {
  align-self: flex-end;
  background: #d7f8e4;
  color: #1b5e20;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  max-width: 80%;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #eee;
  padding: 8px 10px;
  background: #fafafa;
}
.chat-input-area input {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}
.chat-input-area input:focus {
  border-color: var(--primary-color);
}
.chat-input-area button {
  background-color: var(--primary-color);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.chat-input-area button:hover {
  background-color: #00a656;
  transform: scale(1.05);
}

.faq-section {
  text-align: left;
  max-width: 90%;
  margin: 0 auto;
}
.faq-section h4 {
  margin-top: 18px;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 15px;
  color: var(--primary-color);
}
.faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 8px 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}
.faq-question:hover {
  color: var(--primary-color);
}
.faq-question i {
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
  transform: rotate(90deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  font-size: 14px;
  color: #555;
  padding-left: 4px;
}
.faq-item.active .faq-answer {
  max-height: 100px;
  opacity: 1;
  margin-top: 6px;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
.chat-messages::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

@media (max-width: 480px) {
  .chatbox {
    width: 90%;
    left: 5%;
  }
  .chatbox-header {
    padding: 12px 10px;
  }
  .chatbox-welcome-title {
    font-size: 1.5rem;
  }
}

.chatbox-search-container {
  display: none;
  background: #f7f7f7;
  padding: 10px 12px;
  border-bottom: 1px solid #e0e0e0;
  animation: fadeIn 0.3s ease;
}

.chatbox-search-container.active {
  display: block;
}

.chatbox-search-container input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.chatbox-search-container input:focus {
  border-color: var(--primary-color);
}

.chatbox-search:hover {
  color: #ffd700;
  transform: scale(1.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chatbox-search-container {
  display: none;
  background: #f5f5f5;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  animation: slideDown 0.3s ease forwards;
}

.chatbox-search-container.show {
  display: block;
}

.chatbox-search-container input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 14px;
}

.chatbox-search-container input:focus {
  border-color: #007a33;
  box-shadow: 0 0 4px rgba(0, 122, 51, 0.4);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #004d26;
  transition: color 0.2s;
}

.faq-question:hover {
  color: #007a33;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  opacity: 1;
  margin-top: 5px;
}

.chatbox-search-container {
  display: none;
  width: 100%;
  padding: 8px 12px;
  background: #f9f9f9;
  border-bottom: 1px solid #ccc;
  animation: fadeIn 0.3s ease-in-out;
}

.chatbox-search-container.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.chatbox-search-container input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 25px;
  outline: none;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
  background-color: #fff;
}

.chatbox-search-container input:focus {
  border-color: #007a33;
  box-shadow: 0 0 4px rgba(0, 122, 51, 0.4);
}

.chatbox-search {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s ease;
}

.chatbox-search:hover {
  color: #ffd700;
  background-color: transparent;
  transform: scale(1.1);
}

.chatbox-search.active {
  color: #ffd700;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chatbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #004d26;
  color: white;
  padding: 10px 15px;
  border-radius: 10px 10px 0 0;
  position: relative;
}

.chatbox-logo {
  height: 40px;
  object-fit: contain;
}

.chatbox-body {
  background: #ffffff;
  padding: 15px;
  overflow-y: auto;
  max-height: 400px;
  border-radius: 0 0 10px 10px;
}

.faq-item {
  background: #f7f7f7;
  border-radius: 10px;
  padding: 10px 15px;
  margin: 6px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.faq-item:hover {
  background: #e6ffe6;
  border-left: 4px solid #007a33;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #004d26;
}

.faq-answer {
  display: none;
  margin-top: 6px;
  font-size: 14px;
  color: #333;
}

.faq-item.active .faq-answer {
  display: block;
}

.chatbox-footer {
  background: #004d26;
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 0 0 10px 10px;
}

.chatbox-footer a {
  color: #f7f7f7;
  text-decoration: none;
  font-weight: 350;
  transition: color 0.3s ease;
}

.chatbox-footer a:hover {
  color: #ffd700;
}

:root {
    --primary-color: #145a2f;
    --secondary-color: #ffd700;
    --text-dark: #000000;
    --text-light: #ffffff;
}

.custom-interaction-block {
    background-color: #f0f0f0;
    border-radius: 12px 12px 12px 4px; 
    padding: 15px; 
    margin-top: 10px;
    margin-bottom: 10px;
    max-width: 90%; 
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 12px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.08); 
    color: var(--text-dark);
}

.custom-interaction-block p {
    margin: 0; 
    font-size: 15px;
}

.chat-buttons {
    display: flex;
    gap: 10px; 
    margin-top: 10px;
    justify-content: flex-start; 
}

.chat-button-option {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 1px solid var(--primary-color); 
    padding: 8px 18px; 
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease-in-out; 
    box-shadow: 0 1px 2px rgba(0,0,0,0.05); 
}

.chat-button-option:hover {
    background-color: #e6c500;
    color: #000000;
    border-color: #e6c500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chat-button-option:active {
    background-color: #ccb000; 
    border-color: #ccb000;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 10px; 
    width: 100%;
    margin-top: 10px;
}

.support-form input,
.support-form textarea {
    padding: 10px 12px; 
    border: 1px solid #ced4da; 
    border-radius: 8px; 
    font-size: 15px;
    color: var(--text-dark);
    background-color: #fff; 
    width: calc(100% - 24px); 
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05); 
    transition: border-color 0.2s, box-shadow 0.2s;
}

.support-form input:focus,
.support-form textarea:focus {
    border-color: var(--primary-color); 
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(20, 90, 47, 0.25); /* Sombra suave com a Primary Color */
}

.support-form textarea {
    resize: vertical; 
    min-height: 80px; 
    font-family: inherit; 
}

.chat-button-send {
    background-color: var(--primary-color); 
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    border-radius: 8px; 
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.2s, box-shadow 0.2s;
    margin-top: 10px; 
    align-self: flex-end; 
    width: fit-content; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chat-button-send:hover {
    background-color: #ffd700;
    color: #000000; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.chat-button-send:active {
    background-color: #082813; 
}

.chat-input-area {
    display: flex; 
}

.chat-input-area[style*="display: none"] {
    display: none !important; 
}
/* ===============================
      CreatedBy Isac Pelembe    
   =============================== */