@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

body{
    background-color: #F2F2EB;
}
/* Animacion de entrada */
.header-container {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.start-button {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #F28E13; 
    color: #F2F2EB;
    border: none;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    cursor: pointer;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    margin-top: 1.5rem;
    transition: background 0.2s;
}

.start-button:hover {
    background: #ffab45; 
}

/* Titulos y subtitulos */
.titulo{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #798C35;
    font-size: 65px;
    font-weight: bold;
}

.subtitulo{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #798C35;
    font-size: 30px;
}


.subtitulo-pagina{
  animation: pulseAnim 1.2s ease-in-out infinite;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #798C35;
  font-size: 30px;
}

@keyframes pulseAnim {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

.parrafo-objetivo{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #798C35;
    font-size: 20px;
    line-height: 1.6;
    margin-top: 1rem;
    text-align: justify;
    padding-right: 5rem; 
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-text {
    flex: 1;
    padding-left: 5rem; 
}

.content-text {
    flex: 1;
    padding-left: 5rem; 
}

.logo {
    width: 500px; 
    height: auto;
}

/* Seccion objetivo */

.content-objetivo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.content-text-objetivo {
    flex: 1;
    padding-left: 5rem; 
}

.img_objetivo { 
    width: 400px;
    height: auto;
    padding-right: 75px;
}


/* Ajustes para móviles */
@media (max-width: 600px) {

  .header-container,
  .content,
  .content-objetivo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Para los textos */
  .header-text,
  .content-text,
  .content-text-objetivo {
    padding-left: 0;
  }

  .parrafo-objetivo {
    padding-right: 0;
    margin: auto;
  }

  /* Para las imágenes */
  .logo {
    max-width: 60%; 
    height: auto;
  }
    .img_objetivo {
        max-width: 60%; 
        height: auto;
        padding-right: 0; 
        margin-top: 1rem; 
    }

    .card {
    flex-direction: column;      
    text-align: center;   
  }

  .card-content {
    order: 1;   
  }

  .card-image {
    order: 2; 
    max-width: 80%; 
    margin: 1rem 0;
  }

  .card-button {
    order: 3;  
    width: 100%; 
    margin-top: 1rem;
  }
}

/* Estilos de navegación */
nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 1rem 2rem 1rem 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.2s;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #798C35;
}


nav ul li:last-child a {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #F28E13;
    color: #F2F2EB;
    border: none;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    cursor: pointer;
    border-radius: 10px;
}

nav ul li:last-child a:hover {
    background: #ffab45; 
}

.footer {
    text-align: center;
    height: 100px;
    background: #ffab45; 
    color: #F2F2EB;
    position: relative;
    bottom: 0;
    width: 100%;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Estilos de las tarjetas */
.cards-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9f3;   
  border-radius: 20px;
  padding: 1.5rem;
  max-width: 700px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  gap: 1rem;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card-content {
  flex: 1;
}

.card-icon {
  font-size: 24px;
  color: #798C35;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.5rem;
  color: #798C35;
  margin: 0.5rem 0;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
}

.card-text {
  font-size: 0.95rem;
  color: #798C35;
  margin-bottom: 1rem;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card-button {
  background: #dfe6cf;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  color: #798C35;
  transition: 0.3s;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card-button:hover {
  background: #cfd8b6;
}

.card-image {
  flex: 1;
  max-width: 250px;
  border-radius: 12px;
  object-fit: cover;
}

.item1, .item2, .item3 {
  position: absolute;
  background-color: transparent;
  left: calc(50% - (var(--size) / 2));
  top: calc(50% - (var(--size) / 2));
  height: var(--size);
  width: var(--size);
  border-radius: 50%;
}

.loader .item1 {
  --size: 90px;
  animation: size1_1 2.5s infinite alternate;
  z-index: 1;
}

.loader .item2 {
  --size: 60px;
  animation: size1_2 2.5s infinite alternate;
  z-index: 2;
}

.loader .item3 {
  --size: 30px;
  animation: size1_3 2.5s infinite alternate;
  z-index: 3;
}

@keyframes size1_1 {
  0%,
  10% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
    box-shadow: 8px 8px 14px #c5c5c5, -8px -8px 14px #ffffff;
  }
}

@keyframes size1_2 {
  0%,
  40% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
    box-shadow: 8px 8px 14px #c5c5c5, -8px -8px 14px #ffffff;
  }
}

@keyframes size1_3 {
  0%,
  70% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
    box-shadow: 8px 8px 14px #c5c5c5, -8px -8px 14px #ffffff;
  }
}