:root {
    --background-color: #121212;
    --text-color: #e0e0e0;
    --accent-color: #bb86fc;
    --secondary-color: #03dac6;
  }

  body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-image: url('fondo-estudiantina.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(18, 18, 18, 0.9);
    box-shadow: 0 0 20px rgba(187, 134, 252, 0.3);
  }

  header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease-out;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  h1 {
    color: var(--accent-color);
    font-size: 2.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  /* Estilos para el carrusel */
  .carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(187, 134, 252, 0.5);
  }

  .carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
  }

  .carousel-item {
    min-width: 100%;
    position: relative;
  }

  .carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
  }

  .carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    color: var(--text-color);
    text-align: center;
  }

  .carousel-caption h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
  }

  .carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(187, 134, 252, 0.5);
    color: var(--text-color);
    padding: 1rem;
    text-decoration: none;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
  }

  .carousel-control:hover {
    background-color: rgba(187, 134, 252, 0.8);
  }

  .carousel-control.prev {
    left: 10px;
  }

  .carousel-control.next {
    right: 10px;
  }

  .offer {
    background-color: rgba(187, 134, 252, 0.1);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid var(--accent-color);
    animation: pulse 2s infinite;
    text-align: center; /* Centrar el texto */
}

  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(187, 134, 252, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(187, 134, 252, 0); }
    100% { box-shadow: 0 0 0 0 rgba(187, 134, 252, 0); }
  }

  .offer h2 {
    color: var(--secondary-color);
    font-size: 2.5rem; /* Aumenta el tamaño del título */
}

.offer p {
    font-size: 1.25rem; /* Aumenta el tamaño de los párrafos */
    margin-bottom: 1rem;
}

.offer ul {
    font-size: 1.2rem; /* Aumenta el tamaño de la lista */
    list-style-position: inside; /* Asegura que los ítems de la lista estén dentro del bloque */
    padding-left: 0;
}

.offer ul li {
    margin-bottom: 0.75rem; /* Espacio entre los ítems de la lista */
}

strong {
    font-size: 1.3rem; /* Aumenta el tamaño del texto en negrita */
}

  .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .feature {
    background-color: rgba(3, 218, 198, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
  }

  .feature:hover {
    transform: scale(1.05);
  }

  .feature img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
  }

  .cta {
    text-align: center;
    margin-bottom: 2rem;
  }

  .whatsapp-btn {
    display: inline-flex; /* Flex para alinear el icono con el texto */
    align-items: center; /* Centrar icono y texto verticalmente */
    background-color: #25D366; /* Color de fondo de WhatsApp */
    color: white;
    padding: 1rem 4rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: latido 1.5s infinite;
  }
  .whatsapp-btn:hover {
    background-color: #128C7E; /* Color de hover de WhatsApp */
    transform: scale(1.05);
  }
  
  /* Estilo del icono dentro del botón */
  .whatsapp-btn .whatsapp-icon {
    width: 24px; /* Tamaño del icono */
    height: 24px;
    margin-right: 0.5rem; /* Espacio entre el icono y el texto */
  }

  .instagram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    margin: 1rem auto;
    width: fit-content;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.instagram-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.instagram-btn img {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
}

  form {
    background-color: rgba(3, 218, 198, 0.1);
    border-radius: 10px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
  }
  .importante {
    color: red;
    text-align: center;
    display: block;
    font-weight: bold;
    font-size: 1.5rem;
    animation: latido 1.5s infinite; /* Animación de latido */
}
@keyframes latido {
  0%, 100% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.1);
  }
}
.resaltar-gmail {
  color: #e63946; /* Color rojo suave */
  font-weight: bold;
  background-color: rgba(230, 57, 70, 0.1); /* Fondo suave */
  padding: 0 0.2rem;
  border-radius: 3px;
}
.resaltar-critico {
  color: red;
  font-weight: bold;
  background-color: yellow; /* Resaltar con fondo amarillo */
  padding: 0 0.3rem;
  border-radius: 3px;
  display: inline-block;
  font-size: 1.2rem;
  animation: parpadeo 1.5s infinite; /* Animación de parpadeo */
}
@keyframes parpadeo {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

  form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
  }

  form input[type="text"],
  form input[type="email"],
  form input[type="tel"],
  form select {
      width: 100%;
      padding: 0.5rem;
      margin-bottom: 1rem;
      border-radius: 5px;
      border: 1px solid var(--accent-color);
      background-color: var(--background-color);
      color: var(--text-color);
  }

  form input[type="checkbox"] {
    margin-right: 0.5rem;
  }

  .mercado-pago-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #009EE3, #00D1FF);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.mercado-pago-btn img.mercado-pago-icon {
    width: 65px;
    height: 45px;
    margin-right: 1rem;
}

.mercado-pago-btn:hover {
    background: linear-gradient(45deg, #007bbf, #00b3cc);
    transform: scale(1.05);
}
@media (max-width: 768px) {
  .features {
    grid-template-columns: 1fr; /* Un solo bloque por fila */
    gap: 1.5rem;
}

.feature {
    padding: 1rem; /* Reducir el padding para más espacio en móviles */
}

.feature img {
    max-width: 100%; /* Asegurarse de que las imágenes ocupen todo el ancho del contenedor */
    height: auto;
}

.feature h3 {
    font-size: 1.2rem; /* Ajustar el tamaño de la fuente de los títulos */
}

.feature p {
    font-size: 1rem; /* Ajustar el tamaño del texto */
}
  form {
      padding: 1.5rem;
      max-width: 100%; /* Ocupar todo el ancho disponible */
  }

  form h1, form h2, form h3, form p, form label {
      font-size: 1rem; /* Ajustar el tamaño del texto */
  }

  form input[type="text"],
  form input[type="email"],
  form input[type="tel"],
  form select {
      padding: 0.75rem; /* Ajustar el padding */
      font-size: 1rem;  /* Reducir tamaño de fuente */
  }

  .mercado-pago-btn {
      padding: 0.75rem 1.5rem; /* Reducir padding en el botón */
  }

  .mercado-pago-btn img.mercado-pago-icon {
      width: 50px; /* Ajustar tamaño del logo en móvil */
      height: 35px;
      margin-right: 0.5rem; /* Reducir el margen en móviles */
  }
}