.empresa,
.servicios {
  padding: 2.5rem;
}

/* carousel */
.full-carousel {
  height: calc(95vh - 88px);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  z-index: 2;
}

.carousel-caption p {
  font-size: 1.25rem;
  font-weight: 400;
  color: #f8f9fa;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  display: inline-block;
  max-width: 80%;
}

.carousel-indicators button {
  background-color: white;
  opacity: 0.7;
  width: 12px;
  height: 12px;
  margin: 0 4px;
}

.carousel-indicators button.active {
  background-color: white;
  opacity: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 1;
}

.section-title {
  color: white;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
}

.section-title h2 {
  font-size: 2.5rem !important;
}

/* Card servicios */
.inner-content {
  position: relative;
  z-index: 1;
}

.card-container {
  display: flex;
  gap: 2rem;
}

@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
  }
  .carousel-caption {
    width: 100%;
    /*bottom: 30%;*/
    padding: 0 1rem;
  }
  .carousel-caption p {
    max-width: 100%;
  }
}

.custom-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  color: var(--color-verde);
  font-size: 1.25rem;
}

.card-text {
  color: #555;
}

/* animación */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up:nth-child(1) {
  animation-delay: 0.2s;
}

.fade-in-up:nth-child(2) {
  animation-delay: 0.4s;
}

/* acerca de nosotros */
.see-more-link a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
  text-decoration: none;
  color: #007bff;
  transition: background-color 0.3s ease;
}

.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #e9ecef;
}

.icon-container .fas {
  font-size: 16px;
  color: #6c757d;
}

.see-more-link a:hover {
  background-color: #e9ecef;
}

/* google maps*/
.map-container {
    overflow: hidden;
    position: relative;
    height: 464px !important;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .map-container {
        height: 300px !important;
    }
}

/* whatsapp button */
.floating-button {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.floating-button:hover {
    background-color: #128c7e;
    color: white;
}