body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #333;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 2rem;
  background: #f4f5f6;
  color: rgb(13, 40, 80);
}

.logo {
  height: 40px; /* Ajusta según necesites */
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* Espacio entre elementos del nav */
}

.contact-btn {
  padding: 0.5rem 1rem;
  background-color: #0070f3; /* Color del botón */
  color: white;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.contact-btn:hover {
  background-color: #005bb5;
}

.hero {
  max-width: 100%;
  height: 400px;
  /*min-height: 100vh;  /* Altura completa del viewport */
  background: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
    url('/heroBackground.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 2rem;
  position: relative;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem); /* Responsivo */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 3px 4px rgba(0.2,0.2,0,0.7);
  /* Color del texto con opacidad (último valor: 0.4 = 40% opaco) */
  color: rgba(255, 255, 255, 0.4); /* Blanco semitransparente */
}

.hero p {
  font-size: 1.75rem;
  max-width: 600px;
  margin-bottom: 2rem;
  color: #f4f5f6;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.botonHero {
  display: inline-block;
  background: #FF6B00;  /* Naranja llamativo */
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.botonHero:hover {
  background: #E05D00;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
}

/* Estilos para el formulario */
.formulario {
  width: 450px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #f9f9f9;
}

.formulario-container {
  display: flex;
  align-items: center; /* Alinea verticalmente al centro */
}

.formulario-container h2, p {
    text-align: center;
    color: #e61919;
}

.form-group textarea {
  resize: vertical;
}

.contacto {
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

.contacto h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: rgb(17, 30, 146);
}

.contacto p {
  font-size: 1.25rem;
  color: #374151;
}
.imagen-contacto {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 2rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.contacto form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background-color: #e7e5e5;
    max-width: 800px;
    margin: auto;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1e3a8a;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 90%;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e9;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-group textarea {
  min-height: 120px; /* Ajusta la altura mínima según necesites */
  resize: vertical;
}

.boton {
  background-color: #0074D9;
  color: white;
  width: 60%;
  align-self: center;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
}
.boton:hover {
  background-color: #041a30;
  transition: background-color 0.3s ease;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


.beneficios {
  background: linear-gradient(to bottom, #f0f9ff, #ffffff);
  padding: 1rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.beneficios h2 {
  text-align: center;
  font-size: 2.25rem;
  color: #1e3a8a;
  margin-bottom: 3rem;
  font-weight: 700;
}

.beneficios h2 span {
  color: #ff3907;;
}

.beneficios-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.beneficios-col {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  flex: 1;
  min-width: 300px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.beneficios-col:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.beneficios ul {
  list-style: none;
  padding: 0;
}

.beneficios li {
  margin-bottom: 1rem;
  display: flex;
  font-size: 1.1rem;
  color: #374151;
}

.beneficios li span:first-child {
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

/*
.cta {
  background: linear-gradient(135deg, #0074D9, #001f3f);
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 3rem 1rem;
  border-radius: 1rem;
  margin: 3rem auto;
  max-width: 1100px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #f97316;
}

.cta-boton {
  background: #FF4136;
  color: white;
  padding: 1rem 2rem;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-boton:hover {
  background: #ff2200;
}
*/

.footer {
  background-color: #063180;
  color: #ffffff;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.3rem 2rem;
  background-color: #e0e0e9;
  border-style: solid;
  border-color: #063180;
}

.footer-container img {
  width: 200px; /* Ajusta según necesites */
  height: auto;
}

.footer-logo {
  display: flex;
  width: 30%;
  justify-content: center; /* Centra horizontalmente */
  align-items: center;     /* Centra verticalmente */
}

.footer-logo h2 {
  margin: 0 0 0rem;
  font-size: 1.5rem;
  color: #000000;
  text-align: center; /* Alinea el texto dentro del h2 */
}

.footer-contacto {
  display: flex;
  width: 30%;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
}

.footer-links ul,
.footer-contacto p {
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
  list-style: none;
  color: #000000;
}

.footer-links h3,
.footer-contacto h3 {
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
  font-size: 1.1rem;
  color: #072969;
}

.footer-links a,
.footer-contacto a {
  color: #ff3907;;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contacto a:hover {
  text-decoration: underline;
  color: #0a29d6;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
  justify-content: center; 
  align-items: center;
  display: flex;
}

.footer-bottom p {
  margin: 0.3rem;
  font-size: 0.9rem;  
  color: #6881c7;
}


/* Estilos generales */
.duracion-programas {
  /*background: linear-gradient(to bottom, #1a237e, #283593);*/
  background: linear-gradient(135deg, #0074D9, #001f3f);
  
  padding: 20px 10px;
  font-family: 'Arial', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.container h2 {
  font-size: 2.5rem;
  color: #ff3907;
  text-shadow: #000000 0px 0px 5px;
  margin-bottom: 15px;
}

.subtitle {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.5;
  color: #f0efef;
}

/* Grid de programas */
.programas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 30px;
}

.programa-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 25px;
  width: 100%;
  max-width: 240px;
  transition: all 0.3s ease;
  position: relative;
}

.programa-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.4);
}

.destacado {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid #ff3907;
  transform: scale(1.05);
}

/* Elementos de las tarjetas */
.numero-duracion {
  font-size: 4.5rem;
  font-weight: 900;
  color: #FFC107;
  text-shadow: #000000 0px 0px 5px;
  margin: 5px 0;
  margin-top: 5px;
  margin-bottom: 5px;
  line-height: 1;
}

.numero-duracion h4 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #e0dfdf;
  margin: 3px 0;
  line-height: 1;
}

.programa-card h3 {
  font-size: 1.8rem;
  margin: 15px 0;
  color: #FFC107;
}

.destacado h3 {
  color: #ff3907;
  text-shadow: #050505 1px 1px 3px;
}

.descripcion {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #fffdfd;
}

.beneficios-list {
  text-align: left;
  list-style: none;
  color: #000000;
  padding: 0;
  margin: 0;
}

.beneficios-list li {
  margin-bottom: 10px;
  font-size: 0.8rem;
}

.check-icon {
  color: #FFC107;
  margin-right: 8px;
  font-weight: bold;
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #ff3907;
  color: #e2e2e6;
  text-shadow: #000000 0px 0px 5px;
  padding: 5px 15px;
  font-weight: bold;
  border-bottom-left-radius: 8px;
  border-top-right-radius: 9px;
  font-size: 0.9rem;
}

/* CTA final */
.cta-box {
  background: #ff3907;
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.cta-box h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.cta-box p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #000000;
}

.cta-button {
  display: inline-block;
  background: #001f3f;
  color: white;
  padding: 12px 35px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #0074D9;
  color: black;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 900px) {
  .programas-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .destacado {
    transform: none;
  }
  
  .programa-card {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  h2 {
    font-size: 1.8rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
}
