/* ==================== 
   Estilos Generales
   ==================== */

/* Tipografía moderna y profesional */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: #444;
  background-color: #f9f9fb;
  margin: 0;
  padding: 0;
}

/* ==================== 
   Hero Section - Fondo azul corporativo
   ==================== */
.hero-section {
  background: linear-gradient(135deg, #1a3a6e, #2c5aa0);
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.hero-section h1,
.hero-section .lead {
  color: white !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ==================== 
   Botón de Descarga - Destacado y visible
   ==================== */
.btn-download {
  background-color: white !important;
  color: #1a3a6e !important;
  border: none;
  padding: 12px 30px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  min-width: 200px;
}

.btn-download:hover {
  background-color: #f8f9fa !important;
  color: #163057 !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

/* ==================== 
   Títulos y texto
   ==================== */
h1, h2, h3, h4 {
  color: #1a3a6e;
  font-weight: 600;
  margin-bottom: 1rem;
}

h2 {
  text-align: center;
  font-size: 2.2rem;
}

/* ==================== 
   Imágenes de módulos
   ==================== */
.img-fluid.rounded-4,
.img-fluid.rounded {
  border-radius: 1rem !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.img-fluid:hover {
  transform: scale(1.02);
}

/* ==================== 
   Listas y características
   ==================== */
ol {
  color: #555;
  padding-left: 1.5rem;
}

ol li {
  margin-bottom: 0.8rem;
}

ol li strong {
  color: #1a3a6e;
}

/* ==================== 
   Secciones
   ==================== */
.py-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.bg-light {
  background-color: #f8f9fa !important;
}

/* ==================== 
   Botón Flotante de WhatsApp
   ==================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* ==================== 
   Encabezado (Header)
   ==================== */
.navbar {
  background-color: #1a3a6e !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  color: white !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color 0.3s;
}

.nav-link:hover {
  color: white !important;
}

/* ==================== 
   Pie de página (Footer)
   ==================== */
footer {
  background-color: #1a3a6e !important;
  color: white;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .fab {
  color: white;
  transition: color 0.3s;
}

footer .fab:hover {
  color: #40bfff;
}

/* ==================== 
   Responsive Design
   ==================== */
@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 0;
  }

  .display-4 {
    font-size: 1.8rem;
    font-weight: 700;
  }

  .lead {
    font-size: 1.1rem;
  }

  .btn-download {
    font-size: 1rem;
    padding: 10px 20px;
    min-width: 180px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.7rem;
    bottom: 20px;
    right: 20px;
  }

  h2 {
    font-size: 1.8rem;
  }
}