* {
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #F5F5F5;
}


.btn-azul{
  background-color: #5496B5;
  color: white;
}

.btn-azul:hover{
  background-color: #296081;
    color: white;

}

.bg-azul{
  background-color: #5496B5;
  color: white;
}

.section-padding {
  padding: 70px 0;
}

.carousel-item {
  height: 80vh;
  min-height: 300px;
}

.carousel-caption {
  bottom: 200px;
  z-index: 2;
}

.logo {
  height: 50px;
}

.list-group-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 5px;
}

.text-primary {
  font-weight: bold;
  text-decoration: none;
}

.text-primary:hover {
  color: #0056b3; /* Un tono más oscuro de azul */
}

.text-blue{
  color: #5496B5;
}

.title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.static-banner .banner-caption {
  padding: 20px;
  border-radius: 10px;
}

.static-banner img {
  height: 100vh;
  
  object-fit: cover;
  object-position: center; /* Centra la parte más importante de la imagen */
}

.static-banner {
  position: relative;
}

.static-banner .image-overlay {
  position: relative;
}

.static-banner .image-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Filtro oscuro */
  z-index: 1; /* Aplica el filtro encima de la imagen */
}

.static-banner img {
  height: 70vh;
  object-fit: cover;
  width: 100%;
  position: relative;
  z-index: 0; /* Asegura que la imagen esté detrás del filtro */
}

.banner-caption {
  z-index: 2; /* Posiciona el texto por encima del filtro */
  position: relative;
}  

.banner-caption {
  padding: 20px;
  border-radius: 10px;
}


.carousel-caption h5 {
  font-size: 45px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 25px;
}

.carousel-caption p {
  width: 60%;
  margin: auto;
  font-size: 18px;
  line-height: 1.9;
}

.carousel-inner::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 30, 82, 0.327);
  z-index: 1;
}

.navbar-nav a {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 500;
}

.navbar-dark .navbar-brand {
  color: #fff;
  font-size: 25px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 2px;
}

.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover {
  color: #000;
}

.w-100 {
  height: 100vh;
}

.navbar-toggler {
  padding: 1px 5px;
  font-size: 18px;
  line-height: 0.3;
}


.services .card-body i {
  font-size: 50px;
}

.team .card-body i {
  font-size: 20px;
}

.modal-content {
  background-color: #F5F5F5;
  color: black;
  border-radius: 10px;
}

.modal-header {
  border-bottom: 1px solid lightgrey;
}

.modal-footer {
  border-top: 1px solid gray;
}

.about-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}  

.about-img img {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-text ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 20px;
}

.about-text ul li {
  margin-bottom: 10px;
}  

.contact h4 {
  border-bottom: 2px solid #007bff;
  display: inline-block;
  padding-bottom: 5px;
}

.contact ul {
  padding-left: 0;
}

.container {
  z-index: 2; /* Texto y logo por encima del filtro */
}  

.contact ul li {
  margin-bottom: 10px;
}  

.accordion-button {
  background-color: #f8f9fa; /* Fondo claro */
  color: #000; /* Texto negro */
}

.accordion-button:not(.collapsed) {
  background-color: #e9ecef; /* Fondo más oscuro cuando está expandido */
}

.list-group-item {
  cursor: pointer;
}

.list-group-item:hover {
  background-color: #f1f1f1; /* Fondo gris claro al pasar el mouse */
}

.service-box {
  background-color: #f8f9fa; /* Color de fondo */
  border: 1px solid #ddd; /* Borde */
  border-radius: 8px; /* Esquinas redondeadas */
  min-height: 250px; /* Altura mínima */
  padding: 20px; /* Espaciado interno */
  margin-bottom: 30px;
  text-align: center; /* Centrar texto */
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-box-nobox {
  border-radius: 8px; /* Esquinas redondeadas */
  min-height: 250px; /* Altura mínima */
  padding: 20px; /* Espaciado interno */
  margin-bottom: 30px;
  text-align: center; /* Centrar texto */
  transition: transform 0.3s, box-shadow 0.3s;

}

.service-box:hover {
  transform: translateY(-10px); /* Efecto hover */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.service-box-link {
  text-decoration: none; /* Quitar subrayado del enlace */
  color: inherit; /* Mantener color del texto */
}

/* Cuadro general */
.info-box {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  min-height: 350px; /* Altura uniforme */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  margin-bottom: 20px;
}

/* Filtro oscuro */
.info-box .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Filtro oscuro */
  z-index: 1;
}

/* Contenido del cuadro */
.info-box .content {
  position: relative;
  z-index: 2;
  text-align: left; /* Alinear texto a la izquierda */
}

/* Estilo de icono */
.info-box .icon {
  color: #fff;
}

/* Título del cuadro */
.info-box h3 {
  font-size: 1.8rem;
  font-weight: bold;
}

/* Párrafo */
.info-box p,
.info-box ul {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

/* Lista de Metas */
.info-box ul {
  padding-left: 20px;
}

/* Efecto hover */
.info-box:hover .overlay {
  background: rgba(0, 0, 0, 0.7); /* Oscurecer más al pasar el cursor */
}

.info-box:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Sección de Clientes */
.clientes-section {
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 20px;
}

.clientes-title {
  font-size: 2rem;
  font-weight: bold;
  color: #5597B6; /* Color del encabezado */
  margin-bottom: 20px;
}

/* Grid de logos */
.clientes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px; /* Espaciado entre logos */
  justify-items: center;
  align-items: center;
}

.cliente-logo {
  max-width: 150px;
  max-height: 80px;
  filter: grayscale(100%); /* Escala de grises */
  transition: filter 0.3s ease, transform 0.3s ease;
}

.cliente-logo:hover {
  filter: grayscale(0); /* Quitar escala de grises al hover */
  transform: scale(1.1); /* Efecto de zoom */
}

/* Sección de Experiencia */
.experiencia-section {
  background-color: #296180; /* Fondo azul */
  color: #FFFFFF; /* Texto blanco */
  padding: 40px 20px;
}

.experiencia-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.experiencia-list {
  display: flex;
  gap: 40px;
}

.experiencia-list ul {
  list-style: none;
  padding: 0;
}

.experiencia-list ul li {
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.experiencia-list ul li::before {
  content: "●";
  color: #A3D300; /* Verde para los puntos */
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Contenedor del mapa */
.map-container {
  text-align: center;
}

.mapa-img {
  max-width: 100%;
  border-radius: 10px;
}

.gradient-background {
  background: linear-gradient(to left, #5597B6, #296180, #2C3D4C);
  padding: 70px 0;
  color: white;
}

.gradient-background h2, 
.gradient-background p, 
.gradient-background ul li {
  color: white;
} 

#serviceModalImage {
  border-radius: 5px;
}

/* Imagen de fondo */
.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Filtro oscuro */
.services .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Filtro oscuro */
  z-index: 1;
}

/* Contenido */
.services .container {
  position: relative;
  z-index: 2;
  color: white;
}

.services .title {
  font-size: 3rem;
  font-weight: bold;
}

/* Cuadro de servicios */
.services .service-box {
  background: rgba(255, 255, 255, 0.1); /* Fondo semitransparente */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 20px;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.services .service-box:hover {
  background: rgba(255, 255, 255, 0.2); /* Fondo semitransparente */
  transform: scale(1.05); /* Pequeño aumento en el tamaño */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.services .service-box h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.services .service-box p {
  font-size: 1rem;
}

.static-banner .title {
  font-size: 3rem;
  font-weight: bold;
}

/* Sección de Servicios */
.services {
  padding: 60px 0;
}

.services-text .title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.services-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #2C3D4C;
}

.services-text ul {
  margin-top: 20px;
  padding-left: 20px;
}

.services-text ul li {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #2C3D4C;

  list-style-type: disc;
}


/* Contenedor de Imagen */
.image-container {
  position: relative;
}

.image-container img {
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.image-container .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.5rem;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
  opacity: 1;
}

/* Mostrar el dropdown al pasar el ratón */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  position: absolute;
  top: 100%; /* Posiciona el menú justo debajo del enlace */
  left: 0;
  z-index: 1000;
  margin-top: 0;
}

/* Estilo del enlace principal */
.nav-item.dropdown .nav-link {
  cursor: pointer;
}

/* Estilo del menú desplegable */
.dropdown-menu {
  background-color: #f8f9fa; /* Fondo claro */
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: none; /* Oculto por defecto */
}

/* Elementos dentro del dropdown */
.dropdown-menu .dropdown-item {
  text-transform: capitalize;
  padding: 10px 20px;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #296180; /* Fondo azul oscuro */
  color: white; /* Texto blanco */
}

.footer {
  background-color: #2D3D4D;
}


/* Botón de WhatsApp */
.btn-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #296180; /* Color azul oscuro */
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.btn-whatsapp:hover {
  background-color: #286080; /* Color azul más claro */
}

.btn-whatsapp i {
  font-size: 20px;
  margin-right: 10px;
}

/* Punto rojo de notificación */
.notification-dot {
  width: 10px;
  height: 10px;
  background-color: red;
  border-radius: 50%;
  margin-left: 10px;
}

/* Estilo para el botón del catálogo */
.btn-catalogo {
  display: inline-block;
  background-color: #296180; /* Azul oscuro */
  color: white;
  font-size: 20px;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-catalogo:hover {
  background-color: #5597B6; /* Azul más claro */
  transform: scale(1.05); /* Efecto de agrandamiento al pasar el cursor */
}



@media (max-width: 767px) {
  .navbar-nav {
    text-align: center;
  }

  .carousel-item {
    height: 70vh;
  }

  .w-100 {
    height: 70vh;
  }

  .carousel-caption {
      bottom: 125px;
  }
  
  .carousel-caption h5 {
  font-size: 17px;
  }
  
  .carousel-caption a {
  padding: 10px 15px;
  font-size: 15px;
  }
  
  .carousel-caption p {
  width: 100%;
  line-height: 1.5;
  font-size: 12px;
  }
  
  .about-text {
  padding-top: 50px;
  text-align: center;
  }

  .about-text ul {
    text-align: left;
    margin-left: 15px;
  }

  .card {
  margin-bottom: 30px;
  }
  
  .section-padding {
  padding: 50px 0;
  }
    
  .banner-caption {
    margin-top: 40px;
    max-width: 100%; /* Ocupa todo el ancho de la pantalla */
    padding: 10px; /* Añade margen interior para evitar que el texto se pegue a los bordes */
    text-align: center; /* Centra el texto */
  }

  .banner-caption h2 {
    font-size: 1.5rem; /* Reduce el tamaño del título */
  }

  .banner-caption h5 {
    font-size: 1rem; /* Ajusta el tamaño del subtítulo */
  }
  
}

/* Header diagonal (45°) con 3 franjas */
.banner-diagonal{
  height: 30vh;
  min-height: 360px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;

  /* Franjas diagonales */
  background: linear-gradient(
    135deg,
    #2C3D4C 0%,
    #2C3D4C 60%,
    #296180 60%,
    #296180 80%,
    #5597B6 80%,
    #5597B6 100%
  );
}

.page-intro{
  font-size: 1.2rem;
}

/* Imagen del header (derecha) */
.banner-media{
  width: 100%;
  height: 100%;
  max-height: 320px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  background: rgba(255,255,255,.06);
}

.banner-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Imagen a la derecha en la sección de servicios */
.service-media{
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  background: #ffffff;
}

.service-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ajustes responsive */
@media (max-width: 991px){
  .banner-diagonal{
    height: auto;
    padding: 42px 0;
  }
  .banner-media{
    max-height: 260px;
  }
  .service-media{
    min-height: 240px;
  }
}
