body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f8f8;
}

    section.services {
    background-color: #ffffff;
    padding: 60px 20px;
  }
  
  .services .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .services .service-item {
    perspective: 1000px;
    height: 320px;
    margin-bottom: 30px;
  }
  
  .services .service-item .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  .services .service-item:hover .card-inner {
    transform: rotateY(180deg);
  }
  
  .services .service-item .card-front,
  .services .service-item .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    transition: all 0.3s ease-in-out;
  }
  
  .services .service-item .card-front {
    background-color: #f9f9f9;
    color: #333;
  }
  
  .services .service-item .card-back {
    background-color: #800020;
    color: #fff;
    transform: rotateY(180deg);
  }
  
  .services .icon {
    width: 65px;
    height: 65px;
    margin-bottom: 15px;
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0; 
  }
  
  
  /* Iconos específicos */
  .services .first-item .icon {
    background-image: url(../images/bx-happy.svg);
  }
  .services .first-item:hover .icon {
    background-image: url(../images/happy-heart-eyes-regular-48.png);
  }
  
  .services .second-item .icon {
    background-image: url(../images/bx-book-alt.svg);
  }
  .services .second-item:hover .icon {
    background-image: url(../images/book-heart-solid-48.png);
  }
  
  .services .third-item .icon {
    background-image: url(../images/bx-qr.svg);
  }
  .services .third-item:hover .icon {
    background-image: url(../images/qr-scan-regular-48.png);
  }
  
  .services .fourth-item .icon {
    background-image: url(../images/bx-conversation.svg);
  }
  .services .fourth-item:hover .icon {
    background-image: url(../images/bx-conversation.svg);
  }
  
  .services .fivth-item .icon {
    background-image: url(../images/bxs-video.svg);
  }
  .services .fivth-item:hover .icon {
    background-image: url(../images/bxs-video.svg);
  }
  
  .services .sixth-item .icon {
    background-image: url(../images/bxs-user-check.svg);
  }
  .services .sixth-item:hover .icon {
    background-image: url(../images/bxs-user-check.svg);
  }
  
  .services h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  .services p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .services .service-item {
      height: auto;
      perspective: none;
    }
  
    .services .card-inner {
      transform: none !important;
      display: flex;
      flex-direction: column;
      box-shadow: none;
    }
  
    .services .card-front,
    .services .card-back {
      position: relative;
      transform: none !important;
      backface-visibility: visible;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.04);
      margin-bottom: 15px;
    }
  
    .services .card-back {
      background-color: #eee;
      color: #333;
    }
  }
  