// Features Style
.addonnest-feature-main {
  display: flex;
  .feature-wrap {
    background-color: #ffffff;

    .feature-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 60px;
      height: 100%;
      border: 1px solid #eaeef2;

      @media (max-width: 768px) {
        display: block;
        padding: 40px;
      }

      .feature-info {
        h3 {
          font-size: 28px;
          font-weight: 700;
          font-family: 'Space Grotesk', sans-serif;
          text-transform: uppercase;
          line-height: 1.1;
          color: #d04a29;
          margin-bottom: 2rem;
        }

        .feature-btn .btn {
          display: inline-flex;
          align-items: center;
          gap: 10px;
          font-size: 18px;
          font-weight: 500;
          font-family: 'Space Grotesk', sans-serif;
          color: #d04a29;
          align-items: center;
          border-bottom: 1px solid transparent;
          line-height: normal;
          transition: 0.3s;

          &:hover {
            border-bottom: 1px solid #d04a29;
          }

          svg {
            width: 15px;
            fill: #d04a29;
          }
        }
      }

      .feature-image {
        width: 100%;

        @media (max-width: 768px) {
          margin-top: 40px;
        }

        img {
          width: 100%;
        }
      }
    }
  }
}

.addonnest-feature-main {
  height: 100%;

  .feature-box {
    display: flex;
    align-items: center;
    gap: 20px;
  }
}

.addonnest-position-left .feature-box {
  flex-direction: row-reverse;
}

.addonnest-position-right .feature-box {
  flex-direction: row;
}

.addonnest-position-top {
  height: 100% !important;
}

.addonnest-position-top .feature-box {
  flex-direction: column;
  text-align: center;
}

/* Main Feature Box */
.addonnest-feature-box {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  background-color: #ffffff;

  .addonnest-feature-content {
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Icon Styles - Fixed */
  .addonnest-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
    color: #3a3a3a;
    width: 80px;
    height: 80px;
    border-radius: 50%;

    i,
    svg {
      width: 1em;
      height: 1em;
      font-size: 30px;
    }
  }

  .addonnest-feature-title {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: #3a3a3a;
    transition: all 0.3s ease;
  }

  /* Description Styles */
  .addonnest-feature-description {
    margin: 0 0 25px 0;
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
  }

  /* Button Styles */
  .addonnest-feature-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3a3a3a;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin-top: auto;

    &:hover {
      background-color: #ffffff;
      color: #3a3a3a;
      border-color: #3a3a3a;
      transform: translateY(-3px);
    }
  }

  /* Responsive Adjustments */
  @media (max-width: 1024px) {
    .addonnest-feature-content {
      padding: 30px 20px;
    }
  }

  @media (max-width: 767px) {
    .addonnest-feature-content {
      padding: 25px 15px;
    }

    .addonnest-feature-icon {
      width: 70px;
      height: 70px;
      margin-bottom: 20px;
    }

    .addonnest-feature-icon i,
    .addonnest-feature-icon svg {
      font-size: 25px;
    }

    .addonnest-feature-title {
      font-size: 20px;
      margin-bottom: 12px;
    }

    .addonnest-feature-description {
      font-size: 15px;
      margin-bottom: 20px;
    }

    .addonnest-feature-button {
      padding: 10px 25px;
    }
  }

  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12), 0 10px 10px rgba(0, 0, 0, 0.1);

    .addonnest-feature-icon {
      transform: scale(1.1);
      background-color: #3a3a3a;
      color: #ffffff;
    }
  }
}
