/*----------------------------------------*/
/*   About page CSS
/*----------------------------------------*/

.about-area {
  position: relative;
  z-index: 1;

  .shape-bg {
    .shape-1 {
      position: absolute;
      top: 10%;
      left: 0;
      z-index: -1;
      opacity: 0.5;
    }
  }

  .about-img-wrapper {
    position: relative;
    padding: 30px;

    .main-img-box {
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
      position: relative;
      z-index: 2;
      border: 8px solid rgba(255, 255, 255, 0.4);

      .main-img {
        width: 100%;
        transition: transform 0.5s ease;
      }

      &:hover .main-img {
        transform: scale(1.05);
      }
    }

    .floated-img {
      position: absolute;
      bottom: -40px;
      left: -30px;
      width: 200px;
      border-radius: 12px;
      border: 4px solid #fff;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
      z-index: 3;
    }

    .floating-badge {
      position: absolute;
      bottom: 60px;
      right: -20px;
      background: #fff;
      padding: 15px 25px;
      border-radius: 12px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
      z-index: 3;
      display: flex;
      align-items: center;
      gap: 15px;
      animation: float 6s ease-in-out infinite;

      .icon {
        width: 45px;
        height: 45px;
        background: rgba(var(--brand_color_rgb), 0.1);
        color: $brand_color;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
      }

      .content {
        display: flex;
        flex-direction: column;
        line-height: 1.2;

        .count {
          font-size: 22px;
          font-weight: 700;
          color: $black_800;
        }

        .label {
          font-size: 13px;
          color: $black_500;
        }
      }
    }

    .bg-shape-circle {
      position: absolute;
      top: -10%;
      right: -10%;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(var(--brand_color_rgb), 0.05) 0%, transparent 70%);
      border-radius: 50%;
      z-index: -1;
    }

    .bg-dots {
      position: absolute;
      bottom: 20px;
      right: 20px;
      width: 150px;
      height: 150px;
      background-image: radial-gradient(rgba(var(--brand_color_rgb), 0.2) 2px, transparent 2px);
      background-size: 20px 20px;
      z-index: 1;
      opacity: 0.6;
    }
  }

  .about-content {
    .section-title-two {
      .subtitle {
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 14px;
        font-weight: 600;
        color: $brand_color;
        margin-bottom: 10px;
        display: inline-block;
      }

      h2 {
        font-size: 42px;
        line-height: 1.2;
        margin-bottom: 20px;
      }

      p {
        font-size: 18px;
        line-height: 1.7;
      }
    }

    .feature-list {
      .feature-item {
        display: flex;
        gap: 20px;
        margin-bottom: 30px;

        &:last-child {
          margin-bottom: 0;
        }

        .icon-box {
          flex-shrink: 0;
          width: 60px;
          height: 60px;
          border-radius: 50%;
          background: rgba(var(--brand_color_rgb), 0.05); // softer bg
          display: flex;
          align-items: center;
          justify-content: center;
          transition: all 0.3s ease;

          img {
            width: 30px;
            height: auto;
          }
        }

        .text {
          h5 {
            font-weight: 700;
            color: $black_800;
            margin-bottom: 10px;
            font-size: 18px;
          }

          p {
            color: $black_600;
            line-height: 1.6;
            font-size: 15px;
            margin-bottom: 0;
          }
        }

        &:hover {
          .icon-box {
            background: $brand_color;
            transform: rotateY(180deg);

            img {
              filter: brightness(0) invert(1);
            }
          }
        }
      }
    }
  }
}


.why-choose-dp {
  background: rgba(15, 228, 147, 0.03);

  .about-card {
    @include glass-card;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 50px 30px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.6);

    .card-icon {
      margin-bottom: 25px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;

      img {
        transition: transform 0.3s ease;
      }
    }

    p {
      color: $black_700;
      line-height: 26px;
      margin-bottom: 0;
      font-size: 16px;
    }

    h4 {
      margin: 0 0 15px;
      transition: all 0.3s ease-in-out;
      font-weight: 700;
      color: $black_800;
    }

    &:hover {
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
      transform: translateY(-10px);

      .card-icon img {
        transform: scale(1.1);
      }

      h4 {
        color: var(--brand_color);
      }
    }
  }
}


/*----------------------------------------*/
/*   story page CSS (Retained existing)
/*----------------------------------------*/

.bg-gradient-animate {
  background: linear-gradient(to right, var(--brand_color_25), var(--brand_color_400));
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0);
  }
}

.float {
  animation: float 6s ease-in-out infinite;
  opacity: 0.3;
  position: absolute;
}