// main: ../main.scss
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding-top: 60px;
  padding-bottom: 60px;

  .about-image {
    border-radius: 8px;
    overflow: hidden;

    .experience-badge {
      position: absolute;
      bottom: 30px;
      right: -30px;
      background: var(--accent-color);
      color: var(--contrast-color);
      padding: 1.5rem;
      border-radius: 8px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      text-align: center;
      min-width: 140px;

      .years {
        font-size: 2.5rem;
        font-weight: 700;
        line-height: 1;
        display: block;
        margin-bottom: 5px;
      }

      .text {
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
      }

      @media (max-width: 768px) {
        right: 0;
        bottom: 20px;
        padding: 1rem;
        min-width: 120px;

        .years {
          font-size: 2rem;
        }
      }
    }
  }

  .about-content {
    h2 {
      font-size: 2.2rem;
      margin-bottom: 1.25rem;
      font-weight: 700;

      @media (max-width: 768px) {
        font-size: 1.8rem;
      }
    }

    .lead {
      font-size: 1.15rem;
      margin-bottom: 1.25rem;
      color: color-mix(in srgb, var(--heading-color), transparent 30%);
    }

    p {
      margin-bottom: 1rem;
    }

    .feature-item {
      padding: 1.25rem;
      background-color: var(--surface-color);
      border-radius: 8px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      height: 100%;
      transition: all 0.3s ease;

      &:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
      }

      i {
        font-size: 1.75rem;
        color: var(--accent-color);
        margin-bottom: 0.75rem;
        display: block;
      }

      h5 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
        font-weight: 600;
      }

      p {
        font-size: 0.9rem;
        margin-bottom: 0;
      }
    }

    .btn-primary {
      background-color: var(--accent-color);
      border-color: var(--accent-color);
      padding: 0.5rem 1.5rem;
      border-radius: 50px;
      font-weight: 500;
      color: var(--contrast-color);

      &:hover {
        background-color: color-mix(in srgb, var(--accent-color), black 10%);
        border-color: color-mix(in srgb, var(--accent-color), black 10%);
      }
    }
  }

  .testimonial-section {
    border-top: 1px solid rgba(0, 0, 0, 0.08);

    .testimonial-intro {
      h3 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
        font-weight: 700;
      }

      p {
        margin-bottom: 1.5rem;
      }

      .swiper-nav-buttons {
        display: flex;
        gap: 10px;

        button {
          width: 44px;
          height: 44px;
          border-radius: 50%;
          background-color: var(--surface-color);
          border: 1px solid rgba(0, 0, 0, 0.08);
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
          transition: all 0.3s ease;

          &:hover {
            background-color: var(--accent-color);
            border-color: var(--accent-color);
            color: var(--contrast-color);
          }

          i {
            font-size: 1.25rem;
          }
        }
      }
    }

    .testimonial-slider {
      overflow: hidden;

      .swiper-wrapper {
        height: auto !important;
      }
    }

    .testimonial-item {
      background-color: var(--surface-color);
      border-radius: 10px;
      padding: 2rem;
      box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
      height: 100%;

      .rating {
        color: #ffc107;
        font-size: 1rem;
      }

      p {
        font-style: italic;
        margin-bottom: 0;
        font-size: 1rem;
        line-height: 1.6;
      }

      .client-info {
        .client-img {
          width: 50px;
          height: 50px;
          border-radius: 50%;
          margin-right: 15px;
          object-fit: cover;
        }

        h6 {
          font-weight: 600;
        }

        span {
          font-size: 0.85rem;
          color: color-mix(in srgb, var(--default-color), transparent 40%);
        }
      }
    }
  }
}