body {
  font-family: 'Roboto', sans-serif;
  background-image: url('../img_copae/7.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.5);
  display: flex;
  min-height: 100vh;
}

.header_section {
  background-color: #ffffff;
  font-family: "Poppins", sans-serif;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 0.5s forwards;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-item .nav-link {
  padding: 10px 15px;
  color: #000000;
  text-align: center;
  position: relative;
}

.navbar-nav .nav-item .nav-link::before {
  content: "";
  display: none;
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 30px;
  height: 4px;
  transform: translateX(-50%);
  background-color: #056e17;
  border-radius: 5px;
}

.navbar-nav .nav-item .nav-link:hover::before,
.navbar-nav .nav-item.active a::before {
  display: block;
}

.navbar-brand span {
  font-weight: bold;
  font-size: 24px;
  color: #000000;
}

.navbar-toggler {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
}

.navbar-toggler .fa-bars {
  font-size: 24px; 
  color: #000; 
}

.btnsesion {
  background-color: #f1f1f1;
  color: #000000;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  border: 1px solid #b6b6b6;
}

.btnsesion:hover {
  color: #ffffff;
  background-color: #36704f;
}

.btnsesion i {
  margin-right: 5px;
}

.main-content {
  width: 90%;
  max-width: 800px;
  margin: 100px auto 0;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 0.7s forwards;
}

.about_section{
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 50px auto;
  width: 90%;
  max-width: 800px;
}

.about_section h3{
  text-transform: uppercase;
  font-weight: bold;
  color: #000000;
  text-align: center;
  position: relative;
  font-size: 1.8rem;
}

.about_section h3::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 100px;
  height: 7px;
  transform: translateX(-50%);
  background-color: #056e17;
  border-radius: 15px;
}

.about-us {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 50px auto;
  width: 90%;
  max-width: 800px;
}

.about-us h3 {
  text-transform: uppercase;
  font-weight: bold;
  color: #000000;
  text-align: center;
  position: relative;
  font-size: 1.8rem;
}

.about-us h2 {
  text-transform: uppercase;
  font-weight: bold;
  color: #000000;
  text-align: center;
  position: relative;
  font-size: 1.8rem;
}

.about-us h2::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 100px;
  height: 7px;
  transform: translateX(-50%);
  background-color: #056e17;
  border-radius: 15px;
}

.about-us p {
  font-size: 1.125rem;
  text-align: justify;
  color: #333;
  line-height: 1.6;
}

.card {
  width: 90%;
  max-width: 800px;
  margin: 50px auto; 
  border: 1px solid #000000;
  border-radius: 15px;
  text-align: center;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 1s forwards;
}

.card h3 {
  text-transform: uppercase;
  font-weight: bold;
  color: #000000;
  text-align: center;
  position: relative;
  font-size: 1.8rem;
}

.card h3::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 100px;
  height: 7px;
  transform: translateX(-50%);
  background-color: #056e17;
  border-radius: 15px;
}

.card p {
  font-size: 1.125rem;
  text-align: justify;
  color: #333;
  line-height: 1.6;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem; 
  }

  p {
    font-size: 1rem; 
  }

  .btnsesion {
    padding: 8px 16px;
    font-size: 0.875rem;
  }
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 1.75rem; 
  }

  h2 {
    font-size: 1.5rem; 
  }

  h3 {
    font-size: 1.25rem; 
  }

  p {
    font-size: 0.9rem; 
  }

  .btnsesion {
    padding: 5px 10px;
    font-size: 0.75rem; 
  }
}

@media screen and (max-width: 391px) {
  h1 {
    font-size: 1.5rem; 
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1rem; 
  }

  p {
    font-size: 0.8rem; 
  }
}