/* Reset y estilo base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #f4f7fa;
  color: #333;
}

/* Header y Navbar */
header {
  background: #004aad;
  padding: 1rem 2rem;
  color: white;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.logo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: white;
  padding: 6px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #004aad, #00c3ff);
  color: white;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Contenido principal */
.contenido {
  padding: 3rem 2rem;
  text-align: center;
  background-color: #f4f7fa;
}

.contenido h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #004aad;
}

.contenido p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  color: #333;
  line-height: 1.6;
}

.contenido ul {
  list-style: none;
  margin-top: 1rem;
}

.contenido li {
  margin-bottom: 0.5rem;
}

/* Cursos */
.cursos {
  padding: 2rem;
  background: #fff;
}

.cursos h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cursos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.curso-card {
  background: #e6f0ff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.curso-card:hover {
  background-color: #d4e8ff;
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.curso-card a {
  display: inline-block;
  margin-top: 1rem;
  color: #004aad;
  font-weight: bold;
  text-decoration: none;
}

.curso-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* Temarios */
.temarios {
  padding: 2rem;
  background: #f0f5ff;
}

.temarios h3 {
  margin-top: 2rem;
  color: #004aad;
}

/* CTA */
.cta {
  background: #004aad;
  color: white;
  text-align: center;
  padding: 3rem 2rem;
}

.boton-comprar {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #ffcb05;
  color: #000;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.boton-comprar:hover {
  background-color: #f4b400;
}

.subtext {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* CTA grande */
.cta-grande {
  background-color: #f0f5ff;
  text-align: center;
  padding: 3rem 2rem;
}

.cta-grande h2 {
  font-size: 2rem;
  color: #004aad;
  margin-bottom: 1rem;
}

.cta-grande p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.cta-servicio {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #004aad;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cta-servicio:hover {
  color: #0077ff;
}

/* Botones dobles */
.cta-doble {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn-cta {
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  text-align: center;
}

.btn-cta.amarillo {
  background-color: #ffc107;
  color: #000;
}

.btn-cta.amarillo:hover {
  background-color: #e0a800;
}

.btn-cta.azul {
  background-color: #004aad;
  color: #fff;
}

.btn-cta.azul:hover {
  background-color: #003a8c;
}

/* Beneficios */
.beneficios {
  background-color: #ffffff;
  padding: 3rem 2rem;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.beneficios h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #004aad;
  margin-bottom: 2rem;
}

.beneficios p {
  font-size: 1.1rem;
  color: #333;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

.beneficios ul {
  list-style: none;
  padding: 0;
}

.beneficios li {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.beneficios li::before {
  content: "✔️ ";
  color: #00a859;
  margin-right: 0.5rem;
  font-weight: bold;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #003366, #005f99);
  border-top: 4px solid #ffd700;
  color: white;
  padding: 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li a {
  color: #ccc;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #444;
  padding-top: 1rem;
}





footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  color: #ffd700; /* Amarillo al pasar el mouse, opcional */
  text-decoration: underline;
}








/* Botón flotante subir */
#btn-subir {
  position: fixed;
  bottom: 150px;
  right: 20px;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  background-color: #004aad;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000;
}

/* Botones flotantes sociales */
.floating-btn {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 20px;
  right: 20px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  transition: transform 0.2s;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn img {
  width: 70%;
  height: 70%;
}

.floating-btn.messenger {
  bottom: 80px;
}

/* Animaciones */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

.fade-in-delay {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.5s;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .cursos-container {
    grid-template-columns: 1fr;
  }

  .curso-card {
    margin: 0 auto;
    width: 90%;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .boton-comprar {
    width: 90%;
  }
}



.contacto-seccion {
  background-color: #f4f7fa;
  padding: 3rem 2rem;
  text-align: center;
}

.contacto-seccion h2 {
  color: #004aad;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contacto-seccion p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 2rem;
}

.formulario-contacto {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.grupo-campos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.grupo-campos input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  resize: vertical;
  margin-bottom: 1rem;
}

.btn-contacto {
  display: inline-block;
  padding: 12px 22px;
  background-color: #004aad;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-contacto:hover {
  background-color: #00317a;
}

.info-privacidad {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #555;
  text-align: center;
}



@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
}

.contacto-seccion {
  background: linear-gradient(to bottom, #eaf2fb, #ffffff);
  padding: 3rem 1rem;
  text-align: center;
}

.contacto-seccion h2 {
  color: #004aad;
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contacto-seccion p {
  font-size: 1.1rem;
  color: black;
  margin-bottom: 2rem;
}

.formulario-contacto {
  background: #f4f7fa;
  padding: 2rem;
  border-radius: 16px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.grupo-campos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.grupo-campos input {
  flex: 1;
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-weight: 500;
}

textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-weight: 500;
  resize: vertical;
  margin-bottom: 1rem;
}

.btn-contacto {
  background-color: #004aad;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-contacto:hover {
  background-color: #002f74;
}

.info-privacidad {
  font-size: 0.9rem;
  color: black;
  text-align: center;
  margin-top: 1rem;
}












.formulario-contacto {
  background: rgba(255, 255, 255, 0.95);

  padding: 2rem;
  border-radius: 16px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.formulario-contacto label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.3rem;
  margin-top: 1rem;
  color: black;
}

.formulario-contacto input[type="text"],
.formulario-contacto input[type="email"],
.formulario-contacto textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1.05rem;
  font-weight: 500;
  resize: vertical;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

.formulario-contacto textarea {
  min-height: 150px;
}

.formulario-contacto button {
  background-color: #004aad;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formulario-contacto button:hover {
    background-color: #00397e;
  transform: scale(1.02);
}

.form-privacidad {
  font-size: 0.9rem;
  color: black;
  text-align: center;
  margin-top: 1rem;
}


.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
  border-color: #004aad;
  box-shadow: 0 0 0 2px rgba(0, 74, 173, 0.2);
  outline: none;
}








