/* General Styles */
body {
  font-family: 'Arial', sans-serif;
  background: url('../img/background.jpg') no-repeat center center/cover;
  color: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.bg{
  background: #042440;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.container {
  padding: 20px;
}

.navbar {
  background-color: #042440;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}



/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url('https://source.unsplash.com/1600x900/?stars,space') no-repeat center center/cover;
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  z-index: 2;
  position: relative;
  margin-bottom: 20px; /* Espacio entre el título y el botón */
}

.hero .btn-primary {
  background-color: #d694fd;
  border-color: #d694fd;
  font-size: 1.2rem;
  z-index: 2;
  position: relative;
}
.hero .btn-primary:hover {
  background-color: #9b43ce;
  border-color: #9b43ce;
}
/* Estilos personalizados para la sección de cuenta regresiva */
.countdown {
  background: #042440;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.countdown h3 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.countdown-timer {
  font-family: 'Courier New', Courier, monospace;
  color: #ffffff;
  background: #042440;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.countdown-timer span {
  font-size: 2rem;
  margin: 0 5px;
  color: #00e676;
}

.countdown-timer span:last-child {
  color: #ff3d00;
}

/* Efecto de parpadeo para los segundos */
@keyframes blink {
  50% {
      opacity: 0.5;
  }
}

.countdown-timer span.seconds {
  animation: blink 1s infinite;
}


/* Section Titles */
h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

p.lead {
  font-size: 1.2rem;
  color: #cccccc;
}

/* Cards */
/* Cards */
.card {
  background-color: #042440;
  border: none;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Asegura que todas las tarjetas tengan la misma altura */
  display: flex;
  flex-direction: column; /* Para que el contenido interior se alinee correctamente */
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card-title-1 {
  color: #a2bedc;
  font-weight: bold;
}

.card-title-2 {
  color: #b793c9;
  font-weight: bold;
}

.card-title-3 {
  color: #d26b9d;
  font-weight: bold;
}

.card-title-4 {
  color: #ffb74d;
  font-weight: bold;
}

.card-text {
  color: #cccccc;
}

.card-img-top {
  border-radius: 10px;
  transition: transform 0.3s ease;
  height: 180px; /* Fija la altura de las imágenes */
  object-fit: cover; /* Asegura que las imágenes llenen el espacio de manera uniforme */
}

.card:hover .card-img-top {
  transform: scale(1.05);
}


/* Forms */
/* Fondo animado para el formulario */
form {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: gradient-bg 5s infinite alternate ease-in-out;
}

/* Animación suave de fondo */
@keyframes gradient-bg {
  0% { background: linear-gradient(135deg, #1e3c72, #2a5298); }
  100% { background: linear-gradient(135deg, #2193b0, #6dd5ed); }
}

form .form-control {
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  border: 2px solid transparent;
  padding: 12px;
  font-size: 1.2rem;
  border-radius: 10px;
  transition: all 0.4s ease-in-out;
}

form .form-control::placeholder {
  color: #888;
  font-style: italic;
}

form .form-control:focus {
  background-color: #fff;
  color: #333;
  border-color: #42a5f5;
  box-shadow: 0 0 10px rgba(66, 165, 245, 0.8);
}

form label {
  color: #ffeb3b;
  font-weight: bold;
  font-size: 1.2rem;
}

form button {
  background-color: #ff9800;
  border: none;
  color: #ffffff;
  font-size: 1.3rem;
  padding: 14px 28px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.5);
}

form button:hover {
  background-color: #ff6f00;
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.7);
  transform: scale(1.05);
}

form button:active {
  transform: scale(0.98);
}

form img#preview {
  max-height: 150px;
  margin-top: 10px;
  border-radius: 12px;
  border: 3px solid #ffeb3b;
  object-fit: cover;
  box-shadow: 0 6px 12px rgba(255, 235, 59, 0.6);
  animation: glow 2s infinite alternate ease-in-out;
}

@keyframes glow {
  0% { box-shadow: 0 6px 12px rgba(255, 235, 59, 0.6); }
  100% { box-shadow: 0 6px 20px rgba(255, 235, 59, 0.8); }
}

/* Botones secundarios */
form .btn-secondary {
  background-color: #4caf50;
  border: none;
  color: #ffffff;
  padding: 10px 24px;
  font-size: 1.1rem;
  border-radius: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

form .btn-secondary:hover {
  background-color: #66bb6a;
  transform: scale(1.05);
}


/* Estilo para hover-contact */
.hover-contact {
  background-color: transparent;
  transition: background-color 0.3s ease, transform 0.3s ease;
  padding: 20px;
  border-radius: 8px;
}

.hover-contact:hover {
  background-color: #042440; /* Color de fondo al hacer hover */
  transform: translateY(-5px); /* Efecto de elevación */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombras para mayor profundidad */
}

.hover-contact h5 {
  color: #ff9800; /* Títulos destacados */
  transition: color 0.3s ease;
}

.hover-contact:hover h5 {
  color: #ffffff; /* Cambiar color del texto en hover */
}

.hover-contact a {
  color: #ff9800;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hover-contact a:hover {
  color: #ffffff;
}


/* Ajustes responsivos */
@media (max-width: 768px) {
  form .form-control {
    font-size: 0.9rem;
    padding: 8px;
  }

  form button {
    font-size: 1rem;
    padding: 8px 16px;
  }
}


/* Buttons */
.btn-primary{
  background-color: #d694fd;
  border-color: #d694fd;
  color: #ffffff;
  font-size: 1.2rem;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #9b43ce;
  border-color: #9b43ce;
}
.btn-secondary {
  background-color: #444857;
  border-color: #444857;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #666a7e;
  border-color: #666a7e;
}

/* Fondo y sombra */
.footer-bg {
  background-color: #042440 !important; /* Color base definido */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  color: #ffffff; /* Define el color del texto como blanco por defecto */
}

/* Logos */
footer .footer-logo {
  max-width: 150px;
  margin: 0 15px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

footer .footer-logo:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* Navegación Interna */
footer .footer-navigation {
  margin: 20px 0;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
}

footer .footer-navigation a {
  color: inherit; /* Hereda el color de footer-bg */
  margin: 0 10px;
  text-decoration: none;
  position: relative;
}

footer .footer-navigation a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #ff9800; /* Color de subrayado */
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

footer .footer-navigation a:hover::after {
  width: 100%;
}

/* Redes Sociales */
footer .social-icons a {
  margin: 0 10px;
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

footer .social-icons img {
  max-width: 30px;
}

footer .social-icons a:hover img {
  transform: scale(1.2);
  opacity: 0.8;
}

/* Copyright */
footer p {
  font-size: 0.9rem;
  color: #cccccc; /* Color más tenue */
  margin-top: 20px;
}

/* Responsividad */
@media (max-width: 768px) {
  footer .footer-logo {
    max-width: 60px;
  }

  footer .footer-navigation a {
    display: block;
    margin: 5px 0;
  }

  footer .social-icons img {
    max-width: 25px;
  }
}




/* Animations */
.animated-text {
  display: inline-block;
  animation: fadeIn 3s ease-in-out infinite alternate;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .card-img-top {
    height: 150px;
  }
}

/* Card Styles */
.custom-card {
  background: #042440;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

/* Image Styles */
.image-container {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.custom-card-img {
  width: 100%;
  height: 300px; /* Tamaño prominente para destacar */
  object-fit: cover;
}

/* Text Styles */
.card-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffcc80;
  margin-bottom: 10px;
}

.card-text.text-muted {
  font-size: 0.9rem;
  color: #b0bec5;
  text-align: center;
  margin-bottom: 15px;
}

/* Information Block */
.user-info p {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #e3f2fd;
}

.custom-blockquote {
  font-size: 1.1rem;
  color: #e0e0e0;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-left: 5px solid #ff9800;
  border-radius: 5px;
  font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .custom-card-img {
    height: 200px;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .custom-blockquote {
    font-size: 1rem;
  }
}





