/* Fuente y colores base */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body, html {
  margin: 0;
  padding: 0;
  background: linear-gradient(rgba(0, 18, 62, 0.85), rgba(0, 18, 62, 0.85)),
              url('../images/fondocompleto.png') no-repeat center center fixed;
  background-size: cover;
  color: white;
  font-family: 'Poppins', sans-serif;
  height: 100%;
}

/* Hero (video de fondo) */
.hero-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.video-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.overlay {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 18, 62, 0.); /* Azul oscuro con transparencia */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* Navbar transparente */
.custom-navbar {
  background-color: transparent !important;
  box-shadow: none;
  transition: background-color 0.3s ease;
}
.custom-navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1030;
  transition: top 0.3s ease-in-out;
}

.custom-navbar .nav-link {
  color: #fff;
  font-weight: bold;
  margin-left: 15px;
  transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover {
  color: hsl(60, 1%, 65%); /* un amarillo suave al pasar el cursor */
}
.navbar .dropdown-menu {
  background-color: transparent;
  border: none;
}

.navbar .dropdown-item {
  color: white;
}

.navbar .dropdown-item:hover {
  background-color: #d9d9d9;
  color: #00123e;
}

.brochure-btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffffff !important;
  background: linear-gradient(135deg, #00123e, #011f6e);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.brochure-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.brochure-btn:hover::before {
  left: 150%;
}

.brochure-btn:hover {
  background: linear-gradient(135deg, #011f6e, #00123e);
  color: #ffffff !important;
  transform: scale(1.05);
}
.icono-animado {
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

/* Sección Quiénes Somos */
.section-quienes {
  color: #ffffff;
}

.section-quienes h2 {
  color: #1100ff;
  font-weight: 600;
  border-bottom: 3px solid hsl(60, 1%, 65%);
  display: inline-block;
  padding-bottom: 8px;
  font-size: 32px;
}

.quienes-somos-section {
  background: transparent; /* ya hereda el fondo desde el body */
  position: relative;
  min-height: 100vh;
  padding: 80px 20px;
  display: flex;
  align-items: center;
}

.quienes-somos-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.quienes-somos-section .container {
  z-index: 2;
  position: relative;
}
.text-justify {
  text-align: justify;
}

/* Sección de Misión, Visión y Objetivos */
.seccion-triple {
  background: transparent; /* usa el fondo global */
  border-top: 2px solid #d9d9d9;
  border-bottom: 2px solid #d9d9d9;
}

.fondo-seccion {
  background: transparent;
  color: white;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 80px; /* Para evitar que el navbar fijo tape la sección */
}

.btn-redix {
  background-color: #00123e;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  transition: 0.3s ease;
}

.btn-redix:hover {
  background-color: #011e5e;
  transform: scale(1.05);
}

.floating-logo {
  position: fixed;
  top: 40px;
  left: 40px;
  z-index: 1050;
  width: 80px;
  transition: transform 0.5s ease-in-out;
}

.floating-logo img {
  width: 100%;
  height: auto;
  /* border-radius: 8px; */ /* ❌ Eliminamos esta línea */
}

#btnSubir {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  z-index: 999;
  border-radius: 50%;
  padding: 10px 14px;
}

.boton-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.boton-whatsapp:hover {
  transform: scale(1.1);
  background-color: #1ebd5b;
}

.brochure-btn {
  background-color: #01123e;
  color: #ffffff;
  border: 2px solid #00ffff;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
  transition: all 0.6s ease;
  position: relative;
  overflow: hidden;
}

.brochure-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-25deg);
  transition: all 1.2s ease;
}

.brochure-btn:hover::before {
  left: 130%;
}

.brochure-btn:hover {
  background-color: #00ffff;
  color: #01123e;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
}

