.solution-page {
  .slide-content {
    min-height: 45rem;
  }
  .slide-image img {
    height: clamp(45rem, 56vh, 59.625rem);
  }
  .post {
    top: 0px;
    z-index: 10000;

    .post-summary {
      color: #fff;
      padding-top: 10px;

      .list-btn {
        margin-bottom: 2.5rem;
      }

      .slide-content {
        margin-bottom: clamp(0.5rem, 4.5%, 3rem);
      }

      .text-name-slide-home {
        font-family: "FS Magistral";
        font-weight: 800;
        font-size: 1.75rem;
        line-height: 2.875rem;
        text-transform: uppercase;
        color: #ffffff;
      }

      .text-summary-slide-home {
        font-weight: 400;
        font-size: 1rem;
        line-height: 1.875rem;
        color: #ffffff;
        margin: 1.5rem 0;
      }

      .text-company {
        font-weight: 300;
        font-size: 0.875rem;
        line-height: 1.25rem;
        color: #ffffff;
      }

      .list-company {
        display: flex;
        gap: 0.75rem;
        padding: 0.75rem 0rem;

        .company {
          font-weight: 300;
          font-size: 0.875rem;
          line-height: 1.25rem;
          color: #ffffff;
          background-color: rgba(255, 255, 255, 0.1);
          border-radius: 0.25rem;
          padding: 0.125rem 0.75rem;
        }
      }
    }
  }
}

.success-story .title,
.group-detail-solutions .title,
.solution-groups .content .title {
  font-family: "FS Magistral";
  font-weight: 800;
  font-size: 1.75rem;
}

.solution-groups .content .detail {
  font-size: 1.25rem;
  font-weight: 500;
}

.solution-detail-page,
.solution-group-detail-page {
  .detail-new {
    min-height: 400px;
  }

  .success-story .title,
  .group-detail-solutions .title,
  .detail-new .title {
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
  }

  .group-detail-solutions .content p,
  .detail-new .content p {
    font-family: Lato;
    font-weight: 400;
    font-size: 16px !important;
    color: #ffffff;
    margin: 0;
  }

  .detail-new .content ul {
    display: none;
  }

  /* Các vấn đề */
  .pain-points-section {
    padding: 1.25rem;
    background: linear-gradient(90deg, #d0d0f3 0%, #eff0fe 100%);
    border-radius: 1.875rem;

    .pain-points-grid {
      display: grid;
      gap: 1.5rem;
    }

    .pain-point-card {
      background: rgba(244, 246, 254, 0.8);
      border-radius: 16px;
      padding: 1.5rem;
      border-left: 4px solid transparent;
      transition: all 0.3s ease;

      &:hover {
        transform: translateX(8px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
      }
    }

    .pain-title {
      font-family: "FS Magistral";
      font-weight: 700;
      font-size: 1.25rem;
      line-height: 1.4;
    }

    .pain-description {
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 0;
    }

    .pain-points-image {
      text-align: center;

      img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
      }
    }

    @media (max-width: 991px) {
      .pain-points-image {
        margin-top: 2rem;
      }
    }
  }

  /* Slide */
  .card {
    opacity: 1;
    gap: 60px;
    border-radius: 30px;
    border-width: 0.5px;
    padding: 36px;
    background: #ffffff1a;
    border: 0.5px solid #e5e5e5;
  }

  .solution-name {
    font-family: FS Magistral;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    vertical-align: middle;
  }

  .solution-subtitle {
    font-weight: 400;
    font-size: 18px;
  }
}

.solution-detail-page {
  .title_implementation {
    font-family: FS Magistral;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    color: var(--tm);
    padding-bottom: 1.25rem;
  }

  .solutions {
    padding: 1.25rem;
    background-color: #F8F6FE;
    box-shadow: 8px 8px 0px 0px #E6DDFF;
    border-radius: 0.75rem;
    margin-bottom: 2.5rem;
  }

  .item_phone {
    background-color: var(--tm);
    border-radius: 1.25rem;
  }

  .item_phone .title_1,
  .item_phone .title_2,
  .item_phone .title_3 {
    padding-left: 20px;
    padding-right: 20px;
    color: #ffffff;
  }

  .item_phone .title_1 {
    padding-top: 2rem;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
  }

  .item_phone .title_2 {
    font-family: "FS Magistral";
    font-weight: 800;
    font-size: 24px;
    padding-bottom: 1rem;
    padding-top: 0.5rem;
    text-align: center;
  }

  .item_phone .title_3 {
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    color: #ff4b55;
  }
}

.solution-cards {
  .solution-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;

    &:hover {
      text-decoration: none;
      color: inherit;
    }
  }

  .solution-card {
    background: #f8f6fe;
    border-radius: 1.875rem;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease,
      border-color 0.3s ease;

    &:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
      border-color: var(--tm);
      cursor: pointer;
    }

    .card-image {
      padding: 1.25rem;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
      }
    }

    .card-content {
      padding: 0 1.25rem 1.25rem 1.25rem;

      .card-title {
        font-family: "FS Magistral";
        font-weight: 700;
        font-size: 1.25rem;
        line-height: 1.5;
        color: var(--tm);
        margin-bottom: 1rem;
      }

      .card-description {
        font-size: 0.875rem;
        line-height: 1.6;
        color: #666666;
        margin-bottom: 0;
      }
    }
  }
}

/* Contact Section Styles */
.solution-contact {
  .container {
    position: relative;
    z-index: 2;
  }

  .contact-content {
    padding-top: 60px;
    padding-bottom: 92px;
    background-image: url("/public/frontend/img/solution/contact-background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 30px;
  }

  .contact-title {
    font-family: "FS Magistral";
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;

    @media (max-width: 768px) {
      font-size: 1rem;
    }
  }

  .contact-subtitle {
    font-weight: 400;
    opacity: 0.9;
  }

  .contact-btn {
    background: #ffffff;
    color: var(--tm);
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;

    &:hover {
      opacity: 0.8;
      transform: translateY(-2px);
      color: var(--tm);
    }

    @media (max-width: 768px) {
      padding: 10px 24px;
      font-size: 0.9rem;
    }
  }
}

.solutions {
  .title {
    font-family: "FS Magistral";
    font-weight: 800;
    font-size: 1.75rem;
  }
  .detail {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--tm);
  }
  .card {
    opacity: 1;
    gap: 60px;
    border-radius: 30px;
    border-width: 0.5px;
    padding: 36px;
    background: #ffffff1a;
    border: 0.5px solid #e5e5e5;
  }

  .solution-name {
    font-family: FS Magistral;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    vertical-align: middle;
  }

  .solution-subtitle {
    font-weight: 400;
    font-size: 18px;
  }
}

/* FAQ Accordion Styles */
.faqs {
  .title {
    font-family: "FS Magistral";
    font-weight: 800;
    font-size: 1.75rem;
  }
}

.faqs .accordion {
  .accordion-item {
    background: #ffffff;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;

    &:last-child {
      margin-bottom: 0;
    }
  }

  .accordion-button {
    background: transparent;
    border: none;
    color: #000000;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 20px 24px;
    box-shadow: none;
    width: 100%;
    text-align: left;
    position: relative;

    &:hover,
    &:focus {
      opacity: 0.8;
      cursor: pointer;
    }
    &::after {
      display: none;
    }

    &:not(.collapsed) {
      background: transparent;
      color: #000000;

      .accordion-icon {
        transform: translateY(-50%) rotate(45deg);
      }
    }
  }

  .accordion-icon {
    transition: all 0.3s ease;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
  }

  .accordion-collapse {
    border: none;
  }

  .accordion-body {
    padding: 0 24px 24px 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
  }

  .faq-question {
    text-align: left;
    flex: 1;
    padding-right: 50px;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    text-align: justify;
  }

  .faq-answer {
    color: #000000;
    p {
      margin-bottom: 1rem;

      &:last-child {
        margin-bottom: 0;
      }
    }
  }
}

/* Success Stories Carousel Styles */
.success-story {
  .stories-carousel {
    .story-card {
      width: 100%;
      height: auto;
      aspect-ratio: 447 / 410;
      border-radius: 1.875rem;
      opacity: 1;
      gap: 1.25rem;
      padding: 1.25rem;
      background: #ffffff80;
      border: 1px solid #e5e5e5;
      transition: transform 0.3s ease, box-shadow 0.3s ease,
        border-color 0.3s ease;
      display: flex;
      flex-direction: column;

      &:hover {
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
        border-color: var(--tm);
        cursor: pointer;
      }

      .story-link {
        text-decoration: none;
        color: inherit;
        display: block;

        &:hover {
          text-decoration: none;
          color: inherit;
        }
      }

      .card {
        background: transparent;
        border: none;
        height: 100%;
        gap: 1.25rem;
        padding: 0;
        display: flex;
        flex-direction: column;

        .story-image {
          img {
            width: 100%;
            height: auto;
            aspect-ratio: 407 / 254;
            border-radius: 1.5rem;
            opacity: 1;
            object-fit: cover;
          }
        }

        .card-body {
          padding: 0;
          flex: 1;
          display: flex;
          flex-direction: column;
          justify-content: flex-start;

          .story-title {
            font-family: "Lato";
            font-weight: 700;
            font-size: 20px;
            line-height: 32px;
            color: var(--tm);
            margin-bottom: 1rem;
          }

          .story-summary {
            font-size: 0.875rem;
            line-height: 1.6;
            color: #666666;
            margin-bottom: 0;
          }
        }
      }
    }
  }
}
