body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}



/* General Header */
nav {
  background: #131c46;
  display: flex;
  top: 0;
  padding-left: auto;
  width: 100%;
  justify-content:space-around;
  align-items: center;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
      rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  z-index: 2;
}

nav .logo {
  display: flex;
  align-items: center;
}

nav .logo img {
  height: 165px;
  width: auto;
  margin-right: 10px;
}

nav .spam{
  color: white;
}


nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 95%;
  font-weight: 400;
  padding: 4px 8px;
}



/* Dropdown Button */
.dropbtn {
  background-color: #ffffff00;
  color: #fff;
  padding: 16px;
  font-size: 16px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background: #131c46;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #fff;
  color: #131c46;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #ffffff00;
}

@media (max-width: 768px) {
  .menu-icon {
      display: block;
  }

  /* Ocultar los links normales */
  .nav-links {
      display: none;
  }
}


.menubar {
  position: absolute;
  top: 0;
  left: -60%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 60%;
  height: 100vh;
  padding: 20% 0;
  background: #131c46;
  transition: all 0.5s ease-in;
  z-index: 1;
}


.menubar ul li a:hover {
  background-color: #ffffff;
}

@media screen and (max-width: 790px) {
  .hamburger {
      display: block;
  }

  nav ul {
      display: none;
  }
}


/* ==========================
   ROADMAP SECTION - MEJORADO
========================== */
.roadmap-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.roadmap-title {
  font-size: 3rem;
  color: #131c46;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Grid Container Mejorado */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  max-width: 1300px;
  margin: 0 auto;
  justify-content: center;
}

/* Diseño de las Tarjetas */
.roadmap-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roadmap-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Numeración con Círculo */
.roadmap-card::before {
  content: attr(data-step);
  position: absolute;
  top: -15px;
  left: 15px;
  width: 40px;
  height: 40px;
  background: #131c46;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Títulos de los Pasos */
.roadmap-card h3 {
  font-size: 1.5rem;
  color: #131c46;
  font-weight: bold;
}

/* Contenido del Paso */
.roadmap-card p, .roadmap-card ul {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Listas en los Pasos */
.roadmap-card ul {
  padding-left: 20px;
}

/* Responsive Mejorado */
@media (max-width: 768px) {
  .roadmap-title {
      font-size: 2rem;
  }

  .roadmap-card {
      padding: 25px;
  }

  .roadmap-card::before {
      width: 35px;
      height: 35px;
      font-size: 1rem;
  }

  .roadmap-card h3 {
      font-size: 1.3rem;
  }

  .roadmap-card p, .roadmap-card ul {
      font-size: 0.95rem;
  }
}

/* ==========================
 BOTÓN DE VOLVER ATRÁS
========================== */
.btn-back {
  display: block;
  width: fit-content;
  margin: 40px auto;
  padding: 12px 24px;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  background-color: #131c46;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-back:hover {
  background-color: #0e1733;
  transform: scale(1.05);
}




/* ------------------------------------------------
 Footer - Versión con ajustes para móvil
-------------------------------------------------- */
/* ===== Footer ===== */
.footer {
background-color: #131c46;
color: #fff;
padding: 40px 20px;
font-size: 1rem;
}

.footer-container {
display: flex;
flex-direction: column;  /* Apilamos los elementos en columna */
align-items: center;    /* Centramos horizontalmente */
text-align: center;     /* Centramos todo el texto */
gap: 15px;              /* Espaciado entre elementos */
max-width: 1200px;
margin: 0 auto;
}

/* ===== Logo ===== */
.footer-logo {
width: 200px;  /* Se ajusta para que no sea tan grande */
max-width: 100%;
height: auto;
margin-bottom: 10px;
}

/* ===== Información del footer ===== */
.footer-info {
max-width: 500px; /* Limita el ancho del texto para mejor lectura */
font-size: 0.9rem;
}

/* ===== Redes Sociales ===== */
.footer-social {
display: flex;
flex-direction: column; /* Asegura que el título y los íconos se mantengan alineados */
align-items: center;
gap: 10px;
}

.footer-social h4 {
font-size: 1.2rem;
margin-bottom: 5px;
}

.social-links {
display: flex;
gap: 15px;
justify-content: center;
align-items: center;
}

.social-links img {
width: 30px;
height: 30px;
transition: transform 0.3s ease;
}

.social-links img:hover {
transform: scale(1.2);
}

/* ===== Separador final y texto de derechos reservados ===== */
.footer-bottom {
text-align: center;
margin-top: 15px;
border-top: 1px solid rgba(255,255,255,0.3);
padding-top: 10px;
font-size: 0.8rem;
}

/* ===== RESPONSIVIDAD ===== */
@media (max-width: 768px) {
.footer {
  padding: 30px 15px; /* Reduce el padding en pantallas pequeñas */
}

.footer-logo {
  width: 150px; /* Reduce el logo para que no ocupe tanto espacio */
}

.footer-container {
  gap: 10px; /* Reduce el espaciado entre los elementos */
}

.footer-info {
  font-size: 0.85rem;
  max-width: 90%;
}

.footer-social h4 {
  font-size: 1rem;
}

.footer-bottom {
  font-size: 0.75rem; /* Hace el texto más compacto en móviles */
}
}
