
.header__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.header {
  position: relative;
  overflow: hidden;
}


.header__bg img,
.header--section__bg img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}



.header--section {
    height: 600px;
}

@media only screen and (max-width: 767px) {
  .header--section {
    height: auto;
}
}


.parallax-img--lg {
  display: block;
}

  @media only screen and (max-width: 767px) {
  .parallax-img--lg {
    display: none;
  }
}

.parallax-img--sm {
  display: none;
}


@media only screen and (max-width: 767px) {
  .parallax-img--sm {
    display: block;
  }
}



.header__overlay {
  background-color: rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__logo {
  max-width: 200px;
}

@media only screen and (max-width: 767px) {

  .header__logo {
    max-width: 140px;
  }
}

.header__content {
  text-align: center;
  color: var(--color-white);
  padding: var(--spacing-md);
}

.header--section__content {
  text-align: left;
  max-width: var(--width-contet);
  padding: 0 1rem;
  margin: auto;
  color: white;

}
@media only screen and (max-width: 767px) {
  .header--section__content {
    padding: 0 3rem;
  }
}

.header__title {
  font-size: 6.5rem;
  font-weight: bold;
  font-style: italic;
  padding: 0 4% ;
  line-height: 1.1;
}


@media only screen and (max-width: 1200px) {
    .header__title {
      font-size: 4.5rem;
    }
}


@media only screen and (max-width: 767px) {
    .header__title {
      font-size: 2.5rem;
      line-height: 1.3;
    }
}

.section__title {
  text-align: center;
  max-width: var(--width-contet);
  margin: auto;
  margin-bottom: var(--spacing-md);
}
.section__title--left {
  text-align: left;
}

.challenges__grid,
.about__grid,
.contact__grid {
  display: grid;
  gap: var(--spacing-md);
}

.challenges__grid {
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--width-contet);
  margin: auto;
}

@media only screen and (max-width: 1200px) {
  .challenges__grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media only screen and (max-width: 767px) {
  .challenges__grid {
grid-template-columns: repeat(1, 1fr);
}
}



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

@media only screen and (max-width: 767px) {
  .challenges__grid--lg {
    grid-template-columns: repeat(1, 1fr);
  }
}

.section--contact__logo {
  width: 14rem;
  margin: auto;
  display: block;
}
.section__descript {
  text-align: center;
}

.contact__grid {
  max-width: var(--width-contet);
  margin: auto;
}

.contact__grid iframe {
  border: 0;
  width: 100%;
  height: 30rem;
}

@media only screen and (max-width: 767px) {
  .contact__grid iframe {
    height: 16rem;
  }
}



.grid-redes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 1rem;
  margin-top: 3rem;
}

@media only screen and (max-width: 767px) {
 
.grid-redes {
  grid-template-columns: repeat(1, 1fr);
 } 
}




.grid-redes--full {
  grid-template-columns: repeat(1, 1fr);
}

.grid-redes li {
  list-style: none;
  font-size: 1.5rem;
  transition: all ease .2s;
  line-height: 0;
  margin-bottom: .75rem;
  font-weight: bold;
}
.grid-redes li a{
  display: flex;
  align-items: center;
  color: var(--color-dark);
}

.grid-redes li i {
  font-size: 1.8rem;
  transition: all ease .2s;
}

.grid-redes li:hover {
  font-size: 2.2rem;
}

.grid-redes li:hover i{
  font-size: 2.9rem;
}

.fa-facebook-f {
  color: blue;
}
.fa-instagram {
  color: #ff00a9;
}


.grid-redes li  i{ 
margin-right: 1rem;
}


.challenges__grid .fa-solid {
  color: var(--color-primary);
  font-size: 2rem;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 29%;
  opacity: 0;
  transition: ease all .6s;

}

.challenges__grid .fa-solid--lg {
  font-size: 3rem;
  top: 39%;
}

.card {
  text-align: center;
}

.card__img {
  width: 100%;
}

.card__title {
  margin-top: var(--spacing-sm);
  font-weight: 600;
}

.contact__form input,
.contact__form textarea {
  display: block;
  width: 100%;
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-sm);
  background-color:  #e0e0e0;
  border: 0;
  font-size: 1rem;
}

.contact__form button {
  background: transparent;
  color: var(--color-primary);
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid var(--color-primary);
  border-radius: 0.3rem;
  cursor: pointer;
  font-size: 1rem;
  transition: ease all .4s;
}
.contact__form button:hover {
  background: var(--color-primary);
  color: white;
}

.btn {
  background: transparent;
  color: white;
  padding: .5rem 2rem;
  border: 2px solid white;
  border-radius: 0.3rem;
  cursor: pointer;
  font-size: 1.2rem;
  transition: ease all .4s;
  position: absolute;
  right: 10%;
  top: 7rem;
}
.btn:hover {
  background: white;
  color: white var(--color-primary);
}

@media only screen and (max-width: 767px) {
  .btn {
    font-size: 1rem;
    top: 3rem;
    right: 2rem;
  }
}

.highlight__content {
  background: linear-gradient(184deg,#714ea0 0%,#efbd3c 100%)!important;
  padding: 0 1rem;
}

.highlight__text {
  max-width: var(--width-contet);
  padding: var(--spacing-md);
  color: var(--color-dark);
  border-radius: 0.5rem;
  margin: auto;
}

.highlight__text h4 {
  font-size: 2.2rem;
  margin-bottom: 0;
}
@media only screen and (max-width: 767px) {
 
    .highlight__text h4 {
      font-size: 1.4rem;
      line-height: 1.4;
    } 
}

.highlight__text ul {
  padding: 0;
}

.highlight__text li {
  font-size: 1.6rem;
}

@media only screen and (max-width: 767px) {
  .highlight__text li {
    font-size: 1.2rem;
  } 
}


/* hack gallery  */
.gslide-description {
  display: none;
}

.gslide-image {
  max-width: var(--width-contet);
}

.glightbox{
  position: relative;
}  

.glightbox img{
  transition: ease all .4s;
}

.glightbox img:hover{
  opacity: .2;
}

.glightbox .fa-solid  {
  opacity: 0;
}
.glightbox:hover .fa-solid  {
  opacity: 1 ;
}


[data-aos="zoom-in-3d"] {
  transform: perspective(800px) rotateX(30deg) scale(0.8);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
  transform-style: preserve-3d; /* 👈 esto ayuda a reforzar el 3D */
}

[data-aos="zoom-in-3d"].aos-animate {
  transform: perspective(800px) rotateX(0deg) scale(1);
  opacity: 1;
}
