.navbar .logoP {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar img {
  max-width: 100%;
  transition: max-width 0.3s ease;
}

.menu {
  position: fixed;
  top: 0;
  left: -80%;
  height: 100%;
  width: 30%;
  background-color: #333333;
  color: rgb(255, 255, 255);
  transition: left 0.3s ease;
  z-index: 1050;
}

.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1040;
}

.menu.active {
  left: 0;
}

.menu-backdrop.active {
  display: block;
}

.menu ul {
  list-style: none;
  padding: 0;
}

.menu li {
  padding: 15px 20px;
  border-bottom: 1px solid #444;
}

.menu li a {
  color: white;
  text-decoration: none;
  display: block;
}

.menu li a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .menu {
    width: 70%;
    left: -70%;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #ffffff;
  z-index: 10;
}

.navbar .logoP {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar img {
  max-width: 200px;
  transition: max-width 0.3s ease;
}

main {
  margin-top: 200px;
}

/*TARJETAS*/

.bg-gradient-blue {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.bg-gradient-yellow {
  background: linear-gradient(135deg, #f59e0b, #fde68a);
}

.bg-gradient-black {
  background: linear-gradient(135deg, #000000, #434343);
}

.card {
  height: 100%;
  border: none;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.card-title {
  font-size: 1.75rem;
  font-family: "Arial", sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-text {
  font-size: 1.1rem;
  font-family: "Georgia", serif;
  color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}
/*------------------------*/

/* LA EMPRESA */
.empresa-img {
  width: 50%;
  height: 400px;
  object-fit: cover;
}

.empresa-container {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.empresa-text {
  flex: 1;
}

.empresa-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.empresa-description {
  font-size: 1rem;
  line-height: 1.5;
  color: #666;
}

/*------------------------*/

/* Nuestros Servicios */

.servicios-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.servicios-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  width: 100%;
}

.servicios-sub-item {
  padding: 10px 15px;
  background: rgba(0, 0, 255, 0.396);
  border-radius: 5px;
  color: #fff;
  font-size: 1rem;
  transition: background 0.3s ease;
  margin: 5px;
}

.servicios-item {
  padding: 10px 15px;
  background: linear-gradient(to right, #3a8d99, #1d6f59);

  border-radius: 5px;
  color: #fff;
  font-size: 1rem;
  transition: background 0.3s ease;
  margin: 5px;
}

.servicios-item:hover {
  background: linear-gradient(to right, #7a8b99, #4a5d73);
  cursor: pointer;
}

@media (max-width: 1200px) {
  .servicios-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .servicios-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .servicios-list {
    grid-template-columns: 1fr;
  }
}

.servicios-sub-item ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/*--------------------*/
/*CLIENTES*/
.client-card {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 300px; 
  border: 2px solid #ddd;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-top: 60px; 
  margin: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.client-logo {
  position: absolute;
  top: -30px; 
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #fff;
  background-color: #f0f0f0;
  object-fit: cover;
  z-index: 1; 
}

.client-info {
  padding-top: 80px; 
  padding: 10px;
  overflow: auto;
  word-wrap: break-word; 
  flex-grow: 1; 
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.row {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px; 
}

@media (max-width: 767px) {
  .client-card {
    max-width: 90%; 
    height: auto;
    padding-top: 40px; 
  }

  .client-info {
    padding-top: 60px; 
  }

  .card-title {
    font-size: 14px;
  }
}
#whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  svg {
    width: 80px;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
  }
  
  circle {
    fill: #25d366; 
  }
  
  path {
    fill: #fff;
  }
  
  .heartbeat {
    -webkit-animation: heartbeat 1.5s ease-in-out infinite both;
    animation: heartbeat 1.5s ease-in-out infinite both;
  }
  
  @-webkit-keyframes heartbeat {
    from {
      -webkit-transform: scale(1);
      transform: scale(1);
      -webkit-transform-origin: center center;
      transform-origin: center center;
      -webkit-animation-timing-function: ease-out;
      animation-timing-function: ease-out;
    }
    10% {
      -webkit-transform: scale(0.91);
      transform: scale(0.91);
      -webkit-animation-timing-function: ease-in;
      animation-timing-function: ease-in;
    }
    17% {
      -webkit-transform: scale(0.98);
      transform: scale(0.98);
      -webkit-animation-timing-function: ease-out;
      animation-timing-function: ease-out;
    }
    33% {
      -webkit-transform: scale(0.87);
      transform: scale(0.87);
      -webkit-animation-timing-function: ease-in;
      animation-timing-function: ease-in;
    }
    45% {
      -webkit-transform: scale(1);
      transform: scale(1);
      -webkit-animation-timing-function: ease-out;
      animation-timing-function: ease-out;
    }
  }
  
  @keyframes heartbeat {
    from {
      -webkit-transform: scale(1);
      transform: scale(1);
      -webkit-transform-origin: center center;
      transform-origin: center center;
      -webkit-animation-timing-function: ease-out;
      animation-timing-function: ease-out;
    }
    10% {
      -webkit-transform: scale(0.91);
      transform: scale(0.91);
      -webkit-animation-timing-function: ease-in;
      animation-timing-function: ease-in;
    }
    17% {
      -webkit-transform: scale(0.98);
      transform: scale(0.98);
      -webkit-animation-timing-function: ease-out;
      animation-timing-function: ease-out;
    }
    33% {
      -webkit-transform: scale(0.87);
      transform: scale(0.87);
      -webkit-animation-timing-function: ease-in;
      animation-timing-function: ease-in;
    }
    45% {
      -webkit-transform: scale(1);
      transform: scale(1);
      -webkit-animation-timing-function: ease-out;
      animation-timing-function: ease-out;
    }
  }
  