body {
  font-family: "Bahnschrift Condensed", Arial, sans-serif;
  color: #c7c7c7;
  line-height: 1.2;
  padding-top: 80px;
  text-align: justify;
  background-color: #f7f9fb;
  margin: 0;}
a {
  font-size: 16px;
  color: #000000;
  text-decoration: none;
  padding: 10px;
  font-weight: bold;}
img {
  height: 60px;
  padding-right: 10px;}
h1 {
  position: absolute;
  top: 30%;
  left: 15%;
  right: 15%;
  z-index: 2;
  font-size: 28px;
  color: #000000;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  text-align: center;
  font-weight: 500;
  line-height: 1.5;
}

nav {
  display: flex;
  align-items: center;}
.d1 {
  display: flex;
  justify-content: space-between;
  font-weight: bold;}
.d2 {
  display: flex;
  flex-direction: column;
  justify-content: center;}
.Np {
  font-size: 20px;
  margin: 0;
  margin-bottom: 2px;}
.Cargo {
  font-size: 17px;
  margin: 0;}
.anav {
  font-size: 18px;}
.navbar-brand {
  font-size: 18px;
  text-decoration: none;
}
.anav:hover {
  color: #ffffff;}
.nav-menu {
  padding-right: 5%;}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  background-color: #61ad74;
  padding: 0 10px;
  gap: 30px;
  z-index: 1000;}
.icon-close {
  display: none;}
.nav-menu.is-open .icon-close {
  display: block;}
.nav-menu.is-open .icon-hamburger {
  display: none;}
.menu-toggle {
  display: none;}
.menu-container {
  display: flex;
  flex-direction: column;}
.boton {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px 0;
}

.button {
  background: #f8f9fa;
  color: #333333;
  padding: 12px 30px;
  border-radius: 50px;
  border: 1px solid #e0e0e0;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.button:hover {
  background: #61ad74;
  color: #ffffff;
  border-color: #61ad74;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(97, 173, 116, 0.3);
}

.button:active {
  transform: translateY(0);
}

.animal-scope {
  position: relative;
  background-position: top;
  padding: 50% 0% 0% 0%;
}

.scroll-fade-bg {
  position: absolute;
  overflow: hidden;
  filter: saturate(135%);
  background-size: cover;}
.scroll-fade-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(247, 249, 251, 0) 60%,
    rgba(247, 249, 251, 0.5) 80%,
    rgba(247, 249, 251, 1) 100%
  );}

#sobre-content {
  position: relative;
  overflow: hidden;}
#sobre-content > .scroll-fade-bg {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: 50% 0%;
  background-size: cover;}
.bg-Mineria {
  background-image: url(../imagenes/Mineria.jpg);
  background-position: 70% 20%;}
.card {
  background: #ffffff;
  margin: 40px 7%;
  padding: 30px 10px;
  border-radius: 25px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
}


.reveal {
  opacity: 0;
  transform: translateY(30px);
  visibility: hidden;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), 
              opacity 0.8s ease, 
              visibility 0.8s;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.carousel {
  margin: 0;
  overflow: hidden;
}

.carousel img {
  height: 120px;
  object-fit: contain;
  margin: 0 40px;
  filter: grayscale(1) opacity(0.7);
  transition: all 0.3s ease;
}

.carousel img:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.1);
}

.espaciadorF {
  padding: 70px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 10%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 1) 100%
  );}
footer{
padding: 0% 0% 0% 0%;
    background: #000000;}
.bfooter {
  display: flex;
  flex-direction: row;
  justify-content: center;}
.pfooter {
  font-size: 12px;
  color: #c7c7c7;
  align-content: center;}
.pfooter:hover {
  color: #ffffff;}
.cfooter{
  font-size: 12px;
  color: #c7c7c7;
  display: flex;
  justify-content: center;
  padding-bottom: 2%;}
.footersvg{
  height: 40px;
  fill: #c7c7c7;}
.footersvg:hover {
  fill: #ffffff;}
.desktop-carousel-container {
  display: block;
}

.mobile-grid-container {
  display: none;
}

.card {
  background: #ffffff;
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
}

.card img {
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: all 0.4s ease;
}

.carousel img:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.08);}

@media (max-width: 1075px) {
  .nav-menu {
    position: relative;
    justify-content: space-between;}
  .nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;}
  .nav-menu a:hover {
    color: #ffffff;}
  .menu-toggle {
    display: block;
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1;}
  .menu-container {
    position: fixed;
    top: -400px;
    left: 0;
    width: 100%;
    height: 380px;
    background-color: #4e8b5d;
    transition: top 0.3s ease;}
  .menu-container.is-open {
    top: 0;}
  .menu-container ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding-top: 30px;}

  .desktop-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 810px) {
  h1 {
    top: 20%;
    font-size: 24px;} 
  .animal-scope, #sobre-content {
    background-position: 0% 0%;
    padding: 600px 0 0;
    display: block !important;
  }
  
  .desktop-carousel-container {
    display: none;
  }
  
  .mobile-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 7%;
    position: relative;
    z-index: 5;
  }

  .mobile-grid-container .card {
    height: 160px;
    padding: 20px;
  }

  .mobile-grid-container .card img {
    height: 120px;
    filter: grayscale(0) opacity(1);
  }

  .bfooter {
    flex-direction: column;
    align-items: center;}
}






