body {
    background: var(--color-background);
}

.tool-card-content {
    padding: 38px;
}

.tool-card-heading {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.tool-card-desc {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0;
    color: var(--color-text-secondary);
    margin: 0;
}

.step-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin: 30px 0;
    padding-left: 50px;
    padding-right: 50px;
    box-sizing: border-box;
    width: 100%;
    justify-content: center;
    gap: 10%;
    margin-bottom: 80px;
}

.step-circle {
    min-width: 64px;
    min-height: 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid var(--color-text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-text-primary);
    font-weight: 500;
    padding-bottom: 10px;
}

.step-image-container {
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid var(--color-border-secondary) !important;
    border-bottom-width: 5px;
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.step-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 20px;
    color: var(--color-text-primary);
    margin: 0 0 12px 0;
}

.step-desc {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6;
}

.step-sub-container {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

.step-content {
  margin-top: 14px;
}

/* Responsive styles */

@media (max-width: 539px) {
  .tool-card-content {
    padding: 16px;
  }
  .tool-card-heading {
    font-size: 18px;
    text-align: center;
  }
  .tool-card-desc {
    font-size: 14px;
    text-align: center;
  }
  .step-card {
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
    gap: 16px;
    margin-bottom: 40px;
  }
  .step-sub-container {
    width: 100%;
    align-items: center;
  }
  .step-circle {
    min-width: 40px;
    min-height: 40px;
    width: 40px;
    height: 40px;
  }
  .step-number {
    font-size: 16px;
    padding-bottom: 4px;
  }
  .step-title {
    font-size: 15px;
    text-align: center;
  }
  .step-desc {
    font-size: 13px;
  }
  .step-image-container {
    max-width: 160px;
    margin: 0 auto;
  }
  .step-image {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
  }
}

@media (min-width: 540px) and (max-width: 639px) {
  .tool-card-content {
    padding: 20px;
  }
  .tool-card-heading {
    font-size: 20px;
    text-align: center;
  }
  .tool-card-desc {
    font-size: 15px;
    text-align: center;
  }
  .step-card {
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
    gap: 18px;
    margin-bottom: 48px;
  }
  .step-sub-container {
    width: 100%;
    align-items: center;
  }
  .step-circle {
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
  }
  .step-number {
    font-size: 18px;
    padding-bottom: 6px;
  }
  .step-title {
    font-size: 16px;
    text-align: center;
  }
  .step-desc {
    font-size: 14px;
  }
  .step-image-container {
    max-width: 180px;
    margin: 0 auto;
  }
  .step-image {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .tool-card-content {
    padding: 28px;
  }
  .tool-card-heading {
    font-size: 22px;
    text-align: center;
  }
  .tool-card-desc {
    font-size: 16px;
    text-align: center;
  }
  .step-card {
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
    gap: 20px;
    margin-bottom: 56px;
  }
  .step-sub-container {
    width: 100%;
    align-items: center;
  }
  .step-circle {
    min-width: 56px;
    min-height: 56px;
    width: 56px;
    height: 56px;
  }
  .step-number {
    font-size: 20px;
    padding-bottom: 8px;
  }
  .step-title {
    font-size: 18px;
    text-align: center;
  }
  .step-desc {
    font-size: 15px;
  }
  .step-image-container {
    max-width: 220px;
    margin: 0 auto;
  }
  .step-image {
    width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: contain;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .tool-card-content {
    padding: 38px;
  }
  .tool-card-heading {
    font-size: 24px;
    text-align: left;
  }
  .tool-card-desc {
    font-size: 18px;
    text-align: left;
  }
  .step-card {
    flex-direction: row;
    align-items: flex-start;
    padding-left: 50px;
    padding-right: 50px;
    gap: 10%;
    margin-bottom: 80px;
  }
  .step-sub-container {
    width: 50%;
    align-items: flex-start;
  }
  .step-circle {
    min-width: 64px;
    min-height: 64px;
    width: 64px;
    height: 64px;
  }
  .step-number {
    font-size: 24px;
    padding-bottom: 10px;
  }
  .step-title {
    font-size: 20px;
    text-align: left;
  }
  .step-desc {
    font-size: 18px;
    text-align: left;
  }
  .step-image-container {
    max-width: 260px;
  }
  .step-image {
    width: 100%;
    height: 100%;
    max-height: 180px;
    object-fit: cover;
  }
}

body.dark-theme {
  background: var(--color-background);
}

.dark-theme .tool-card-heading,
.dark-theme .step-number,
.dark-theme .step-title {
  color: var(--color-text-primary);
}

.dark-theme .tool-card-desc,
.dark-theme .step-desc {
  color: var(--color-text-secondary);
}

.dark-theme .step-circle {
  border-color: var(--color-text-primary);
}

.dark-theme .step-image-container {
  border-color: var(--color-primary-500);
}

