@charset "utf-8";
/* CSS Document */

:root {
  --primary: #001f3f;
  --secondary: #0074D9;
  --light: #f4f4f4;
  --dark: #111;
  --white: #fff;
}
.hero {
  background: linear-gradient(to right, var(--primariy), var(--secondary));
  background: linear-gradient(to bottom, #ffffff, #001F3F);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ===== CURSOS Y FORMACIÓN ===== */
.formacion-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.formacion-nav a {
  background: var(--secondary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
}

.formacion-nav a:hover {
  background: var(--primary);
}

.grid-cursos {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.curso {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 2rem;
  max-width: 300px;
  flex: 1 1 280px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.curso:hover {
  transform: translateY(-5px);
}

.curso h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.curso ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.destacado {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.destacado h3,
.destacado ul li {
  color: var(--white);
}

.destacado .btn-hero {
  background: var(--white);
  color: var(--secondary);
}

.destacado .btn-hero:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===== DETALLE DEL CURSO ===== */
.curso-detalle {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.video {
  flex: 1 1 400px;
}

.detalle-info {
  flex: 1 1 400px;
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  border: 2px solid var(--secondary);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.detalle-info h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.detalle-info ul li {
  margin-bottom: 0.5rem;
}

blockquote {
  font-style: italic;
  background: #f0f8ff;
  padding: 1rem;
  border-left: 5px solid var(--secondary);
  border-radius: 5px;
  margin-top: 1rem;
}
/* ===== BOTONES ===== */
a.btn-primary {
  display: inline-block;
  background-color: #0a1833;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none !important;
  transition: background-color 0.3s ease;
  margin-top: 2rem;
}

a.btn-primary:hover {
  background-color: #14274e;
}
