/* Reset general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: hsl(0, 0%, 20%);
}

/* Navbar */
.navbar {
  background-color: #003366 !important;
}
.navbar-brand,
.navbar-nav .nav-link,
.navbar-toggler {
  color: #ffffff !important;
}
.navbar-nav .nav-link:hover {
  text-decoration: underline;
}
.dropdown-menu {
  background-color: #003366;
  border: none;
}
.dropdown-item {
  color: #ffffff;
}
.dropdown-item:hover {
  background-color: #002244;
}

/* Banner */
.static-banner {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}
.static-banner .overlay {
  background-color: rgba(4, 88, 171, 0.738);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  color: #fff;
  max-width: 900px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-banner {
  max-width: 320px;
  margin-bottom: 20px;
}

/* Productos */
.productos {
  padding: 50px 0;
}
.productos h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #003366;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 3rem 2rem;
}

/* Card Producto */
.producto {
  position: relative;
  background: #ffffffee;
  padding: 80px 20px 30px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  min-height: 330px;
}
.producto:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.producto h3 {
  font-size: 1.4rem;
  margin-top: 10px;
  color: #003366;
}
.producto p {
  font-size: 1rem;
  color: #444;
}
.producto .btn {
  background-color: #003366 !important;
  color: white !important;
  border: none;
  margin-top: 12px;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.producto .btn:hover {
  background-color: #002244 !important;
}

/* Logo flotante sobre cada card */
.producto-logo {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background-color: white;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
  object-fit: contain;
  z-index: 2;
}

/* Separador */
.hr-service {
  border: none;
  height: 2px;
  background: rgba(0, 51, 102, 0.3);
  margin: 40px auto;
  width: 80%;
}

/* Footer */
.footer-gslr {
  background-color: #003366;
  padding: 2rem 1rem;
  width: 100%;
  color: white;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}
.footer-content p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* DSpace section */
.dspace-section {
  padding: 60px 20px;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #0a3871;
  font-weight: bold;
}
.dspace-logo {
  display: block;
  margin: 0 auto 20px auto;
  width: 120px;
}
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  display: flex;
  align-items: start;
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #333;
}
.feature-list img {
  width: 20px;
  margin-right: 10px;
  margin-top: 2px;
}
/* Carrusel de plataformas */
.carousel-plataformas {
  padding: 4rem 0;
}

.carousel-plataformas h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 2rem;
}

.carousel-inner {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 500px; /* ajusta según lo que necesites */
}

/* Controles del carrusel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 51, 102, 0.7);
  padding: 1rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: rgba(0, 51, 102, 1);
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-item img {
    max-height: 300px;
  }
}
