body {
  font-family: 'Segoe UI', sans-serif;
}

.hero {
  background: url('imagen/banner.jpg') center center/cover no-repeat;
  height: 70vh;
}

span{
    margin-left: 15px;
    color: #027669;
}

.hero h1, .hero p {
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.card-title {
  color: #027669;
}
.carousel-inner, .carousel-item {
  height: 85vh;
}

.img-carrusel {
  object-position: center top;
  width: 100%;
  height: 85vh;               /* Ocupa el 85% del alto de la ventana */
  object-fit: fill;          /* Cubre todo el contenedor, recorta si es necesario */
  object-position: center;    /* Centra la imagen si se recorta */
}
.footer {
  background-color: #374151;
  color: #e5e7eb;
  padding: 2rem 7rem;
  font-family: 'Segoe UI', sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-left {
  width: 35%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.company-name {
  font-size: 1.75rem;
    color: #027669;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icons a {
  text-decoration: none;
  font-size: 24px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #fafafa; 
}


.footer-right {
  width: 60%;
  display: flex;
  justify-content: flex-end;
  gap: 4rem;
}

.newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.newsletter .title {
  font-weight: bold;
  text-transform: uppercase;
  color: #9ca3af;
   line-height: 0.5;
  padding-bottom: 0.75rem;
}


.divider {
  width: 100%;
  height: 1px;
  background-color: #6b7280;
  margin: 1rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.875rem;
}
/* Estilos generales para móviles */
@media (max-width: 768px) {
  /* Ajustes del navbar */
  .navbar-brand span {
    font-size: 1rem;
    margin-left: 8px;
  }
  
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
  }
  
  /* Ajustes del carrusel */
  .carousel-inner, .carousel-item, .img-carrusel {
    height: 50vh;
  }
  
  .carousel-caption {
    bottom: 20px;
    padding-bottom: 10px;
  }
  
  .carousel-caption h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .carousel-caption p {
    font-size: 0.9rem;
    margin-bottom: 0;
  }
  
  /* Ajustes de secciones */
  section {
    padding: 2rem 0;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  /* Ajustes de cards de servicios */
  .card {
    margin-bottom: 1rem;
  }
  
  .card-title {
    font-size: 1.2rem;
  }
  
  /* Ajustes del footer */
  .footer {
    padding: 2rem 1rem;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-left, .footer-right {
    width: 100%;
    text-align: center;
  }
  
  .logo-section {
    justify-content: center;
  }
  
  .social-icons {
    margin: 1rem 0;
  }
  
  .footer-right {
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
  }
  
  .newsletter .title {
    text-align: center;
  }
  
  .newsletter p {
    text-align: center;
    font-size: 0.9rem;
  }
  
  .footer-bottom {
    font-size: 0.8rem;
  }
}

/* Ajustes adicionales para pantallas muy pequeñas */
@media (max-width: 576px) {
  .carousel-inner, .carousel-item, .img-carrusel {
    height: 40vh;
  }
  
  .carousel-caption h1 {
    font-size: 1.2rem;
  }
  
  .carousel-caption p {
    font-size: 0.8rem;
  }
  
  .navbar-brand span {
    font-size: 0.9rem;
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .footer-right {
    flex-direction: column;
    gap: 1rem;
  }
}