/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #0a0a1a;
  color: #e0e0ff;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 26, 0.95);
  padding: 15px 40px;
  z-index: 1000;
}

.logo img {
  width: 40px;
  margin-right: 10px;
  vertical-align: middle;
}
.logo span {
  font-weight: bold;
  font-size: 1.2rem;
  color: #8a2be2; /* morado */
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.navbar a {
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}
.navbar a:hover {
  color: #4b9eff; /* azul */
}

/* Hero */
.hero {
  height: 100vh;
  background: linear-gradient(120deg, #0a0a1a 60%, #4b9eff30);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}
.hero h1 span {
  color: #8a2be2;
}
.hero p {
  max-width: 600px;
  margin: 0 auto 20px;
}
.btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 25px;
  background: linear-gradient(90deg, #8a2be2, #4b9eff);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}
.btn:hover {
  background: linear-gradient(90deg, #4b9eff, #8a2be2);
}

/* Sections */
.section {
  padding: 80px 20px;
  text-align: center;
}
.section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #4b9eff;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.card {
  background: #1a1a2e;
  padding: 20px;
  border-radius: 15px;
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px #8a2be255;
}

/* Academy Neon */
.dark {
  background: #141428;
}
.neon {
  border: 1px solid #8a2be2;
  box-shadow: 0 0 10px #8a2be2;
}

/* Footer */
footer {
  background: #080818;
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #aaa;
}

/* --- estilos anteriores se mantienen --- */

/* Buscador */
.search-box {
  display: flex;
  align-items: center;
  background: #1a1a2e;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 20px;
}
.search-box input {
  border: none;
  padding: 8px 12px;
  background: transparent;
  color: #fff;
  outline: none;
  width: 150px;
}
.search-box button {
  background: #4b9eff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  color: #fff;
  transition: 0.3s;
}
.search-box button:hover {
  background: #8a2be2;
}

/* Botón WhatsApp */
.btn.whatsapp {
  background: #25d366;
  color: #fff;
}
.btn.whatsapp:hover {
  background: #128c7e;
}
/* Buscador */
.search-box {
  display: flex;
  align-items: center;
  background: #1a1a2e;
  border-radius: 30px;
  overflow: hidden;
  margin: 10px;
  width: 600px;  /* ancho más largo */
  height: 50px;  /* altura más grande */
}

.search-box input {
  flex: 1;
  border: none;
  padding: 12px 18px;
  background: transparent;
  color: #fff;
  outline: none;
  font-size: 1rem;
}

.search-box input::placeholder {
  color: #aaa;
  font-style: italic;
}

.search-box button {
  background: linear-gradient(90deg, #8a2be2, #4b9eff);
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  transition: 0.3s;
}

.search-box button:hover {
  background: linear-gradient(90deg, #4b9eff, #8a2be2);
}

