:root {
  --primary: #0066cc;
  --secondary: #004d99;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --success: #28a745;
  --info: #17a2b8;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  padding-top: 56px;
  color: #333;
}



.navbar-dark {
  background-color: var(--dark) !important;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: rgba(255,255,255,0.8);
}

/* Hero Banner */
.hero-banner {
  background: linear-gradient(rgba(24, 12, 255, 0.6), rgba(0,0,0,0.6)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
}

/* Cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Buttons */
.btn {
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

/* Footer */
footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary) !important;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-banner {
    height: 60vh;
    text-align: center;
  }
  
  .hero-banner h1 {
    font-size: 2.5rem;
  }
}
/* Navbar General */
.navbar {
  background-color: #1a1a2e !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.5s ease;
   position: fixed; /* o sticky */
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar.scrolled {
  padding-top: 5px;
  padding-bottom: 5px;
}

/* Logo */
.navbar-brand {
  position: relative;
  display: inline-block;
}

.navbar-brand img {
  height: 50px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

/* Enlaces principales */
.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85) !important;
}

.nav-hover-animation {
  display: inline-block;
  position: relative;
}

.nav-hover-animation span {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.nav-link {
  position: relative;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  color: rgba(255,255,255,0.85) !important;
}

.nav-link:hover {
  color: white !important;
}

/* Línea animada al pasar el mouse */
.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #4cc9f0;
  transition: width 0.3s ease;
  z-index: 1;
}

.nav-link:hover::before {
  width: 100%;
}
.nav-hover-animation:hover::before {
  width: 100%;
}

.nav-hover-animation:hover span {
  color: white !important;
}

/* Menús desplegables */
.dropdown-menu {
  background-color: #2a2a3e;
  border: none;
  border-radius: 0;
  margin-top: 0;
}

.dropdown-animation {
  animation: fadeIn 0.3s ease forwards;
  opacity: 0;
  transform: translateY(10px);
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 0.5rem 1.5rem;
  transition: all 0.2s ease;
}

.dropdown-hover {
  position: relative;
}

.nav-link.dropdown-toggle {
  position: relative;
  padding-right: 24px; /* Espacio para la flecha */
}

.nav-link.dropdown-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 8px; /* Ajuste para que no toque el borde */
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #fff;
  transition: transform 0.3s ease;
}

.nav-link.dropdown-toggle.show::after {
  transform: translateY(-50%) rotate(180deg); /* Rotación al abrir */
}
.dropdown-hover:hover {
  background-color: rgba(76, 201, 240, 0.1) !important;
  color: white !important;
  padding-left: 1.8rem;
}

.dropdown-hover:hover::before {
  transform: scaleY(1);
}

/* Iconos sociales */
.social-icons {
  gap: 15px;
}

.social-icon {
  color: rgba(255, 255, 255, 0.7);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: white !important;
  background-color: rgba(76, 201, 240, 0.2);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
  .navbar-collapse {
    padding-top: 15px;
  }
  
  .social-icons {
    padding-top: 15px;
    padding-bottom: 10px;
    justify-content: center;
  }
}
/* Footer General */
.footer-dark {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 60px;
  z-index: 1;
}

.footer-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.7); /* Oscurece el video */
  z-index: 2;
}

.footer-dark video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.7;
}

.footer-dark .container {
  position: relative;
  z-index: 3;
}

.footer-logo {
  height: 150px;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(2) rotate(360deg);
}

/* Textos */
.footer-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 2px;
  background-color: #4cc9f0;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Enlaces */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-link::before {
  content: '→';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #4cc9f0;
}

.footer-link:hover {
  color: white !important;
  padding-left: 15px;
}

.footer-link:hover::before {
  opacity: 1;
  left: 0;
}

/* Contacto */
.footer-contact {
  list-style: none;
  padding: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-icon {
  color: #4cc9f0;
  margin-right: 10px;
  margin-top: 3px;
  min-width: 16px;
}

/* Formulario */
.footer-form .input-group {
  border-radius: 4px;
  overflow: hidden;
}

.footer-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  padding: 10px 15px;
}

.footer-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-form .btn {
  background-color: #4cc9f0;
  border: none;
  padding: 0 15px;
  transition: all 0.3s ease;
}

.footer-form .btn:hover {
  background-color: #3aa8d8;
}

/* Divisor y copyright */
.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Social icons (reutilizados del navbar) */


