* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    color: #333;
}
.blue-section {
    background: linear-gradient(135deg, #E24622, #9D3017);
    color: white;
    min-height: 100vh;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.logo img {
    height: 90px;
    width: auto;
}

.btn-login{
display: inline-block;
padding: 13px 20px;
font-size: 16px;
color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);
border-radius: 5px;
text-decoration: none;
text-align: center;
cursor: pointer;
margin-right: 10px;
}

.btn-login:hover{
background-color: #e3e3e3;

}
.btn-registro{
display: inline-block;
padding: 13px 20px;
font-size: 16px;
color: white;
background-color: #471408;
border-radius: 5px;
text-decoration: none;
text-align: center;
cursor: pointer;
}

.btn-registro:hover{
background-color: #333;
}




nav ul {
    display: flex;
    list-style-type: none;
}
nav ul li {
    margin-left: 20px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: calc(100vh - 100px);
}
.hero-content {
    max-width: 50%;
}
h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
p {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.6;
}
.cta-button {
    display: inline-block;
    background-color: white;
    color: #822d1a;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.cta-button:hover {
    background-color: #f0f0f0;
}
.abstract-bg {
    position: relative;
    width: 40%;
    height: 100%;
}
.circle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}
.circle-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
}
.circle-2 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 20%;
}
.wave {
    position: absolute;
    height: 40px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    bottom: 20%;
    border-radius: 20px;
}
.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}
.white-section {
    padding: 60px 0;
    background-color: white;
}
.white-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #0099ff;
}

/* Sección de características */
.features-section {
background-color: #FFE7E1; /* Fondo azul claro */
padding: 80px 20px;  /*50 x 20*/
text-align: center;
}

/* Título de la sección */
.features-title {
font-size: 28px;
font-weight: bold;
color: #333;
margin-bottom: 40px;
}

/* Contenedor Flex para las tarjetas */
.features-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px auto;
  max-width: 1200px;
}

/* Estilos para cada tarjeta */
.feature-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* Estilo del ícono (ajusta el tamaño si es necesario) */
.feature-card img {
width: 50px; /* Tamaño de los íconos */
margin-bottom: 20px;
}

/* Títulos dentro de las tarjetas */
.feature-card h3 {
font-size: 18px;
color: #333;
margin-bottom: 10px;
}

/* Texto de descripción dentro de las tarjetas */
.feature-card p {
font-size: 14px;
color: #666;
}

.promo-fondo{
    background-color: #FFE7E1;
    padding: 40px 0;
}
.promo-container {
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
background-color: #ffffff;
align-items: center;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
padding: 20px 30px;
gap: 20px;
max-width: 900px;
flex-wrap: wrap;
}

.promo-text {
flex: 1;
padding: 20px;
}

.promo-text h1 {
font-size: 2rem;
color: #1e1e1e;
}

.promo-text p {
margin-top: 10px;
font-size: 1.2rem;
color: #555;
}

.promo-text button{
margin-top: 20px;
padding: 12px 24px;
background-color: #000;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1rem;
}

.register-btn:hover {
background-color: #333;
}

.promo-image {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}

.promo-image img {
max-width: 100%;
height: auto;
border-radius: 10px;
}

.boton-registro {
display: inline-block;
padding: 12px 24px;
font-size: 16px;
color: white;
background-color: #471408;
border: 2px solid rgb(255, 255, 255);
border-radius: 10px;
text-decoration: none;
text-align: center;
}
.boton-registro:hover {
background-color: #333;
}

.mensaje-exito {
    color: green;
    font-weight: bold;
    padding: 10px;
    border: 1px solid green;
    background-color: #e0f7e0;
    margin-bottom: 20px;
    text-align: center;
} 


.desktop-nav {
  display: flex;
  align-items: center;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

.mobile-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
}

.close-menu {
  font-size: 28px;
  color: #666;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.close-menu:hover {
  color: #333;
}

.mobile-menu-items {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-menu-item {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.mobile-menu-item:first-child {
  background-color: #f8f9fa;
  color: #333;
  border: 2px solid #dee2e6;
}

.mobile-menu-item:first-child:hover {
  background-color: #e9ecef;
}

.mobile-menu-item:last-child {
  background-color: #471408;
  color: white;
}

.mobile-menu-item:last-child:hover {
  background-color: #333;
}


@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .abstract-bg {
    width: 100%;
    height: 200px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-icon {
    display: block;
  }

  .features-container {
    flex-direction: column;
    align-items: center;
  }

  .feature-card {
    width: 90%;
    max-width: 400px;
  }

  .promo-container {
    flex-direction: column;
    text-align: center;
  }

  .promo-text,
  .promo-image {
    width: 100%;
  }


  /* Centrar el header completo en móvil */
    header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    /* Centrar el logo */
    .logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    /* Posicionar el menú hamburguesa */
    .menu-icon {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    /* Mejorar el centrado del contenido hero */
    .hero-content {
        text-align: center;
        padding: 0 20px;
        margin-top: 20px;
    }
    
    /* Centrar mejor los títulos */
    .hero-content h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .hero-content h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    /* Mejorar el espaciado del párrafo */
    .hero-content p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 25px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Centrar el botón CTA */
    .cta-button {
        display: inline-block;
        margin: 0 auto;
    }
    
    /* Ajustar el contenedor principal para mejor centrado */
    .container {
        padding: 15px;
    }
    
    /* Mejorar el espaciado del hero */
    .hero {
        padding-top: 30px;
        min-height: calc(100vh - 120px);
        justify-content: center;
    }
}

/* Para pantallas muy pequeñas (menos de 480px) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 15px;
        padding: 0 10px;
    }
    
    .logo img {
        height: 70px;
    }
}