.related-services-section {
    padding: 80px 0;
    background: #F2F2F2;
  }
  
  .related-services-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .section-header {
    text-align: left;
    margin-bottom: 60px;
  }
  
  .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.2;
    margin: 0;
  }
.section-title.related{
  color: black !important;
  text-align: left !important;
}
  .related-services-grid {
    display: flex;
    gap: 0;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .service-card {
    position: relative;
    flex: 1;
    min-width: 80px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
  }
  
  .service-card:hover {
    flex: 3;
  }
  
  .service-card:not(:hover) {
    flex: 0.8;
  }
  
  .card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 50%;
    z-index: 1;
  }
  
  .card-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    background: var(--card-bg-color, #1e40af);
    overflow: hidden;
  }
  
  .service-card:hover .card-content {
    padding: 30px;
  }
  
  .card-title {

    margin: 0 0 8px 0;
    transition: font-size 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.125rem;
    line-height: 1;

  }
  
  .service-card:hover .card-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
  
  .card-description {

    margin: 0 0 15px 0;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all 0.4s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.6875rem;
    line-height: 1;

  }
  
  .service-card:hover .card-description {
    font-size: 0.9rem;
    line-height: 1.5;
    -webkit-line-clamp: unset;
    display: block;
    margin-bottom: 20px;
  }
  
  .card-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
    align-self: flex-start;
    opacity: 1;
    transform: translateY(0);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;      /* 12px = 0.75rem */
    line-height: 1;          /* 100% = 1 */
    letter-spacing: 0rem;    /* 0% = 0rem (có thể bỏ nếu không cần) */

  }
  
  .service-card:hover .card-button {
    font-size: 0.95rem;
    gap: 8px;
  }
  
  .card-button:hover {
    color: white;
    text-decoration: none;
  }
  
  .card-button:hover .button-arrow {
    transform: translateX(4px);
  }
  
  .button-arrow {
    transition: transform 0.2s ease;
    width: 14px;
    height: 14px;
  }
  
  .service-card:hover .button-arrow {
    width: 16px;
    height: 16px;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .related-services-section {
      padding: 60px 0;
    }
  
    .section-title {
      font-size: 2rem;
    }
  
    .related-services-grid {
      flex-direction: column;
      height: auto;
      gap: 15px;
    }
  
    .service-card {
      flex: none !important;
      height: 300px;
      border-radius: 15px;
    }
  
    .service-card:hover {
      transform: scale(1.02);
    }
  
    .card-description,
    .card-button {
      opacity: 1;
      transform: translateY(0);
    }
  
    .card-content {
      padding: 25px;
    }
  
    .card-title {
      font-size: 1.3rem;
    }
  }
  
  @media (max-width: 480px) {
    .related-services-section .container {
      padding: 0 15px;
    }
  
    .section-title {
      font-size: 1.8rem;
    }
  
    .service-card {
      height: 280px;
    }
  
    .card-content {
      padding: 20px;
    }
  }
  