/* Reset básico */
* {
    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 {
    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: 2rem;
    text-align: center;
  }
  
  .contenido ul {
    list-style: none;
    margin-top: 1rem;
  }
  
  .contenido li {
    margin-bottom: 0.5rem;
  }
  
  /* Cursos */
  .cursos {
    padding: 2rem;
    background: #fff;
  }
  
  .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;
  }
  
  .curso-card a {
    display: inline-block;
    margin-top: 1rem;
    color: #004aad;
    font-weight: bold;
    text-decoration: none;
  }
  
  /* Temarios */
  .temarios {
    padding: 2rem;
    background: #f0f5ff;
  }
  
  .temarios h3 {
    margin-top: 2rem;
    color: #004aad;
  }
  
  /* CTA */
  .cta {
    background: linear-gradient(180deg, #3399ff 0%, #005fa3 100%);




    color: white;
    text-align: center;
    padding: 3rem 2rem;
  }
  
  .boton-comprar {
    display: inline-block;
    margin: 1rem;
    padding: 0.75rem 1.5rem;
    background: #ffcb05;
    color: #000;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
  }
  
  .subtext {
    margin-top: 0.5rem;
    font-size: 0.9rem;
  }
  
  /* 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;
}



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;
}

/* Animaciones de fade */
.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;
  }
}



/* CENTRAR TÍTULO DE CURSOS */
.cursos h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* EFECTO HOVER EN TARJETAS */
.curso-card {
  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);
}

/* RESPONSIVE DESIGN */
@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%;
  }
}

/* CENTRAR TÍTULO DE CURSOS */
.cursos h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* ESTILO PARA IMÁGENES DE CURSO */
.curso-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* EFECTO HOVER EN TARJETAS */
.curso-card {
  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);
}

/* RESPONSIVE DESIGN */
@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%;
  }
}



/* Animaciones de fade */
.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;
  }
}




.subtitulo-cursos {
  font-size: 1.1rem;
  color: #333;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  font-weight: 400;
}




.razones {
  text-align: center;
  margin: 2rem auto;
  padding: 0 1rem;
}

.razones h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.razones-lista {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.razones-lista li {
  margin: 0.5rem 0;
}






.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%;
}

/* Separación entre botones */
.floating-btn.messenger {
  bottom: 80px;
}




/*css temaro de cursos*/









/* === CTA: Quiz Excel === */
.quiz-cta-banner{
  margin: 40px auto 24px;
  max-width: 1100px;
  padding: 24px;
  border-radius: 16px;
  background:
    radial-gradient(900px 400px at 10% 10%, rgba(34,211,238,.12), transparent),
    radial-gradient(900px 400px at 90% 0%, rgba(167,139,250,.12), transparent),
    linear-gradient(120deg, #0f172a, #0b1222);
  border: 1px solid rgba(148,163,184,.25);
  box-shadow: 0 10px 30px rgba(2,6,23,.35);
}
.quiz-cta-content{
  display: grid; gap: 10px;
  text-align: center;
}
.quiz-cta-content h2{
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  color: #f8fafc;
  font-weight: 800;
}
.quiz-cta-content p{
  margin: 0 auto;
  color: #cbd5e1;
  max-width: 720px;
  font-size: 15px;
}
.quiz-cta-actions{
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-top: 10px;
}
/* Botones reutilizables */
.btn-quiz{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(148,163,184,.35);
  color: #0b1222;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-quiz.primary{
  background: linear-gradient(90deg, #22d3ee, #a78bfa);
  border: none;
  color: #0b1222;
}
.btn-quiz.ghost{
  background: rgba(148,163,184,.08);
  color: #e5e7eb;
}
.btn-quiz:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(2,6,23,.25);
  border-color: rgba(167,139,250,.6);
}
.btn-quiz.inline{
  margin-top: 6px;
  background: linear-gradient(90deg, #22d3ee, #a78bfa);
  border: none;
  color: #0b1222;
  display: inline-block;
}

/* Ajuste responsivo: separaciones con el grid de cursos */
.cursos{ margin-top: 28px; }
