/* Benefits and Guarantees Section Styles */
.benefits-guarantees-section {
  --benefits-bg-color: #f8f9fa;
  --benefits-title-color: var(--title-color);
  --benefits-text-color: var(--body-color);
  --benefits-icon-bg: var(--theme-color);
  --benefits-icon-color: var(--title-color);
  --benefits-hover-bg: var(--white-color);
  --benefits-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --benefits-hover-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);

  background-color: var(--benefits-bg-color);
  padding: 80px 0;
  position: relative;

  .benefits-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;

    .benefits-title {
      font-size: clamp(28px, 4vw, 42px);
      font-weight: 700;
      color: var(--benefits-title-color);
      margin-bottom: 60px;
      font-family: var(--title-font);
      position: relative;

      &::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color2) 100%);
        border-radius: 2px;
      }
    }

    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      align-items: start;

      .benefit-item {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 25px;
        background-color: var(--white-color);
        border-radius: 12px;
        box-shadow: var(--benefits-shadow);
        transition: all 0.3s ease;
        text-align: left;
        border: 1px solid rgba(0, 0, 0, 0.05);

        &:hover {
          transform: translateY(-5px);
          box-shadow: var(--benefits-hover-shadow);
          background-color: var(--benefits-hover-bg);
          border-color: var(--theme-color);

          .benefit-icon {
            transform: scale(1.1);
          }
        }

        .benefit-icon {
          width: 80px;
          aspect-ratio: 1;
          display: flex;
          align-items: center;
          justify-content: center;
          flex-shrink: 0;
          transition: all 0.3s ease;

          img {
            width: 100%;
            aspect-ratio: 1;
            object-fit: contain;
          }
        }

        .benefit-text {
          font-size: 16px;
          color: var(--benefits-text-color);
          font-weight: 500;
          line-height: 1.4;
          flex: 1;
        }
      }
    }
  }

  /* Responsive Design */
  @media (max-width: 992px) {
    padding: 60px 0;

    .benefits-container {
      .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;

        .benefit-item {
          padding: 20px;

          .benefit-icon {
            width: 45px;
            height: 45px;

            i {
              font-size: 18px;
            }
          }

          .benefit-text {
            font-size: 15px;
          }
        }
      }
    }
  }

  @media (max-width: 768px) {
    padding: 50px 0;

    .benefits-container {
      .benefits-title {
        margin-bottom: 40px;
      }

      .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;

        .benefit-item {
          padding: 18px;
          gap: 15px;

          .benefit-icon {
            width: 40px;
            height: 40px;

            i {
              font-size: 16px;
            }
          }

          .benefit-text {
            font-size: 14px;
          }
        }
      }
    }
  }

  @media (max-width: 576px) {
    padding: 40px 0;

    .benefits-container {
      .benefits-grid {
        .benefit-item {
          padding: 15px;
          flex-direction: column;
          text-align: center;
          gap: 12px;

          .benefit-text {
            text-align: center;
          }
        }
      }
    }
  }
}

/* Animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add animation on scroll (optional) */
.benefits-guarantees-section {
  .benefit-item {
    animation: fadeInUp 0.6s ease-out;

    &:nth-child(1) {
      animation-delay: 0.1s;
    }
    &:nth-child(2) {
      animation-delay: 0.2s;
    }
    &:nth-child(3) {
      animation-delay: 0.3s;
    }
    &:nth-child(4) {
      animation-delay: 0.4s;
    }
    &:nth-child(5) {
      animation-delay: 0.5s;
    }
    &:nth-child(6) {
      animation-delay: 0.6s;
    }
  }
}
